From a9c9e15f24586a50611168b1315e6fd291ed3e1c Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 14 Dec 2022 14:23:49 +0800
Subject: [PATCH] 20221213转币
---
src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java | 23 +++++++++++++----------
1 files changed, 13 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..25cd784 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,20 @@
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);
+
+ void transferAgain(TransferDto transferDto);
}
--
Gitblit v1.9.1