From a0b1a6207d8e47ea048b9c684079df1207d7e15a Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期五, 06 九月 2024 11:34:01 +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