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); // 充电金额