From bfb2de990eb9cdb3f1bf8dfbdab5135f78b7dc6f Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期二, 23 十二月 2025 11:09:23 +0800
Subject: [PATCH] 提交 图片上传添加尺寸

---
 north-glass-erp/src/main/resources/mapper/sd/OrderDetailMapper.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/north-glass-erp/src/main/resources/mapper/sd/OrderDetailMapper.xml b/north-glass-erp/src/main/resources/mapper/sd/OrderDetailMapper.xml
index 6dee99b..b67e7b1 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/OrderDetailMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/OrderDetailMapper.xml
@@ -320,6 +320,10 @@
             and a.order_number like concat('%',#{orderDetail.orderNumber},'%')
         </if>
 
+        <if test="orderDetail.buildingNumber != null and orderDetail.buildingNumber != ''">
+            and a.building_number like concat('%',#{orderDetail.buildingNumber},'%')
+        </if>
+
         <if test="orderDetail.width != null and orderDetail.width != '' and model==0">
             and a.width regexp REGEXP_REPLACE(#{orderDetail.width},'\\.0+$','')
         </if>
@@ -478,6 +482,10 @@
             and a.order_number like concat('%',#{orderDetail.orderNumber},'%')
         </if>
 
+        <if test="orderDetail.buildingNumber != null and orderDetail.buildingNumber != ''">
+            and a.building_number like concat('%',#{orderDetail.buildingNumber},'%')
+        </if>
+
         <if test="orderDetail.width != null and orderDetail.width != ''">
             and a.width regexp REGEXP_REPLACE(#{orderDetail.width},'\\.0+$','')
         </if>

--
Gitblit v1.8.0