From 790ed3c2799b395cc2b51c7c070c8a73cd9203a1 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 11 Sep 2023 17:43:47 +0800 Subject: [PATCH] 优惠卷 --- src/main/resources/mapper/modules/MallOrderInfoMapper.xml | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml index f9d27cb..7fb0231 100644 --- a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml +++ b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml @@ -56,7 +56,8 @@ select a.*, b.name memberName, b.bind_phone memberBindPhone, - b.phone memberPhone + b.phone memberPhone, + (select member.name from mall_member member where member.invite_id = b.referrer_id) refererName from mall_order_info a left join mall_member b on a.member_id = b.id <where> -- Gitblit v1.9.1