From 08d5c76dc776c64efeb2a7d8fa33f90ee5132bfe Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Sun, 04 Sep 2022 12:10:36 +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