From 59dd5a4af5dffdbd7224a3d48bb80327f9a3b999 Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期三, 17 九月 2025 12:12:51 +0800
Subject: [PATCH] 提交 订单首页双击复制订单信息

---
 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 52b7c6c..36377c4 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
@@ -448,7 +448,7 @@
                    a.completed_quantity,
                 (a.completed_quantity+ a.breakage_quantity),
                    (f.completed_quantity
-                       -ifnull(g.completed_quantity,0))
+                       -ifnull(g.completed_quantity,0) + a.breakage_quantity)
                     )  as minQuantity -- 淇敼鏈�灏忔暟
             </if>
             <if test="nextProcess == null or nextProcess == ''">  -- 鏈�鍚庝竴閬撳伐搴�

--
Gitblit v1.8.0