From 0005fc44abfc506716618f3f131b846c089a5906 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Fri, 19 Apr 2024 10:47:35 +0800
Subject: [PATCH] εε°δΌε
---
src/main/resources/mapper/dapp/DappMemberDao.xml | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/dapp/DappMemberDao.xml b/src/main/resources/mapper/dapp/DappMemberDao.xml
index 761dc52..3e4cd57 100644
--- a/src/main/resources/mapper/dapp/DappMemberDao.xml
+++ b/src/main/resources/mapper/dapp/DappMemberDao.xml
@@ -148,4 +148,20 @@
balance = #{record.balance}
where id=#{record.id} and version=#{record.version}
</update>
+
+ <select id="findInviteListInPage" resultType="cc.mrbird.febs.dapp.entity.DappMemberEntity">
+ SELECT
+ a.*
+ FROM
+ dapp_member a
+ <where>
+ <if test="record.inviteId != null and record.inviteId != ''">
+ and find_in_set(#{record.inviteId}, a.referer_ids)
+ </if>
+ <if test="record.address != null and record.address != ''">
+ and a.address = #{record.address}
+ </if>
+ </where>
+ order by a.CREATE_TIME desc
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1