From 0e536a9c35aa82cad07070f3dc334332f3128c55 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 25 七月 2025 14:16:43 +0800
Subject: [PATCH] 在制品报表中间在制品名称拼接顺序修改

---
 north-glass-erp/src/main/resources/mapper/pp/Report.xml |    6 ++++--
 1 files changed, 4 insertions(+), 2 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 36d8203..abb0462 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/Report.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/Report.xml
@@ -2736,7 +2736,8 @@
                                           on e.id=(f.id-1) and e.process_id = f.process_id and e.order_number = f.order_number and e.technology_number =f.technology_number
                        where
                            e.id is not null
-                         and (e.reporting_work_num_count+f.patchNumSum-f.reporting_work_num_count-f.broken_num)>0 ) as g
+                         and (e.reporting_work_num_count+f.patchNumSum-f.reporting_work_num_count-f.broken_num)>0 group by f.process_id, f.order_number,
+        f.technology_number) as g
                             <choose>
                                 <when test="laminating == 'stepC' and process == '棰勫帇'">
                                     GROUP BY g.process_id, g.order_number, g.technology_number
@@ -2825,7 +2826,8 @@
         on e.id=(f.id-1) and e.process_id = f.process_id and e.order_number = f.order_number and e.technology_number =f.technology_number
         where
         e.id is not null
-        and e.reporting_work_num_count-f.reporting_work_num_count>0 ) as g
+        and e.reporting_work_num_count-f.reporting_work_num_count>0 group by f.process_id, f.order_number,
+        f.technology_number) as g
         <choose>
             <when test="laminating == 'stepC' and process == '棰勫帇'">
                 GROUP BY g.process_id, g.order_number, g.technology_number

--
Gitblit v1.8.0