From 6c2e9ba62c418185361179e7014862c481f34e17 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Wed, 09 Mar 2022 14:22:09 +0800
Subject: [PATCH] conflect merge

---
 src/main/resources/mapper/member/MemberWalletCoinDao.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/member/MemberWalletCoinDao.xml b/src/main/resources/mapper/member/MemberWalletCoinDao.xml
index ff0d8b4..13be502 100644
--- a/src/main/resources/mapper/member/MemberWalletCoinDao.xml
+++ b/src/main/resources/mapper/member/MemberWalletCoinDao.xml
@@ -61,5 +61,11 @@
 		where id=#{id}
 	</update>
 
+	<update id="reduceFrozenBalance">
+		update member_wallet_coin
+		set frozen_balance = frozen_balance - #{amount},
+			total_balance = total_balance - #{amount}
+		where id=#{id}
+	</update>
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1