From 25cc86fd8a2fb3b2bb6b385cba0adaf89ff3dcdc Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 18 十二月 2025 16:39:32 +0800
Subject: [PATCH] 流程卡进度打印部分代码
---
north-glass-erp/src/main/resources/mapper/pp/ReportingWorkDetail.xml | 18 +++++++++++++++++-
1 files changed, 17 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 ec48c5f..b8a6891 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/ReportingWorkDetail.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/ReportingWorkDetail.xml
@@ -80,6 +80,9 @@
<result column="child_width" property="childWidth"/>
</association>
+ <association property="OrderProcessDetail" javaType="com.example.erp.entity.sd.OrderProcessDetail">
+ <result column="reporting_work_num" property="reportingWorkNum"/>
+ </association>
</resultMap>
@@ -161,7 +164,14 @@
where reporting_work_id = #{reportingWorkId}
</select>
-
+ <select id="selectInventory">
+ select reporting_work_num
+ FROM sd.order_process_detail as opd
+ where opd.process_id = #{processId}
+ and opd.order_number = #{orderNumber}
+ and opd.technology_number = #{technologyNumber}
+ and opd.process = #{thisProcess}
+ </select>
<!--<where>
create_time <![CDATA[>=]]> #{startTime} and create_time <![CDATA[<=]]> #{endTime}}
@@ -252,4 +262,10 @@
`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>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.8.0