From d3f2b1d3f3ad2717a7669769aa965127f170ff99 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 24 Oct 2022 18:15:49 +0800
Subject: [PATCH] 20221021
---
src/main/resources/mapper/dapp/DappWalletCoinDao.xml | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/dapp/DappWalletCoinDao.xml b/src/main/resources/mapper/dapp/DappWalletCoinDao.xml
index b3fe6f7..2b0a088 100644
--- a/src/main/resources/mapper/dapp/DappWalletCoinDao.xml
+++ b/src/main/resources/mapper/dapp/DappWalletCoinDao.xml
@@ -109,4 +109,17 @@
total_balance = total_balance - #{amount}
where id=#{id}
</update>
+
+ <select id="selectTotalAmount" 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 a.total_amount <![CDATA[ >= ]]> 51
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1