From f8cab7a044a39f30494fa4ed25bb139ffcf4cd85 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期五, 21 六月 2024 11:47:33 +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