select id, op_code, op_name, material_code, material_name, cost_qty, unit, spare_field_1, spare_field_2, spare_field_3, remark, bom_code, bom_info_id from bs_product_bom_child_info
insert into bs_product_bom_child_info
id,
op_code,
op_name,
material_code,
material_name,
cost_qty,
unit,
spare_field_1,
spare_field_2,
spare_field_3,
remark,
bom_code,
bom_info_id,
#{id},
#{opCode},
#{opName},
#{materialCode},
#{materialName},
#{costQty},
#{unit},
#{spareField1},
#{spareField2},
#{spareField3},
#{remark},
#{bomCode},
#{bomInfoId},
update bs_product_bom_child_info
op_code = #{opCode},
op_name = #{opName},
material_code = #{materialCode},
material_name = #{materialName},
cost_qty = #{costQty},
unit = #{unit},
spare_field_1 = #{spareField1},
spare_field_2 = #{spareField2},
spare_field_3 = #{spareField3},
remark = #{remark},
bom_code = #{bomCode},
bom_info_id = #{bomInfoId},
where id = #{id}
delete from bs_product_bom_child_info where id = #{id}
delete from bs_product_bom_child_info where id in
#{id}