From 3ab330b8aefb3cd781c9b8730b4ab7ac65e7e9d7 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 07 三月 2025 09:14:08 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10105/r/ERP_override

---
 north-glass-erp/src/main/resources/mapper/sd/OrderGlassDetailMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 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 1685b1b..1e9753c 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/OrderGlassDetailMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/OrderGlassDetailMapper.xml
@@ -168,13 +168,13 @@
 
     <select id="getDifferentSizeNumber">
        select if(count(id)>1,1,0) from (select
-          a.id
+          a.id,a.child_width,b.width
         from order_glass_detail as a
         left join order_detail as b
         on a.order_id = b.order_id and a.order_number = b.order_number
-        and a.child_width != b.width
         where a.order_id = #{orderId}
           and a.order_number = #{orderNumber}
+          and a.child_width != b.width
         ) as c
     </select>
 

--
Gitblit v1.8.0