From bfbb03c514b9e60485ea13d5679e6af2e8aeb354 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 23 Nov 2022 09:44:23 +0800
Subject: [PATCH] 20221117

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

diff --git a/src/main/resources/mapper/dapp/DappWalletCoinDao.xml b/src/main/resources/mapper/dapp/DappWalletCoinDao.xml
index 52265fa..01c35a7 100644
--- a/src/main/resources/mapper/dapp/DappWalletCoinDao.xml
+++ b/src/main/resources/mapper/dapp/DappWalletCoinDao.xml
@@ -121,6 +121,7 @@
             dapp_wallet_coin a
         inner join dapp_member b on a.member_id = b.id
         where a.total_amount <![CDATA[ >= ]]> 51
+        and b.identity != 'LEVEL_TM'
     </select>
 
     <update id="addTotalAndaddAvailableByMemberId">
@@ -131,4 +132,17 @@
         where
             member_id = #{memberId}
     </update>
+
+    <select id="selectByIdentity" resultType="cc.mrbird.febs.dapp.entity.DappMemberEntity">
+        select
+            b.id,
+            b.invite_id,
+            b.referer_id,
+            b.identity,
+            b.referer_ids
+        from
+            dapp_wallet_coin a
+                inner join dapp_member b on a.member_id = b.id
+        where b.identity != 'LEVEL_TM' and b.identity is not null
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1