From 420efcecbc5b9b17f96b9c0a37d9bc3a5f1afccd Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Sun, 06 Nov 2022 17:46:01 +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