From 184f74e94b865f11b3b9f673f37fb32227e99990 Mon Sep 17 00:00:00 2001 From: zhaotianfeng <12345678> Date: Fri, 20 Sep 2024 15:59:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E5=91=98=E7=AD=89=E7=BA=A7=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/iocoder/yudao/module/custom/vo/CustomerMainRespVO.java | 2 ++ .../src/main/resources/mapper/custom/CustomerMainMapper.xml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dl-module-base/src/main/java/cn/iocoder/yudao/module/custom/vo/CustomerMainRespVO.java b/dl-module-base/src/main/java/cn/iocoder/yudao/module/custom/vo/CustomerMainRespVO.java index 22a42ce9..a0ebcb1e 100644 --- a/dl-module-base/src/main/java/cn/iocoder/yudao/module/custom/vo/CustomerMainRespVO.java +++ b/dl-module-base/src/main/java/cn/iocoder/yudao/module/custom/vo/CustomerMainRespVO.java @@ -28,6 +28,8 @@ public class CustomerMainRespVO extends CustomerMain { List labelList; /**车辆品牌型号数组*/ List brandAndModel; + /**会员名称 */ + private String levelName; /**是否车主(0否1是)*/ private String isOwner; diff --git a/dl-module-base/src/main/resources/mapper/custom/CustomerMainMapper.xml b/dl-module-base/src/main/resources/mapper/custom/CustomerMainMapper.xml index b18584f2..9317ba0c 100644 --- a/dl-module-base/src/main/resources/mapper/custom/CustomerMainMapper.xml +++ b/dl-module-base/src/main/resources/mapper/custom/CustomerMainMapper.xml @@ -36,10 +36,12 @@ main.inviter AS inviter, main.inviter_type AS inviterType, main.status AS status, - group_concat(item.ser_content) AS serContents + group_concat(item.ser_content) AS serContents, + memberLevel.name AS levelName FROM base_customer_main main LEFT JOIN base_customer_item item ON main.id = item.cus_id AND item.deleted = 0 + LEFT JOIN dl_member_level memberLevel ON main.member_level_id = memberLevel.id main.deleted = 0