select bom_bcp_id, finish_product_code, version_number, bcp_code, bcp_name, bcp_version_number, specification_model, inventory_unit, bcp_material_consumption, bcp_material_loss, customer_number, finished_product_quantity, remarks, processing_category, standby_one, standby_two from sys_bom_bcp insert into sys_bom_bcp finish_product_code, version_number, bcp_code, bcp_name, bcp_version_number, specification_model, inventory_unit, bcp_material_consumption, bcp_material_loss, customer_number, finished_product_quantity, remarks, processing_category, standby_one, standby_two, #{finishProductCode}, #{versionNumber}, #{bcpCode}, #{bcpName}, #{bcpVersionNumber}, #{specificationModel}, #{inventoryUnit}, #{bcpMaterialConsumption}, #{bcpMaterialLoss}, #{customerNumber}, #{finishedProductQuantity}, #{remarks}, #{processingCategory}, #{standbyOne}, #{standbyTwo}, update sys_bom_bcp finish_product_code = #{finishProductCode}, version_number = #{versionNumber}, bcp_code = #{bcpCode}, bcp_name = #{bcpName}, bcp_version_number = #{bcpVersionNumber}, specification_model = #{specificationModel}, inventory_unit = #{inventoryUnit}, bcp_material_consumption = #{bcpMaterialConsumption}, bcp_material_loss = #{bcpMaterialLoss}, customer_number = #{customerNumber}, finished_product_quantity = #{finishedProductQuantity}, remarks = #{remarks}, processing_category = #{processingCategory}, standby_one = #{standbyOne}, standby_two = #{standbyTwo}, where bom_bcp_id = #{bomBcpId} delete from sys_bom_bcp where bom_bcp_id = #{bomBcpId} delete from sys_bom_bcp where bom_bcp_id in #{bomBcpId}