(serialNumber,departCoding,time,operator,type) INSERT INTO Write_Back VALUES ( #{serialNumber} , #{departCoding} , #{time} , #{operator} , #{type} ) INSERT INTO Write_Back VALUES ( #{serialNumber} , #{departCoding} , #{time} , #{operator} , '22' ) INSERT INTO Write_Back VALUES ( #{serialNumber} , #{departCoding} , #{time} , #{operator} , '14' ) INSERT INTO Write_Back VALUES ( #{serialNumber} , #{departCoding} , #{time} , #{operator} , '2' ) INSERT INTO Write_Back_Item (writeBackEntryId,inventorySerialNumber,batchNumber,expDate,amount,unitPrice,fluctuationUnitPrice) SELECT #{item.writeBackEntryId} , #{item.inventorySerialNumber} , #{item.batchNumber} , #{item.expDate} , #{item.amount} , #{item.unitPrice} , #{item.fluctuationUnitPrice}