From 173eb9980894c6a6b0eaba66768bb50ed490c85f Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期二, 03 九月 2024 22:18:52 +0800
Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/ERP_override
---
north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml | 6 +++---
1 files changed, 3 insertions(+), 3 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 b6d53d3..6ad7932 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
@@ -389,14 +389,14 @@
and b.order_id = SUBSTR(#{processId} from 1 for 10)
and b.process = #{thisProcess}
and b.process_id = a.process_id
- left join (select sum(patch_num) as patchNumSum,order_sort,technology_number,process_id
+ left join (select sum(patch_num) as patchNumSum,order_sort,technology_number,process_id,patch_processes
from patch_log
- group by order_sort,technology_number) as c
+ group by process_id,order_sort,technology_number,patch_processes) as c
on
c.process_id = a.process_id
and c.order_sort = a.order_number
and c.technology_number = a.technology_number
-
+ and c.patch_processes= #{thisProcess}
where
a.process_id=SUBSTR(#{processId} from 1 for 14)
and a.order_number = #{orderNumber}
--
Gitblit v1.8.0