From 74e6993aee71c84dce965bdd6428b0cff5bda57f Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 08 Dec 2022 17:58:30 +0800
Subject: [PATCH] 20221130

---
 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