From 5ea1d136abd16e37d22c8fb98e1d124a41a59159 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Sun, 23 Jul 2023 17:41:00 +0800
Subject: [PATCH] 智能合约

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

diff --git a/src/main/resources/mapper/dapp/DappMemberDao.xml b/src/main/resources/mapper/dapp/DappMemberDao.xml
index b0acad8..3bfd934 100644
--- a/src/main/resources/mapper/dapp/DappMemberDao.xml
+++ b/src/main/resources/mapper/dapp/DappMemberDao.xml
@@ -23,7 +23,7 @@
             <if test="record.accountStatus != null">
                 and a.account_status = #{record.accountStatus}
             </if>
-            <if test="record.accountType != null">
+            <if test="record.accountType != null and record.accountType != ''">
                 and a.account_type = #{record.accountType}
             </if>
             <if test="record.changeAble != null">
@@ -252,4 +252,10 @@
         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