From 83e2fd8d61d116ce9bf2034e8d05346910f96260 Mon Sep 17 00:00:00 2001 From: zainali5120 <512061637@qq.com> Date: Sun, 29 Nov 2020 13:23:15 +0800 Subject: [PATCH] 卖出额度限制 --- 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