From a64d6284082665f9a27add91edc0f7dc7e31afb7 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 08 Nov 2022 11:23:00 +0800 Subject: [PATCH] 20221021 --- src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java | 21 +++++++++++---------- 1 files changed, 11 insertions(+), 10 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 74f44e6..beb9060 100644 --- a/src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java +++ b/src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java @@ -9,6 +9,7 @@ import cc.mrbird.febs.dapp.vo.ActiveNftListVo; import cc.mrbird.febs.dapp.vo.WalletInfoVo; import com.baomidou.mybatisplus.core.metadata.IPage; +import org.springframework.web.bind.annotation.RequestBody; import java.math.BigDecimal; import java.util.List; @@ -18,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); @@ -36,12 +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 addFrozenAmountWithLock(BigDecimal amount, Long memberId); + + void releaseFrozenAmountWithLock(Long memberId); + + DappWalletCoinEntity findByMemberId(Long memberId); } -- Gitblit v1.9.1