From f185d83c7a25c8ece24336fd889a09472d526688 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Fri, 03 Jan 2025 17:45:39 +0800 Subject: [PATCH] refactor(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