From 4d06b47e05ec85e23637a951ea1b1520cf666f81 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 06 Dec 2022 16:09:39 +0800
Subject: [PATCH] 20221130

---
 src/main/resources/mapper/dapp/DappMemberDao.xml |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/dapp/DappMemberDao.xml b/src/main/resources/mapper/dapp/DappMemberDao.xml
index 0a8a3f0..0bc33c9 100644
--- a/src/main/resources/mapper/dapp/DappMemberDao.xml
+++ b/src/main/resources/mapper/dapp/DappMemberDao.xml
@@ -172,8 +172,21 @@
         <where>
             referer_id = #{refererId}
             <if test="accountType != null">
-                and account_type = @{accountType}
+                and account_type = #{accountType}
             </if>
         </where>
     </select>
+
+    <select id="findTeamInfoListInPage" resultType="cc.mrbird.febs.dapp.vo.AdminTeamInfoVo">
+        select
+            a.address address,
+            a.invite_id inviteId,
+            a.account_type accountType,
+            a.active_status activeStatus,
+            a.id id
+        from dapp_member a
+        where
+            (a.id in (select id from dapp_member where FIND_IN_SET(#{record.inviteId}, referer_ids)))
+        order  by a.create_time desc
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1