From 664184af3e070dee665ee736caffa0297804975f Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Tue, 18 Mar 2025 11:46:02 +0800
Subject: [PATCH] perf(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