From fbd881bdd757de4bbb44c073f9a3db4c73b2ebd4 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 19 十二月 2025 08:54:15 +0800
Subject: [PATCH] 补充

---
 north-glass-erp/src/main/resources/mapper/sd/OrderDetailMapper.xml |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 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 9d88fdc..b67e7b1 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/OrderDetailMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/OrderDetailMapper.xml
@@ -29,7 +29,8 @@
                             perimeter,
                             monolithic_perimeter,
                             other_columns,
-                            file_name
+                            file_name,
+                            process_attribute
                           )
         values
         <foreach collection ="orderDetails" item="orderDetail" separator =",">
@@ -57,7 +58,8 @@
             #{orderDetail.perimeter},
             #{orderDetail.monolithicPerimeter},
             #{orderDetail.otherColumns},
-            #{orderDetail.fileName}
+            #{orderDetail.fileName},
+            #{orderDetail.processAttribute}
              )
         </foreach>
     </insert>
@@ -318,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>
@@ -476,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