select id, product_code, product_name, location_code, location_name, material_code, material_name, cost_qty, unit, remark, bom_code, del_flag from bs_bom_child_info insert into bs_bom_child_info id, product_code, product_name, location_code, location_name, material_code, material_name, cost_qty, unit, remark, bom_code, del_flag, #{id}, #{productCode}, #{productName}, #{locationCode}, #{locationName}, #{materialCode}, #{materialName}, #{costQty}, #{unit}, #{remark}, #{bomCode}, #{delFlag}, update bs_bom_child_info product_code = #{productCode}, product_name = #{productName}, location_code = #{locationCode}, location_name = #{locationName}, material_code = #{materialCode}, material_name = #{materialName}, cost_qty = #{costQty}, unit = #{unit}, remark = #{remark}, bom_code = #{bomCode}, del_flag = #{delFlag}, where id = #{id} delete from bs_bom_child_info where id = #{id} delete from bs_bom_child_info where id in #{id}