select id, del_flag, creater_code, createdate, updater_code, updatedate, daily_yixi, daily_bingxi, loss_rate, energy_consumption, product_putput, data_date, date_day from t_dashboardday
SELECT seq_t_dashboardday.NEXTVAL as id FROM DUAL
insert into t_dashboardday
id,
del_flag,
creater_code,
createdate,
updater_code,
updatedate,
daily_yixi,
daily_bingxi,
loss_rate,
energy_consumption,
product_putput,
data_date,
#{id},
#{delFlag},
#{createrCode},
#{createdate},
#{updaterCode},
#{updatedate},
#{dailyYixi},
#{dailyBingxi},
#{lossRate},
#{energyConsumption},
#{productPutput},
#{dataDate},
update t_dashboardday
del_flag = #{delFlag},
creater_code = #{createrCode},
createdate = #{createdate},
updater_code = #{updaterCode},
updatedate = #{updatedate},
daily_yixi = #{dailyYixi},
daily_bingxi = #{dailyBingxi},
loss_rate = #{lossRate},
energy_consumption = #{energyConsumption},
product_putput = #{productPutput},
data_date = #{dataDate},
where id = #{id}
update t_dashboardday set del_flag = 2 where id = #{id}
update t_dashboardday set del_flag = 2 where id in
#{id}