From 36be00e0f3cbe0d559c646fd2977e6e3a74aa6f9 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Mon, 30 Sep 2024 16:57:22 +0800 Subject: [PATCH] Merge branch 'bea' of http://120.27.238.55:7000/r/exchange into bea --- src/main/java/com/xcong/excoin/modules/coin/service/CoinService.java | 41 +++++++++++++++++++++++++++++++++++------ 1 files changed, 35 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..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,16 +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(@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