From 0c5bb71fdce5f677b6cc7320795713d599e6f04f Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 23 Feb 2022 14:19:56 +0800 Subject: [PATCH] 20222223 --- src/main/java/com/xcong/excoin/modules/coin/service/CoinService.java | 12 +++++++++++- 1 files changed, 11 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..bf00adf 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 @@ -8,6 +8,7 @@ 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>{ @@ -29,7 +30,7 @@ public Result getWalletCoinBySymbol(String symbol); - public Result getWalletAgentIntoRecords(); + public Result getWalletAgentIntoRecords(@Valid RecordsPageDto recordsPageDto); public Result getWalletCoinRecords(@Valid RecordsPageDto recordsPageDto); @@ -37,4 +38,13 @@ 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); + + Result zhiYaGusd(BigDecimal balance); + + Result shuhuiGusd(BigDecimal balance); } -- Gitblit v1.9.1