From 11f6a8c911c5ef241f42953976661a249aa8b83e Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 08 Aug 2023 17:18:58 +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 5031249..3bfd934 100644
--- a/src/main/resources/mapper/dapp/DappMemberDao.xml
+++ b/src/main/resources/mapper/dapp/DappMemberDao.xml
@@ -23,6 +23,9 @@
<if test="record.accountStatus != null">
and a.account_status = #{record.accountStatus}
</if>
+ <if test="record.accountType != null and record.accountType != ''">
+ and a.account_type = #{record.accountType}
+ </if>
<if test="record.changeAble != null">
and a.change_able = #{record.changeAble}
</if>
@@ -190,6 +193,8 @@
select
a.invite_id inviteId,
a.account_type accountType,
+ a.active_status activeStatus,
+ a.node_type nodeType,
b.ausd_amount ausdAmount,
b.nft_devote nftDevote,
b.amount amount,
@@ -242,4 +247,15 @@
select * from dapp_member
where active_status = 1
</select>
+
+ <select id="selectByNodetype" resultType="cc.mrbird.febs.dapp.entity.DappMemberEntity">
+ select * from dapp_member
+ where node_type = 1
+ </select>
+
+ <select id="selectAddress" resultType="java.lang.String">
+ select
+ address
+ from dapp_member where active_status = 1
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1