select id, sfc_code, child_id,line_code, processes_code, product_code, operation_steps, tech_requirement, operation_type, step_sort, param_code, material_code, formula_code, picture, remarks, create_user, create_time, update_user, update_time, spare_field1, spare_field2, spare_field3, spare_field4, collect_data, results, ng_times, ng_collect_data, ng_results from bs_formula_child_info_temp
insert into bs_formula_child_info_temp
sfc_code,
line_code,
processes_code,
product_code,
operation_steps,
tech_requirement,
operation_type,
step_sort,
param_code,
material_code,
formula_code,
picture,
remarks,
create_user,
create_time,
update_user,
update_time,
spare_field1,
spare_field2,
spare_field3,
spare_field4,
collect_data,
results,
ng_times,
ng_collect_data,
ng_results,
child_id,
#{sfcCode},
#{lineCode},
#{processesCode},
#{productCode},
#{operationSteps},
#{techRequirement},
#{operationType},
#{stepSort},
#{paramCode},
#{materialCode},
#{formulaCode},
#{picture},
#{remarks},
#{createUser},
#{createTime},
#{updateUser},
#{updateTime},
#{spareField1},
#{spareField2},
#{spareField3},
#{spareField4},
#{collectData},
#{results},
#{ngTimes},
#{ngCollectData},
#{ngResults},
#{childId},
update bs_formula_child_info_temp
sfc_code = #{sfcCode},
line_code = #{lineCode},
processes_code = #{processesCode},
product_code = #{productCode},
operation_steps = #{operationSteps},
tech_requirement = #{techRequirement},
operation_type = #{operationType},
step_sort = #{stepSort},
param_code = #{paramCode},
material_code = #{materialCode},
formula_code = #{formulaCode},
picture = #{picture},
remarks = #{remarks},
create_user = #{createUser},
create_time = #{createTime},
update_user = #{updateUser},
update_time = #{updateTime},
spare_field1 = #{spareField1},
spare_field2 = #{spareField2},
spare_field3 = #{spareField3},
spare_field4 = #{spareField4},
collect_data = #{collectData},
results = #{results},
ng_times = #{ngTimes},
ng_collect_data = #{ngCollectData},
ng_results = #{ngResults},
child_id = #{childId},
where id = #{id}
delete from bs_formula_child_info_temp where id = #{id}
delete from bs_formula_child_info_temp where id in
#{id}