diff --git a/mhd_wms/src/main/resources/mapper/materialInventory/MaterialInventoryMapper.xml b/mhd_wms/src/main/resources/mapper/materialInventory/MaterialInventoryMapper.xml index 6d248e931..7697ca601 100644 --- a/mhd_wms/src/main/resources/mapper/materialInventory/MaterialInventoryMapper.xml +++ b/mhd_wms/src/main/resources/mapper/materialInventory/MaterialInventoryMapper.xml @@ -650,35 +650,35 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" AND a.storage_location_id = #{storageLocationId} - - AND a.storage_location_id = #{extAttr4} + + AND DATE(a.EXT_ATTR_4) = DATE(#{inventoryDate}) - - AND a.storage_location_id = #{extAttr3} + + AND DATE(a.EXT_ATTR_3) = DATE(#{inventoryDate}) - - AND a.storage_location_id = #{inventoryDate} + + AND DATE(a.inventory_date) = DATE(#{inventoryDate}) - - AND a.storage_location_id = #{expiryDate} + + AND DATE(a.EXPIRY_DATE) = DATE(#{inventoryDate}) - AND a.storage_location_id = #{productionDate} + AND DATE(a.PRODUCTION_DATE) = DATE(#{inventoryDate}) - AND a.storage_location_id = #{extAttr2} + AND a.EXT_ATTR_2 = #{extAttr2} - AND a.storage_location_id = #{extAttr1} + AND a.EXT_ATTR_1 = #{extAttr1} - AND a.storage_location_id = #{boxPalletNo} + AND a.BOX_PALLET_NO = #{boxPalletNo} - AND a.storage_location_id = #{sheetRefNo} + AND a.SHEET_REF_NO = #{sheetRefNo} - AND a.storage_location_id = #{batchRefNo} + AND a.BATCH_REF_NO = #{batchRefNo} \ No newline at end of file