select id, order_no, engine_no, product_type, model, production_status, working_hours, current_workstation, quality_status, whether_or_print, report_10, report_20, combined_box_time, final_assembly_time, operator, operate_time, status, spare_field_1, spare_field_2, spare_field_3, spare_field_4, create_user, create_time, update_user, update_time, remarks, report_30, box_closing_online_time, closing_box_offline_time, final_assembly_launch_time, final_assembly_offline_time, cvt_launch_time, cvt_offline_time from bs_order_scheduling
insert into bs_order_scheduling
order_no,
engine_no,
product_type,
model,
production_status,
working_hours,
current_workstation,
quality_status,
whether_or_print,
report_10,
report_20,
combined_box_time,
final_assembly_time,
operator,
operate_time,
status,
spare_field_1,
spare_field_2,
spare_field_3,
spare_field_4,
create_user,
create_time,
update_user,
update_time,
remarks,
report_30,
box_closing_online_time,
closing_box_offline_time,
final_assembly_launch_time,
final_assembly_offline_time,
cvt_launch_time,
cvt_offline_time,
#{orderNo},
#{engineNo},
#{productType},
#{model},
#{productionStatus},
#{workingHours},
#{currentWorkstation},
#{qualityStatus},
#{whetherOrPrint},
#{report10},
#{report20},
#{combinedBoxTime},
#{finalAssemblyTime},
#{operator},
#{operateTime},
#{status},
#{spareField1},
#{spareField2},
#{spareField3},
#{spareField4},
#{createUser},
#{createTime},
#{updateUser},
#{updateTime},
#{remarks},
#{report30},
#{boxClosingOnlineTime},
#{closingBoxOfflineTime},
#{finalAssemblyLaunchTime},
#{finalAssemblyOfflineTime},
#{cvtLaunchTime},
#{cvtOfflineTime},
update bs_order_scheduling
order_no = #{orderNo},
engine_no = #{engineNo},
product_type = #{productType},
model = #{model},
production_status = #{productionStatus},
working_hours = #{workingHours},
current_workstation = #{currentWorkstation},
quality_status = #{qualityStatus},
whether_or_print = #{whetherOrPrint},
report_10 = #{report10},
report_20 = #{report20},
combined_box_time = #{combinedBoxTime},
final_assembly_time = #{finalAssemblyTime},
operator = #{operator},
operate_time = #{operateTime},
status = #{status},
spare_field_1 = #{spareField1},
spare_field_2 = #{spareField2},
spare_field_3 = #{spareField3},
spare_field_4 = #{spareField4},
create_user = #{createUser},
create_time = #{createTime},
update_user = #{updateUser},
update_time = #{updateTime},
remarks = #{remarks},
report_30 = #{report30},
box_closing_online_time = #{boxClosingOnlineTime},
closing_box_offline_time = #{closingBoxOfflineTime},
final_assembly_launch_time = #{finalAssemblyLaunchTime},
final_assembly_offline_time = #{finalAssemblyOfflineTime},
cvt_launch_time = #{cvtLaunchTime},
cvt_offline_time = #{cvtOfflineTime},
where id = #{id}
delete from bs_order_scheduling where id = #{id}
delete from bs_order_scheduling where id in
#{id}