From 2e3db6b70d8441f11fbbd60999ab8fe8cc167fa0 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 15 Jun 2021 16:37:11 +0800 Subject: [PATCH] modify --- src/main/java/com/xcong/excoin/modules/coin/service/CoinService.java | 7 ++++++- 1 files changed, 6 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..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 @@ -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,8 @@ 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