From f2cc534c877bd858df4a3fce38c92cba535305f5 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Wed, 09 Nov 2022 16:06:33 +0800
Subject: [PATCH] fix
---
src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java | 24 ++++++++++--------------
1 files changed, 10 insertions(+), 14 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java b/src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java
index df88832..beb9060 100644
--- a/src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java
+++ b/src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java
@@ -19,15 +19,9 @@
WalletInfoVo walletInfo();
- void change(WalletOperateDto walletOperateDto);
-
- void withdraw(WalletOperateDto walletOperateDto);
-
List<DappFundFlowEntity> recordInPage(RecordInPageDto recordInPageDto);
IPage<DappFundFlowEntity> fundFlowInPage(DappFundFlowEntity dappFundFlowEntity, QueryRequest request);
-
- void withdrawAgreeOrNot(Long id, int type);
IPage<DappWalletCoinEntity> walletCoinInPage(DappWalletCoinEntity walletCoin, QueryRequest request);
IPage<DappWalletMineEntity> walletMineInPage(DappWalletMineEntity walletMine, QueryRequest request);
@@ -37,16 +31,18 @@
Long transfer(TransferDto transferDto);
- Map<String, BigDecimal> calPrice(PriceDto priceDto);
-
- ActiveNftListVo boxSurprise();
-
- void activeNft(ActiveDto activeDto);
-
- List<ActiveNftListVo> findUnActiveNftList();
+ BigDecimal calPrice(PriceDto priceDto);
void withdraw(WithdrawDto withdrawDto);
- void updateWalletCoinWithLock(BigDecimal amount, Long memberId);
+ void updateWalletCoinWithLock(BigDecimal amount, Long memberId, int type);
+
+ void updateWalletMineWithLock(BigDecimal amount, Long memberId, int type);
+
+ void addFrozenAmountWithLock(BigDecimal amount, Long memberId);
+
+ void releaseFrozenAmountWithLock(Long memberId);
+
+ DappWalletCoinEntity findByMemberId(Long memberId);
}
--
Gitblit v1.9.1