From 0169b3c71efc064577a45c5058d458c9ef1cb94a Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 15 Jun 2020 16:36:37 +0800
Subject: [PATCH] modify

---
 src/main/resources/mapper/modules/MemberMapper.xml |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/modules/MemberMapper.xml b/src/main/resources/mapper/modules/MemberMapper.xml
index 99a3e52..0c74203 100644
--- a/src/main/resources/mapper/modules/MemberMapper.xml
+++ b/src/main/resources/mapper/modules/MemberMapper.xml
@@ -6,7 +6,10 @@
     <select id="selectMemberListInPage" resultType="com.xcong.excoin.modules.agent.entity.MemberEntity">
         select * from member
         <where>
-            <if test="record != null" >
+            <if test="record != null">
+                <if test="record.inviteId !=null and record.inviteId!=''">
+                    and find_in_set(#{record.inviteId}, referer_ids)
+                </if>
                 <if test="record.startTime!=null">
                     and create_time >=#{record.startTime}
                 </if>
@@ -19,7 +22,7 @@
                 <if test="record.accountStatus!=null">
                     and account_status = #{record.accountStatus}
                 </if>
-                <if test="record.accountType != null" >
+                <if test="record.accountType != null">
                     and account_type = #{record.accountType}
                 </if>
                 <if test="record.certifyStatus != null">

--
Gitblit v1.9.1