From 28eb26d68f7a2a4e6b316c3ea9f511aa143db66e Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Mon, 30 Sep 2024 16:57:18 +0800
Subject: [PATCH] 55测试环境
---
src/main/java/com/xcong/excoin/modules/coin/service/CoinService.java | 41 ++++++++++++++++++++++++++++++++++-------
1 files changed, 34 insertions(+), 7 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 fd61a18..624c171 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,15 @@
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.CoinInListDto;
+import com.xcong.excoin.modules.coin.parameter.dto.RecordsPageDto;
+import com.xcong.excoin.modules.coin.parameter.dto.ZhiyaRewardRecordsPageDto;
import com.xcong.excoin.modules.member.entity.MemberWalletCoinEntity;
+import org.apache.ibatis.annotations.Param;
public interface CoinService extends IService<MemberWalletCoinEntity>{
@@ -20,18 +26,39 @@
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();
+ 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 type);
+
+ Result zhiYaGusd(BigDecimal balance);
+
+ Result shuhuiGusd(BigDecimal balance,Long id);
+
+ Result findMemberGusdInfo();
+
+ Result getZhiyaRecords(RecordsPageDto recordsPageDto);
+
+ Result getusdtToGusdRecords(RecordsPageDto recordsPageDto);
+
+ void grantZhiyaAmount();
+
+ Result getZhiyaReward(ZhiyaRewardRecordsPageDto recordsPageDto);
+
+ Result coinInList(CoinInListDto coinInListDto);
}
--
Gitblit v1.9.1