From c9c9bde983d6b77d44d75ce9a0eba87a1aef55e2 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Sun, 13 Nov 2022 23:48:39 +0800
Subject: [PATCH] fix

---
 src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java |   20 +++++++++-----------
 1 files changed, 9 insertions(+), 11 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 b5cf7e0..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,14 +31,18 @@
 
     Long transfer(TransferDto transferDto);
 
-    Map<String, BigDecimal> calPrice(PriceDto priceDto);
+    BigDecimal calPrice(PriceDto priceDto);
 
-    ActiveNftListVo boxSurprise();
+    void withdraw(WithdrawDto withdrawDto);
 
-    void activeNft(ActiveDto activeDto);
+    void updateWalletCoinWithLock(BigDecimal amount, Long memberId, int type);
 
-    List<ActiveNftListVo> findUnActiveNftList();
+    void updateWalletMineWithLock(BigDecimal amount, Long memberId, int type);
 
-    void withdraw(@RequestBody WithdrawDto withdrawDto);
+    void addFrozenAmountWithLock(BigDecimal amount, Long memberId);
+
+    void releaseFrozenAmountWithLock(Long memberId);
+
+    DappWalletCoinEntity findByMemberId(Long memberId);
 
 }

--
Gitblit v1.9.1