select id, work_order_code, sfc_code, product_code, product_name, up_time, offline_time, status, create_user, create_time, update_user, update_time, remark, spare_field_1, spare_field_2, spare_field_3, spare_field_4 from om_work_report
insert into om_work_report
work_order_code,
sfc_code,
product_code,
product_name,
up_time,
offline_time,
status,
create_user,
create_time,
update_user,
update_time,
remark,
spare_field_1,
spare_field_2,
spare_field_3,
spare_field_4,
#{workOrderCode},
#{sfcCode},
#{productCode},
#{productName},
#{upTime},
#{offlineTime},
#{status},
#{createUser},
#{createTime},
#{updateUser},
#{updateTime},
#{remark},
#{spareField1},
#{spareField2},
#{spareField3},
#{spareField4},
update om_work_report
work_order_code = #{workOrderCode},
sfc_code = #{sfcCode},
product_code = #{productCode},
product_name = #{productName},
up_time = #{upTime},
offline_time = #{offlineTime},
status = #{status},
create_user = #{createUser},
create_time = #{createTime},
update_user = #{updateUser},
update_time = #{updateTime},
remark = #{remark},
spare_field_1 = #{spareField1},
spare_field_2 = #{spareField2},
spare_field_3 = #{spareField3},
spare_field_4 = #{spareField4},
where id = #{id}
delete from om_work_report where id = #{id}
delete from om_work_report where id in
#{id}