From 4d5e301a679bec2f6d2a32290bf98dde4966d0d0 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 11 Aug 2023 14:58:28 +0800
Subject: [PATCH] 数据修改
---
src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java | 37 +++++++++++++++++++++++++------------
1 files changed, 25 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 74f44e6..f8dd3cc 100644
--- a/src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java
+++ b/src/main/java/cc/mrbird/febs/dapp/service/DappWalletService.java
@@ -7,8 +7,10 @@
import cc.mrbird.febs.dapp.entity.DappWalletCoinEntity;
import cc.mrbird.febs.dapp.entity.DappWalletMineEntity;
import cc.mrbird.febs.dapp.vo.ActiveNftListVo;
+import cc.mrbird.febs.dapp.vo.DappFundFlowVo;
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;
@@ -16,32 +18,43 @@
public interface DappWalletService {
- 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);
IPage<DappAccountMoneyChangeEntity> accountMoneyChangeInPage(DappAccountMoneyChangeEntity change, QueryRequest request);
+ void withdraw(WithdrawDto withdrawDto);
- Long transfer(TransferDto transferDto);
+ void updateWalletCoinWithLock(BigDecimal amount, Long memberId, int type);
- Map<String, BigDecimal> calPrice(PriceDto priceDto);
+ void updateWalletMineWithLock(BigDecimal amount, Long memberId, int type);
- ActiveNftListVo boxSurprise();
+ void addFrozenAmountWithLock(BigDecimal amount, Long memberId);
- void activeNft(ActiveDto activeDto);
+ void releaseFrozenAmountWithLock(Long memberId);
- List<ActiveNftListVo> findUnActiveNftList();
+ DappWalletCoinEntity findByMemberId(Long memberId);
+ void transferAgain(TransferDto transferDto);
+
+ Long transferA(TransferADto transferADto);
+
+ /**
+ * 资产钱包转帐到闪兑钱包3% 手续费(扣币)
+ * @param mineToCoinDto
+ */
+ void mineToCoin(MineToCoinDto mineToCoinDto);
+
+ Long transferAusd(TransferAusdDto transferAusdDto);
+
+ List<DappFundFlowVo> getRecordVoInPage(RecordInPageDto recordInPageDto);
+
+ void roundCoin(RoundCoinDto roundCoinDto);
+
+ void roundCoinAusdt(RoundCoinDto roundCoinDto);
}
--
Gitblit v1.9.1