From af085dd2fdea97c66ed9520f31754e1025d9dc02 Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期二, 10 十二月 2024 16:06:58 +0800 Subject: [PATCH] 582-在售商品可以直接进行删除,需要进行优化,在售商品删除提示无法删除,需要先进行下架再进行删除 --- src/main/java/com/mzl/flower/service/impl/wallet/WalletReduceServiceImpl.java | 17 ++++++++++++++--- 1 files changed, 14 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 eefd7a7..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,13 +32,25 @@ } @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) { return walletReduceMapper.getSaleReduceAmount(queryWalletAmountDTO); } + + @Override + public BigDecimal getStationFeeAmount(QueryWalletAmountDTO queryWalletAmountDTO) { + return walletReduceMapper.getStationFeeAmount(queryWalletAmountDTO); + } + + @Override + public BigDecimal getCheckReduceAmount(QueryWalletAmountDTO queryWalletAmountDTO) { + return walletReduceMapper.getCheckReduceAmount(queryWalletAmountDTO); + } } -- Gitblit v1.9.3