From c25ef736f5b3701cc91ac88e9d278b45d9b4035c Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 13 二月 2025 14:55:31 +0800
Subject: [PATCH] 补充
---
north-glass-erp/src/main/resources/mapper/sd/CustomerMapper.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 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 d1a3706..1761017 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/CustomerMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/CustomerMapper.xml
@@ -137,6 +137,14 @@
on a.id = b.customer_id
</select>
+ <select id="getProjectList">
+ select * from(select project,salesman_id,salesman,id from sd.`order`
+ where customer_id = #{id}
+ group by project
+ ) as a
+ order by id desc
+ </select>
+
<select id="getSelectCustomer">
select
*
--
Gitblit v1.8.0