From c3e3920e4e7fcda3dd986c00bb80188381e93015 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 18 四月 2024 09:59:50 +0800
Subject: [PATCH] Merge branch 'master' of https://gitee.com/a1536384743/erp_-override

---
 north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 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 2e3409b..4b3dc82 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
@@ -149,7 +149,7 @@
         left join
                 (select sum(patch_num) as patchNumSum,order_sort,technology_number,process_id
                    from patch_log
-                   group by reporting_work_id,order_sort,technology_number) as c
+                   group by process_id,order_sort,technology_number) as c
             on c.process_id = fc.process_id
             and c.order_sort = fc.order_number
             and c.technology_number = fc.technology_number
@@ -208,7 +208,7 @@
         left join
             (select sum(patch_num) as patchNumSum,order_sort,technology_number,process_id
              from patch_log
-             group by reporting_work_id,order_sort,technology_number) as c
+             group by process_id,order_sort,technology_number) as c
             on c.process_id = fc.process_id
             and c.order_sort = fc.order_number
             and c.technology_number = fc.technology_number

--
Gitblit v1.8.0