From 473a2e049038ed1776252d95181788e8beb7637a Mon Sep 17 00:00:00 2001 From: leiqiaozhen Date: Mon, 17 Mar 2025 16:11:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=BA=93=E5=AD=98=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=8A=A5=E8=A1=A8)=EF=BC=9A=201.=E5=A6=82=E6=9E=9C=20=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A=E8=A7=84=E5=88=99IS=5FSECRCY=E4=B8=BAY=E4=BB=A3?= =?UTF-8?q?=E8=A1=A8=E4=BF=9D=E5=AF=86=E6=9F=A5=E8=AF=A2=E4=BB=93=E5=BA=93?= =?UTF-8?q?=E5=9C=A85001=E5=92=8C5001=EF=BC=9B=E5=90=A6=E5=88=99=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E4=BB=93=E5=BA=93=E4=B8=8D=E5=9C=A85001=E5=92=8C5001?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/InventoryQueryReportMapper.xml | 28 ++++++++++++------- 1 file changed, 18 insertions(+), 10 deletions(-) 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