From ab4f788aaba47910e3edf0fe1b001e56cdea26db Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 20 May 2021 16:54:19 +0800 Subject: [PATCH] modify --- 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 79979c5..2b1845c 100644 --- a/src/main/resources/mapper/member/MemberWalletCoinDao.xml +++ b/src/main/resources/mapper/member/MemberWalletCoinDao.xml @@ -39,5 +39,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