From 71048f6f73b5dab11d008f20a8610854473a5d92 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期六, 27 十二月 2025 09:11:26 +0800
Subject: [PATCH] 取消销售确认单上产品名称根据配置文件的判断

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

diff --git a/north-glass-erp/src/main/resources/mapper/pp/ReportingWorkDetail.xml b/north-glass-erp/src/main/resources/mapper/pp/ReportingWorkDetail.xml
index dcdc2fb..1df8fd1 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/ReportingWorkDetail.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/ReportingWorkDetail.xml
@@ -170,7 +170,7 @@
         where opd.process_id = #{processId}
           and opd.order_number = #{orderNumber}
           and opd.technology_number = #{technologyNumber}
-          and opd.process = '鍖呰'
+          and opd.process = #{thisProcess}
     </select>
     <!--<where>
 
@@ -262,6 +262,18 @@
                   `b`.`available` = 1)
     </select>-->
 
+    <select id="getGlassPliesCount">
+        select group_concat(technology_number) from (SELECT technology_number from pp.reporting_work_detail
+                where reporting_work_id = #{reportingWorkId} group by technology_number) a
 
+    </select>
+
+    <select id="selectFinishQuantity">
+      select sum(a.completed_quantity) from (Select completed_quantity
+        from pp.reporting_work_detail
+        where reporting_work_id = #{reportingWorkId}
+        group by order_number) a
+
+    </select>
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0