From e54885f442dbfc3364f2be919af667d9225c65fc Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期四, 20 三月 2025 10:22:25 +0800
Subject: [PATCH] 修改case条件面积计算方式

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

diff --git a/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml b/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
index 77a375c..183eb0a 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
@@ -348,7 +348,7 @@
         ifnull(if((d.reporting_work_num_count+ifnull(c.reworkNumSum,0)-b.reporting_work_num_count-b.broken_num)&lt; 0,
            0,
            (d.reporting_work_num_count+ifnull(c.reworkNumSum,0)-b.reporting_work_num_count-b.broken_num)
-            ),0)
+            ),0) as num
         from pp.flow_card as a
         left join sd.order_process_detail as b
         on

--
Gitblit v1.8.0