select warehousingManufactureNotice_NO, customer_ID, customer_name, warehousing_type, warehousing_date, workOrder_NO, domesticOrExport, warehouse_NO, warehouse_name, projectTimes, warehousingManufacture_NO, item_NO, item_name, specificationModel, machine_type, unit, warehousing_amt, notice_time, spell_1, spell_2, spell_3 from warehousing_manufacture_notice insert into warehousing_manufacture_notice warehousingManufactureNotice_NO, customer_ID, customer_name, warehousing_type, warehousing_date, workOrder_NO, domesticOrExport, warehouse_NO, warehouse_name, projectTimes, warehousingManufacture_NO, item_NO, item_name, specificationModel, machine_type, unit, warehousing_amt, notice_time, spell_1, spell_2, spell_3, #{warehousingmanufacturenoticeNo}, #{customerId}, #{customerName}, #{warehousingType}, #{warehousingDate}, #{workorderNo}, #{domesticOrExport}, #{warehouseNo}, #{warehouseName}, #{projectTimes}, #{warehousingmanufactureNo}, #{itemNo}, #{itemName}, #{specificationModel}, #{machineType}, #{unit}, #{warehousingAmt}, #{noticeTime}, #{spell1}, #{spell2}, #{spell3}, update warehousing_manufacture_notice customer_ID = #{customerId}, customer_name = #{customerName}, warehousing_type = #{warehousingType}, warehousing_date = #{warehousingDate}, workOrder_NO = #{workorderNo}, domesticOrExport = #{domesticOrExport}, warehouse_NO = #{warehouseNo}, warehouse_name = #{warehouseName}, projectTimes = #{projectTimes}, warehousingManufacture_NO = #{warehousingmanufactureNo}, item_NO = #{itemNo}, item_name = #{itemName}, specificationModel = #{specificationModel}, machine_type = #{machineType}, unit = #{unit}, warehousing_amt = #{warehousingAmt}, notice_time = #{noticeTime}, spell_1 = #{spell1}, spell_2 = #{spell2}, spell_3 = #{spell3}, where warehousingManufactureNotice_NO = #{warehousingmanufacturenoticeNo} delete from warehousing_manufacture_notice where warehousingManufactureNotice_NO = #{warehousingmanufacturenoticeNo} delete from warehousing_manufacture_notice where warehousingManufactureNotice_NO in #{warehousingmanufacturenoticeNo} delete from warehousing_check where warehousingNotice_id in #{warehousingnoticeId} delete from warehousing_check where warehousingNotice_id = #{warehousingnoticeId} insert into warehousing_check( warehousingCheck_id, warehousingNotice_id, material_Code, material_name, specificationModel, machineType, unit, order_amt, qualified_amt, unqualified_amt, qualifiedRate, note, batchNumber, notcieTime, checkTime, isQualified, inspector, spell_1, spell_2, spell_3) values ( #{item.warehousingcheckId}, #{item.warehousingnoticeId}, #{item.materialCode}, #{item.materialName}, #{item.specificationModel}, #{item.machineType}, #{item.unit}, #{item.orderAmt}, #{item.qualifiedAmt}, #{item.unqualifiedAmt}, #{item.qualifiedRate}, #{item.note}, #{item.batchNumber}, #{item.notcieTime}, #{item.checkTime}, #{item.isQualified}, #{item.inspector}, #{item.spell1}, #{item.spell2}, #{item.spell3})