From 099093dcafbe53dee99fcefa36a8840fa3d2688a Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Sat, 04 Jan 2025 10:20:53 +0800
Subject: [PATCH] fix(mall): 修复会员权益收益计算逻辑

---
 src/main/resources/mapper/modules/MallMoneyFlowMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml b/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
index fc5d0ec..2af071d 100644
--- a/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
+++ b/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
@@ -26,7 +26,8 @@
         select
         a.*,
         b.name,
-        b.phone
+        b.phone,
+        (select phone from mall_member where id = a.rt_member_id) rtPhone
         from mall_money_flow a
         inner join mall_member b on a.member_id=b.id
         <where>

--
Gitblit v1.9.1