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