select id, effective_date, price_id, begin_date, end_date, effective_name from electricity_price
insert into electricity_price
id,effective_date,price_id,begin_date,end_date,effective_name,#{id},#{effectiveDate},#{priceId},#{beginDate},#{endDate},#{effectiveName},
update electricity_price
effective_date = #{effectiveDate},price_id = #{priceId},begin_date = #{beginDate},end_date = #{endDate},effective_name = #{effectiveName},
where id = #{id}
delete from electricity_price where id = #{id}
delete from electricity_price where id in
#{id}