From aece48b253b2e0b814bbdf5ee3d474e8cf697122 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 18 十二月 2025 16:39:48 +0800
Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/ERP_override

---
 north-glass-erp/src/main/resources/mapper/sd/ProductDetailMapper.xml |   14 ++++++++++++++
 1 files changed, 14 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..055ac8e 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,18 @@
                 )
         </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>
+
+    <select id="getGlassName">
+        SELECT GROUP_CONCAT(detail SEPARATOR '+')
+        from sd.product_detail
+        where prod_id = #{productId} and detail_type='glass'
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0