From 5ff8fb8bd9d298def47437b24e77c8879cdc37d2 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期四, 14 十一月 2024 09:36:39 +0800 Subject: [PATCH] 1.定时任务-待付款-15分钟 2.领券中心:根据领取次数判断是否已领取 3.付款:优惠券自动领取最大优惠券 --- src/main/java/com/mzl/flower/service/impl/wallet/WalletReduceServiceImpl.java | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/mzl/flower/service/impl/wallet/WalletReduceServiceImpl.java b/src/main/java/com/mzl/flower/service/impl/wallet/WalletReduceServiceImpl.java index 7165124..51b5bd8 100644 --- a/src/main/java/com/mzl/flower/service/impl/wallet/WalletReduceServiceImpl.java +++ b/src/main/java/com/mzl/flower/service/impl/wallet/WalletReduceServiceImpl.java @@ -4,7 +4,6 @@ import com.mzl.flower.dto.request.wallet.QueryWalletAmountDTO; import com.mzl.flower.dto.request.wallet.QueryWalletReduceDTO; import com.mzl.flower.dto.response.wallet.WalletReduceVO; -import com.mzl.flower.dto.response.wallet.WalletWithdrawRecordVO; import com.mzl.flower.mapper.wallet.WalletReduceMapper; import com.mzl.flower.service.wallet.WalletReduceService; import com.mzl.flower.service.wallet.WalletService; @@ -33,10 +32,12 @@ } @Override - public BigDecimal getCheckReduceAmount(QueryWalletAmountDTO queryWalletAmountDTO) { + public BigDecimal getCheckLackReplaceAmount(QueryWalletAmountDTO queryWalletAmountDTO) { - return walletReduceMapper.getCheckReduceAmount(queryWalletAmountDTO); + return walletReduceMapper.getCheckLackReplaceAmount(queryWalletAmountDTO); } + + @Override public BigDecimal getSaleReduceAmount(QueryWalletAmountDTO queryWalletAmountDTO) { @@ -47,4 +48,9 @@ public BigDecimal getStationFeeAmount(QueryWalletAmountDTO queryWalletAmountDTO) { return walletReduceMapper.getStationFeeAmount(queryWalletAmountDTO); } + + @Override + public BigDecimal getCheckReduceAmount(QueryWalletAmountDTO queryWalletAmountDTO) { + return walletReduceMapper.getCheckReduceAmount(queryWalletAmountDTO); + } } -- Gitblit v1.9.3