select terminal_no, terminal_type, report_time, data_time, stat_tag, report_tag from forecast_report
insert into forecast_report
terminal_no,
terminal_type,
report_time,
data_time,
stat_tag,
report_tag,
#{terminalNo},
#{terminalType},
#{reportTime},
#{dataTime},
#{statTag},
#{reportTag},
update forecast_report
report_time = #{reportTime},
data_time = #{dataTime},
stat_tag = #{statTag},
report_tag = #{reportTag},
where terminal_no = #{terminalNo} and terminal_type = #{terminalType}
delete from forecast_report where terminal_no = #{terminalNo} and terminal_type = #{terminalType}