From bfb2de990eb9cdb3f1bf8dfbdab5135f78b7dc6f Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期二, 23 十二月 2025 11:09:23 +0800
Subject: [PATCH] 提交 图片上传添加尺寸

---
 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