From 74315c8cc145e30c33f2c2b3fd9074c446e6699c Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Mon, 03 Mar 2025 15:38:46 +0800 Subject: [PATCH] feat(mall): 添加会员列表页面 --- src/main/resources/mapper/modules/MallMemberMapper.xml | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/modules/MallMemberMapper.xml b/src/main/resources/mapper/modules/MallMemberMapper.xml index 1d2488a..554fad1 100644 --- a/src/main/resources/mapper/modules/MallMemberMapper.xml +++ b/src/main/resources/mapper/modules/MallMemberMapper.xml @@ -8,6 +8,7 @@ a.phone referrerName, IFNULL(c.balance,0) balance, IFNULL(c.score,0) score, + IFNULL(c.commission,0) commission, vipConfig.vip_name levelName FROM mall_member m left join mall_member a on m.referrer_id = a.invite_id @@ -26,13 +27,17 @@ <if test="record.accountStatus!=null"> and m.account_status = #{record.accountStatus} </if> + <if test="record.director!=null"> + and m.director = #{record.director} + </if> <if test="record.level!=null and record.level!=''"> and m.level=#{record.level} </if> </if> </where> GROUP BY - m.id, a.phone, c.balance, c.score,vipConfig.vip_name + m.id, a.phone, c.balance, c.score, + c.commission,vipConfig.vip_name order by m.CREATED_TIME desc </select> -- Gitblit v1.9.1