From a8ed6c8a55a3c594716a6ff02d5997c4bbbad09a Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 23 Feb 2022 11:36:50 +0800
Subject: [PATCH] 20222223
---
src/main/java/com/xcong/excoin/modules/coin/service/CoinService.java | 25 +++++++++++++++++++------
1 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/coin/service/CoinService.java b/src/main/java/com/xcong/excoin/modules/coin/service/CoinService.java
index 9c612d8..a2946bb 100644
--- a/src/main/java/com/xcong/excoin/modules/coin/service/CoinService.java
+++ b/src/main/java/com/xcong/excoin/modules/coin/service/CoinService.java
@@ -2,9 +2,13 @@
import java.math.BigDecimal;
+import javax.validation.Valid;
+
import com.baomidou.mybatisplus.extension.service.IService;
import com.xcong.excoin.common.response.Result;
+import com.xcong.excoin.modules.coin.parameter.dto.RecordsPageDto;
import com.xcong.excoin.modules.member.entity.MemberWalletCoinEntity;
+import org.apache.ibatis.annotations.Param;
public interface CoinService extends IService<MemberWalletCoinEntity>{
@@ -20,16 +24,25 @@
public Result findWalletCoinBySymbol(String symbol);
- public Result getWalletCoinRecords();
-
- public Result getWalletContractRecords();
-
- public Result getWalletAgentRecords();
-
public Result agentTransferToWalletCoin(BigDecimal balance, Integer transfertype);
public Result findWalletAgentBySymbol();
public Result getWalletCoinBySymbol(String symbol);
+ public Result getWalletAgentIntoRecords(@Valid RecordsPageDto recordsPageDto);
+
+ public Result getWalletCoinRecords(@Valid RecordsPageDto recordsPageDto);
+
+ public Result getWalletContractRecords(@Valid RecordsPageDto recordsPageDto);
+
+ public Result getWalletAgentRecords(@Valid RecordsPageDto recordsPageDto);
+
+ public Result getAllWalletCoin();
+
+ void updateWalletBalance(@Param("id") Long id, @Param("availableBalance")BigDecimal availableBalance,@Param("totalBalance")BigDecimal totalBalance, @Param("frozenBalance")BigDecimal frozenBalance);
+
+ Result usdtToGusd(BigDecimal balance, Integer transfertype);
+
+ Result zhiYaGusd(BigDecimal balance);
}
--
Gitblit v1.9.1