From f1a496f4b53e3de34bdf82dab0faa40d2a29bc11 Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期一, 24 六月 2024 09:02:36 +0800
Subject: [PATCH] 其他金额设置筛选类型
---
north-glass-erp/src/main/resources/mapper/sd/OrderGlassDetailMapper.xml | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 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 fe328f7..6f92c36 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/OrderGlassDetailMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/OrderGlassDetailMapper.xml
@@ -25,7 +25,7 @@
if(pd.glass_sort=1,'(澶�)',if(pd2.glass_sort=pd.glass_sort,'(鍐�)','')),
pd.detail,
if( od.bend_radius!='',
- round(od.width*(od.bend_radius-round(sum(t.thicknessCount),2))/od.bend_radius,0),
+ round(od.width*(od.bend_radius-round(sum(t.thicknessCount),2))/od.bend_radius,1),
od.width
),
od.height,
@@ -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