From 4fe1740285612508139075b2df37c7d8c2dd112c Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 08 Nov 2022 14:11:47 +0800 Subject: [PATCH] 20221021 --- src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java | 22 +++++++++------------- 1 files changed, 9 insertions(+), 13 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 9fc61f3..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,18 +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); + 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