From 0e2a5943fdcc6c7bcaf58c3dc9752c46766bf2e3 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期一, 09 九月 2024 13:15:27 +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) <= #{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