diff --git a/mom-wms-db/src/main/resources/mapper/InventoryQueryReportMapper.xml b/mom-wms-db/src/main/resources/mapper/InventoryQueryReportMapper.xml index 672b465..efa5fc5 100644 --- a/mom-wms-db/src/main/resources/mapper/InventoryQueryReportMapper.xml +++ b/mom-wms-db/src/main/resources/mapper/InventoryQueryReportMapper.xml @@ -80,15 +80,19 @@ WI.SITE = #{site} - AND WI.ERP_STORAGE_LOCATION - - IN - NOT IN - + AND WI.ERP_STORAGE_LOCATION IN #{erpStorageLocation} + + + AND WI.ERP_STORAGE_LOCATION IN ('5001', '5002') + + + AND WI.ERP_STORAGE_LOCATION NOT IN ('5001', '5002') + + AND WI.INVENTORY_ID IN @@ -193,15 +197,19 @@ WI.SITE = #{site} - AND WI.ERP_STORAGE_LOCATION - - IN - NOT IN - + AND WI.ERP_STORAGE_LOCATION IN #{erpStorageLocation} + + + AND WI.ERP_STORAGE_LOCATION IN ('5001', '5002') + + + AND WI.ERP_STORAGE_LOCATION NOT IN ('5001', '5002') + + AND WI.INVENTORY_ID IN