From f3ee7ee6ce83cd0ce4264a317a83c5e07aed3fbd Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 19 七月 2024 17:31:57 +0800
Subject: [PATCH] 半成品标签

---
 north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml |    4 +++-
 1 files changed, 3 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 f948e84..523f885 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
@@ -194,7 +194,8 @@
             odpd.broken_num as onceBroken,
             ogd.`group`,
             if(fc.quantity -odpd.reporting_work_num = 0 ,true,false) as saveFlag, -- 鍒ゆ柇鏄惁宸茬粡瀹屾垚锛屽凡缁忓畬鎴愪笉搴忓彿鍜屽悓搴忓彿鏁伴噺鐩稿悓鎵嶈兘鎻愪氦
-            od.other_columns
+            od.other_columns,
+            ogd.id
 
         FROM
             sd.order_detail AS od
@@ -210,6 +211,7 @@
                                limit 1)
         </if>
 
+
         LEFT JOIN flow_card AS fc
                 ON fc.order_id = ogd.order_id
                 and fc.production_id=ogd.production_id

--
Gitblit v1.8.0