From a04d735ab3f2e9c52ebf52c35dfa1506d86d416d Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 24 七月 2025 17:01:57 +0800
Subject: [PATCH] 修改流程卡打印获取第一个工序不正确问题,在制品汇总报表添加批次

---
 north-glass-erp/src/main/resources/mapper/sd/ProductDetailMapper.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/north-glass-erp/src/main/resources/mapper/sd/ProductDetailMapper.xml b/north-glass-erp/src/main/resources/mapper/sd/ProductDetailMapper.xml
index 042d336..c141a7f 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/ProductDetailMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/ProductDetailMapper.xml
@@ -25,4 +25,12 @@
                 )
         </foreach>
     </insert>
+
+    <select id="getGlassNameByGroup">
+    SELECT GROUP_CONCAT(detail SEPARATOR '+')
+    from sd.product_detail
+    where prod_id = #{productId}
+      and glass_sort >= #{minTechnologyNumberByGroup}
+      and glass_sort &gt;= #{minTechnologyNumberByGroup}
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0