From b5046e94a226a080d3fa7619195e2c14b9043a5e Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 19 Dec 2022 16:09:00 +0800
Subject: [PATCH] 20221219
---
src/main/resources/mapper/dapp/DappWalletCoinDao.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/dapp/DappWalletCoinDao.xml b/src/main/resources/mapper/dapp/DappWalletCoinDao.xml
index 01c35a7..1b50c71 100644
--- a/src/main/resources/mapper/dapp/DappWalletCoinDao.xml
+++ b/src/main/resources/mapper/dapp/DappWalletCoinDao.xml
@@ -145,4 +145,12 @@
inner join dapp_member b on a.member_id = b.id
where b.identity != 'LEVEL_TM' and b.identity is not null
</select>
+
+ <update id="updateAmountToZero">
+ update dapp_wallet_coin
+ set
+ total_amount = 0,
+ available_amount = 0,
+ frozen_amount = 0
+ </update>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1