From bb49ffdb11d8aacb2f52ea3b0d787b02d738edab Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期一, 24 六月 2024 10:00:22 +0800
Subject: [PATCH] 修改基础数据问题
---
north-glass-erp/src/main/resources/mapper/sd/OrderGlassDetailMapper.xml | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/north-glass-erp/src/main/resources/mapper/sd/OrderGlassDetailMapper.xml b/north-glass-erp/src/main/resources/mapper/sd/OrderGlassDetailMapper.xml
index dc1fcbc..6f92c36 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/OrderGlassDetailMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/OrderGlassDetailMapper.xml
@@ -143,4 +143,14 @@
</foreach>
</update>
+
+ <select id="getDifferentSizeNumber">
+ select if(count(id)>1,1,0) from (select
+ id
+ from order_glass_detail as a
+ where a.order_id = #{orderId}
+ and a.order_number = #{orderNumber}
+ group by child_width,child_height) as c
+ </select>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.8.0