From 25cc86fd8a2fb3b2bb6b385cba0adaf89ff3dcdc Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 18 十二月 2025 16:39:32 +0800
Subject: [PATCH] 流程卡进度打印部分代码

---
 north-glass-erp/src/main/resources/mapper/pp/Report.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/north-glass-erp/src/main/resources/mapper/pp/Report.xml b/north-glass-erp/src/main/resources/mapper/pp/Report.xml
index 37cbad3..59f0137 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/Report.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/Report.xml
@@ -2979,7 +2979,7 @@
         od.quantity,
         ogd.child_width,
         ogd.child_height,
-        d.numCounts + d.patchNumSum - d.numCount -d.broken_num as stockNum,
+        d.numCounts + d.patchNumSum - d.numCount -d.broken_num-ifnull(fc.termination_quantity,0) as stockNum,
         ROUND(ogd.child_width * ogd.child_height *
         (d.numCounts + d.patchNumSum - d.numCount -
         d.broken_num) / 1000000, 2) as stockArea,

--
Gitblit v1.8.0