From 8ee1e0a4a7bfda816de2f267098b96a40cce7b85 Mon Sep 17 00:00:00 2001 From: Lemon Date: Tue, 11 Jul 2023 17:46:18 +0800 Subject: [PATCH] update --- .../jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java index 517838583..c36d60ff0 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/OrderBasicInfoServiceImpl.java @@ -1605,10 +1605,10 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService { if (memberVO == null) { throw new BusinessException(ReturnCodeEnum.CODE_GET_MEMBER_ACCOUNT_AMOUNT_ERROR); } + accountBalance = memberVO.getTotalAccountAmount(); if (accountBalance.compareTo(BigDecimal.ZERO) <= 0) { throw new BusinessException(ReturnCodeEnum.CODE_BALANCE_IS_INSUFFICIENT); } - accountBalance = memberVO.getTotalAccountAmount(); payMode = OrderPayModeEnum.PAYMENT_OF_BALANCE.getValue(); // accountBalance = memberVO.getTotalAccountAmount(); // dto.setChargeAmount(totalAccountAmount); // 充电金额