From 9784695482684c2643509535347115d7c411aaa1 Mon Sep 17 00:00:00 2001 From: wangw <1594593906@qq.com> Date: Wed, 4 Feb 2026 16:45:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A9=BA=E6=8C=87=E9=92=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/order/service/impl/OrderInfoCustomServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cash-service/order-service/src/main/java/com/czg/service/order/service/impl/OrderInfoCustomServiceImpl.java b/cash-service/order-service/src/main/java/com/czg/service/order/service/impl/OrderInfoCustomServiceImpl.java index e514b6e2a..b4b201471 100644 --- a/cash-service/order-service/src/main/java/com/czg/service/order/service/impl/OrderInfoCustomServiceImpl.java +++ b/cash-service/order-service/src/main/java/com/czg/service/order/service/impl/OrderInfoCustomServiceImpl.java @@ -1197,7 +1197,7 @@ public class OrderInfoCustomServiceImpl implements OrderInfoCustomService { if (orderInfo.getCreditBuyerId() != null) { upOrderInfo.setCreditBuyerId(orderInfo.getCreditBuyerId()); } - if (payType.equals(PayEnums.FREE_PAY)) { + if (PayEnums.FREE_PAY.equals(payType)) { if (orderInfo.getDiscountAllAmount() == null) { upOrderInfo.setDiscountAllAmount(orderInfo.getOrderAmount()); } else {