select id, type, create_time, create_by, update_time, update_by, remark, electricity_num, time,
electricity_fee, power_factor, sharp_electricity, peak_electricity, flat_electricity, valley_electricity
from cost_electricity_input
insert into cost_electricity_input
id,
type,
create_time,
create_by,
update_time,
update_by,
remark,
electricity_num,
time,
electricity_fee,
power_factor,
sharp_electricity,
peak_electricity,
flat_electricity,
valley_electricity,
#{id},
#{type},
#{createTime},
#{createBy},
#{updateTime},
#{updateBy},
#{remark},
#{electricityNum},
#{time},
#{electricityFee},
#{powerFactor},
#{sharpElectricity},
#{peakElectricity},
#{flatElectricity},
#{valleyElectricity},
update cost_electricity_input
type = #{type},
create_time = #{createTime},
create_by = #{createBy},
update_time = #{updateTime},
update_by = #{updateBy},
remark = #{remark},
electricity_num = #{electricityNum},
time = #{time},
electricity_fee = #{electricityFee},
power_factor = #{powerFactor},
sharp_electricity = #{sharpElectricity},
peak_electricity = #{peakElectricity},
flat_electricity = #{flatElectricity},
valley_electricity = #{valleyElectricity},
where id = #{id}
delete from cost_electricity_input where id = #{id}
delete from cost_electricity_input where id in
#{id}