From cb7350b9922d40b646165f4e295f6ca76d9c080e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=AE=8F=E6=96=8C?= <2164406372@qq.com> Date: Mon, 23 Jun 2025 17:30:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A4=87=E5=93=81=E5=A4=87?= =?UTF-8?q?=E4=BB=B6=E5=AE=89=E5=85=A8=E5=BA=93=E5=AD=98=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=96=B9=E5=BC=8F=EF=BC=8C=E5=B0=86=E5=BA=93=E5=AD=98<=3D?= =?UTF-8?q?=E6=9C=80=E4=BD=8E=E5=BA=93=E5=AD=98=E6=94=B9=E4=B8=BA=E5=BA=93?= =?UTF-8?q?=E5=AD=98<=E6=9C=80=E4=BD=8E=E5=BA=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/pms/InventoryStockMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/pms/InventoryStockMapper.xml b/src/main/resources/mapper/pms/InventoryStockMapper.xml index 34ac9b83..f868f903 100644 --- a/src/main/resources/mapper/pms/InventoryStockMapper.xml +++ b/src/main/resources/mapper/pms/InventoryStockMapper.xml @@ -205,10 +205,10 @@ A.site, A.part_no, B.part_description, b.min_stock, b.max_stock, B.average_price, B.umid,a.citem_code - having sum(A.qty_on_hand) B.min_stock + having sum(A.qty_on_hand) B.min_stock - having sum(A.qty_on_hand) + sum(isnull(A.qty_of_po,0.0)) B.min_stock + having sum(A.qty_on_hand) + sum(isnull(A.qty_of_po,0.0)) B.min_stock