select obj_id,
year_month_date,
price_type,
start_hour,
end_hour,
dnb_price,
create_by,
create_time,
update_by,
update_time,
remark
from ems_base_share_price
insert into ems_base_share_price
year_month_date,
price_type,
start_hour,
end_hour,
dnb_price,
create_by,
create_time,
update_by,
update_time,
remark,
#{yearMonthDate},
#{priceType},
#{startHour},
#{endHour},
#{dnbPrice},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
update ems_base_share_price
year_month_date = #{yearMonthDate},
price_type = #{priceType},
start_hour = #{startHour},
end_hour = #{endHour},
dnb_price = #{dnbPrice},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
where obj_id = #{objId}
delete
from ems_base_share_price
where obj_id = #{objId}
delete from ems_base_share_price where obj_id in
#{objId}