From ed86dfe43e1815e6803568b137f8984735186b25 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 14 Sep 2022 21:47:48 +0800 Subject: [PATCH] fix --- src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java | 22 ++++++++++------------ 1 files changed, 10 insertions(+), 12 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 250f2e9..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,13 +19,9 @@ WalletInfoVo walletInfo(); - void change(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); @@ -35,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