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 | 26 +++++++++++++++++++++++++- 1 files changed, 25 insertions(+), 1 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 c3ca269..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 @@ -6,8 +6,11 @@ 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>{ @@ -29,7 +32,7 @@ public Result getWalletCoinBySymbol(String symbol); - public Result getWalletAgentIntoRecords(); + public Result getWalletAgentIntoRecords(@Valid RecordsPageDto recordsPageDto); public Result getWalletCoinRecords(@Valid RecordsPageDto recordsPageDto); @@ -37,4 +40,25 @@ 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