From f2b4675ac36e061722ff2ca9c35b7a504ccff89e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A3=B7=E5=8F=B6?= <14103883+leaf-phos@user.noreply.gitee.com> Date: Mon, 28 Oct 2024 14:01:19 +0800 Subject: [PATCH] =?UTF-8?q?debug:=E6=8A=BC=E9=87=91=E9=80=80=E6=AC=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ss/transactionBill/service/impl/RechargePayHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/service/impl/RechargePayHandler.java b/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/service/impl/RechargePayHandler.java index 909e2c84..9e767aa3 100644 --- a/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/service/impl/RechargePayHandler.java +++ b/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/service/impl/RechargePayHandler.java @@ -168,7 +168,7 @@ public class RechargePayHandler implements AfterPay, AfterRefund { bonusService.partBonus(order.getBonusList(), order.getMoney()); // 如果有押金,则申请押金退款 - if (order.getSuitPrice() != null && order.getSuitPrice().compareTo(BigDecimal.ZERO) > 0 && order.getDepositPayId() != null) { + if (order.getSuitDeposit() != null && order.getSuitDeposit().compareTo(BigDecimal.ZERO) > 0 && order.getDepositPayId() != null) { // 押金退款 PayBillRefundDTO refundDto = new PayBillRefundDTO(); refundDto.setPayId(order.getDepositPayId());