From c2a4d212d9023411cec8b2b86a8a56625f60e5e8 Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期四, 20 六月 2024 10:57:42 +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