From 1480fd4ff8f75ae65ba3bd83e786a7fa2a2773a8 Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Mon, 25 Jul 2022 14:25:23 +0800 Subject: [PATCH] 1 --- .../main/java/com/hai/service/impl/HighOrderServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java b/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java index 18eb196b..53ecbe0a 100644 --- a/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java +++ b/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java @@ -2343,7 +2343,7 @@ public class HighOrderServiceImpl implements HighOrderService { // 退还积分 - if (order.getPayGold() > 0) { + if (order.getPayGold() != null) { highUserService.goldHandle(order.getMemId(), order.getPayGold(), 1, 3, order.getId()); if (order.getPayRealPrice().compareTo(new BigDecimal(0)) == 0) { order.setOrderStatus(4);