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 |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallMemberMapper.xml b/src/main/resources/mapper/modules/MallMemberMapper.xml
index f9b30b3..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
@@ -35,7 +36,8 @@
             </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