From 2b975169fe185b78943ae7029bb01c965c53867b Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Thu, 05 Nov 2020 16:06:58 +0800
Subject: [PATCH] modify

---
 src/main/resources/mapper/modules/MemberWalletCoinMapper.xml |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/modules/MemberWalletCoinMapper.xml b/src/main/resources/mapper/modules/MemberWalletCoinMapper.xml
index 5980ed9..761c431 100644
--- a/src/main/resources/mapper/modules/MemberWalletCoinMapper.xml
+++ b/src/main/resources/mapper/modules/MemberWalletCoinMapper.xml
@@ -7,4 +7,14 @@
         select * from member_wallet_coin where member_id = #{memberId} and wallet_code = #{walletCode}
     </select>
 
+    <select id="selectTdCoinWalletByAddress" resultType="com.xcong.excoin.modules.member.entity.TdCoinWallet">
+		select * from td_coin_wallet
+		where address=#{address} and symbol=#{symbol}
+	</select>
+    
+    <update id="updateTdCoinWalletAvaliable">
+        update td_coin_wallet
+        set available_balance=available_balance+#{money}
+        where address=#{address}
+    </update>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1