From 6db03250bcbf51193b8dd71a698ea2b202c6d6ad Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 26 十二月 2025 15:59:20 +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