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 | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/dapp/DappWalletCoinDao.xml b/src/main/resources/mapper/dapp/DappWalletCoinDao.xml
index 8d6ca49..1b50c71 100644
--- a/src/main/resources/mapper/dapp/DappWalletCoinDao.xml
+++ b/src/main/resources/mapper/dapp/DappWalletCoinDao.xml
@@ -143,6 +143,14 @@
from
dapp_wallet_coin a
inner join dapp_member b on a.member_id = b.id
- where b.identity != 'LEVEL_TM'
+ 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