From d42cd9ab4ced3182a2a57132e1fac4ed85a2cad4 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 05 Dec 2022 12:25:30 +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