From 249ecd6861b919bdd5c303885ac957ecfb11c156 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期四, 05 九月 2024 11:43:58 +0800
Subject: [PATCH] 修改客户发货导出

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

diff --git a/north-glass-erp/src/main/resources/mapper/sd/CustomerMapper.xml b/north-glass-erp/src/main/resources/mapper/sd/CustomerMapper.xml
index 2ac0274..627837a 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/CustomerMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/CustomerMapper.xml
@@ -265,7 +265,7 @@
 
         where date(d.create_time) >= #{startDate}
           and date(d.create_time) &lt;= #{endDate}
-          and d.customer_id = 1855
+          and d.customer_id = #{orderDetail.order.customerId}
           and om.money is not null
         group by d.delivery_id, o.order_id, om.`column`
     </select>

--
Gitblit v1.8.0