From 638d2a31d32c8dc580dba0a49c97bbca866ba783 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Wed, 17 Jan 2024 13:13:23 +0800 Subject: [PATCH] fapiao --- src/main/resources/mapper/modules/MallOrderInfoMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml index 8cdf009..d082bf8 100644 --- a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml +++ b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml @@ -59,7 +59,7 @@ 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 + inner join mall_member b on a.member_id = b.id <where> <if test="record != null"> <if test="record.payResult != null and record.payResult != ''"> @@ -454,7 +454,7 @@ and b.invite_id=#{inviteId} </if> <if test="type == 2"> - and find_in_set(#{inviteId}, b.referrer_ids) + and FIND_IN_SET(#{inviteId},b.referrer_ids) </if> </where> </select> -- Gitblit v1.9.1