select materialRequisitionNo, batchNum, itemCode, itemName, itemSpecification, machineType, unit, planQty, qty, returnQty, coinType, price, totalPrice, depositPosition, remark, spare1, spare2, spare3, spare4, spare5, spare6 from material_requisition_list insert into material_requisition_list materialRequisitionNo, batchNum, itemCode, itemName, itemSpecification, machineType, unit, planQty, qty, returnQty, coinType, price, totalPrice, depositPosition, remark, spare1, spare2, spare3, spare4, spare5, spare6, #{materialRequisitionNo}, #{batchNum}, #{itemCode}, #{itemName}, #{itemSpecification}, #{machineType}, #{unit}, #{planQty}, #{qty}, #{returnQty}, #{coinType}, #{price}, #{totalPrice}, #{depositPosition}, #{remark}, #{spare1}, #{spare2}, #{spare3}, #{spare4}, #{spare5}, #{spare6}, update material_requisition_list batchNum = #{batchNum}, itemCode = #{itemCode}, itemName = #{itemName}, itemSpecification = #{itemSpecification}, machineType = #{machineType}, unit = #{unit}, planQty = #{planQty}, qty = #{qty}, returnQty = #{returnQty}, coinType = #{coinType}, price = #{price}, totalPrice = #{totalPrice}, depositPosition = #{depositPosition}, remark = #{remark}, spare1 = #{spare1}, spare2 = #{spare2}, spare3 = #{spare3}, spare4 = #{spare4}, spare5 = #{spare5}, spare6 = #{spare6}, where materialRequisitionNo = #{materialRequisitionNo} delete from material_requisition_list where materialRequisitionNo = #{materialRequisitionNo} delete from material_requisition_list where materialRequisitionNo in #{materialRequisitionNo}