From 69a25cd577d5639f2869bcf80f498b373e80137e Mon Sep 17 00:00:00 2001
From: 于杰 <1210123631@qq.com>
Date: 星期三, 17 十二月 2025 10:43:44 +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 >= #{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