From b56ccffb0d6924ae45d25f395404495ad04a7447 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Fri, 14 Mar 2025 11:52:16 +0800 Subject: [PATCH] fix(MallMemberMapper): 修复查询时邀请人 ID 为空字符串的问题 --- src/main/resources/mapper/modules/MallMemberMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/modules/MallMemberMapper.xml b/src/main/resources/mapper/modules/MallMemberMapper.xml index 99ad530..5244dc7 100644 --- a/src/main/resources/mapper/modules/MallMemberMapper.xml +++ b/src/main/resources/mapper/modules/MallMemberMapper.xml @@ -27,7 +27,7 @@ <if test="record.accountStatus!=null"> and m.account_status = #{record.accountStatus} </if> - <if test="record.inviteId!=null"> + <if test="record.inviteId!=null and record.inviteId!=''"> and find_in_set(#{record.inviteId}, m.referrer_ids) </if> <if test="record.director!=null"> -- Gitblit v1.9.1