From fe1b0a2b6dd9f7798b55050b9a8bc3555dc21f0b Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 24 Nov 2021 18:23:37 +0800
Subject: [PATCH] 20211124 fish
---
src/main/java/com/xcong/excoin/modules/coin/service/CoinService.java | 22 ++++++++++++++++------
1 files changed, 16 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..8bc87fb 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,22 @@
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);
+
}
--
Gitblit v1.9.1