INSERT INTO
task_price_trend_replay
(data_id, trade_seq_id, count_energy, trade_time_range, time_division_nmae, avg_value, data_time)
VALUES
(NULL, #{item.tradeSeqId}, #{item.countEnergy}, #{item.tradeTimeRange}, #{item.timeDivisionNmae},
#{item.avgValue}, #{item.dataTime})
DELETE FROM
task_price_trend_replay
INSERT INTO
test_task_price_trend_replay
(data_id, trade_seq_id, count_energy, trade_time_range, time_division_nmae, avg_value, data_time)
VALUES
(NULL, #{item.tradeSeqId}, #{item.countEnergy}, #{item.tradeTimeRange}, #{item.timeDivisionNmae},
#{item.avgValue}, #{item.dataTime})
DELETE FROM
test_task_price_trend_replay