From 2b49c5d247ca32b5aaa47e50749f8b17efa3f408 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期二, 20 八月 2024 14:42:39 +0800
Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/ERP_override

---
 north-glass-erp/src/main/resources/mapper/sd/DeliveryDetailMapper.xml |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/north-glass-erp/src/main/resources/mapper/sd/DeliveryDetailMapper.xml b/north-glass-erp/src/main/resources/mapper/sd/DeliveryDetailMapper.xml
index b165403..9be6817 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/DeliveryDetailMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/DeliveryDetailMapper.xml
@@ -1006,13 +1006,9 @@
     <select id="getSelectOrderPrinting"  >
         select od.order_id,od.product_id,p.remarks as product_name,sum(od.compute_gross_area) as area,sum(od.gross_amount) as gross_amount ,sum(od.quantity) as quantity from
          order_detail od left join product p on od.product_id=p.id
-
-        <where>
-            <if test="orderDetail.orderId != null and orderDetail.orderId != ''">
-                and od.order_id like concat('%',#{orderDetail.orderId},'%')
-            </if>
-        </where>
-        group by od.product_name,od.product_id
+        where od.order_id = #{orderId}
+        and od.product_id = #{productId}
+        group by od.product_name,od.product_id ;
     </select>
 
     <select id="getSelectDeliveryDetailPrinting" >

--
Gitblit v1.8.0