INSERT INTO t_bad_weather
date,weather,min_temperature,max_temperature,warning,upload_id,
upload_time
#{date},#{weather},#{minTemperature},#{maxTemperature},#{warning},#{uploadId},
NOW()
INSERT INTO t_rectification_punishment
name,type,regulationsPath,punishmentPath,upload_id,upload_time#{name},#{type},#{regulationsPath},#{punishmentPath},#{uploadId},#{uploadTime}
update t_rectification_punishment
set is_active = 0
where id = #{id}
update t_bad_weather
set status = 1
where id = #{id}
delete from t_bad_weather