select warehousing_inspection_detail_id, in_notice_number, material_code, material_name, specification_model, type_machine, material_type, purchasing_unit, material_quantity, qualified_quantity, unqualified_quantity, qualification_rate, purchase_explain, judgment_results, receipt_batch_number, manufacturer_batch_number, production_order_number, standby_one, standby_two from warehousing_inspection_detail
insert into warehousing_inspection_detail
in_notice_number,
material_code,
material_name,
specification_model,
type_machine,
material_type,
purchasing_unit,
material_quantity,
qualified_quantity,
unqualified_quantity,
qualification_rate,
purchase_explain,
judgment_results,
receipt_batch_number,
manufacturer_batch_number,
production_order_number,
standby_one,
standby_two,
#{inNoticeNumber},
#{materialCode},
#{materialName},
#{specificationModel},
#{typeMachine},
#{materialType},
#{purchasingUnit},
#{materialQuantity},
#{qualifiedQuantity},
#{unqualifiedQuantity},
#{qualificationRate},
#{purchaseExplain},
#{judgmentResults},
#{receiptBatchNumber},
#{manufacturerBatchNumber},
#{productionOrderNumber},
#{standbyOne},
#{standbyTwo},
update warehousing_inspection_detail
in_notice_number = #{inNoticeNumber},
material_code = #{materialCode},
material_name = #{materialName},
specification_model = #{specificationModel},
type_machine = #{typeMachine},
material_type = #{materialType},
purchasing_unit = #{purchasingUnit},
material_quantity = #{materialQuantity},
qualified_quantity = #{qualifiedQuantity},
unqualified_quantity = #{unqualifiedQuantity},
qualification_rate = #{qualificationRate},
purchase_explain = #{purchaseExplain},
judgment_results = #{judgmentResults},
receipt_batch_number = #{receiptBatchNumber},
manufacturer_batch_number = #{manufacturerBatchNumber},
production_order_number = #{productionOrderNumber},
standby_one = #{standbyOne},
standby_two = #{standbyTwo},
where warehousing_inspection_detail_id = #{warehousingInspectionDetailId}
delete from warehousing_inspection_detail where warehousing_inspection_detail_id = #{warehousingInspectionDetailId}
delete from warehousing_inspection_detail where warehousing_inspection_detail_id in
#{warehousingInspectionDetailId}