mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-13 14:30:08 +08:00
update
This commit is contained in:
@@ -1605,10 +1605,10 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
|||||||
if (memberVO == null) {
|
if (memberVO == null) {
|
||||||
throw new BusinessException(ReturnCodeEnum.CODE_GET_MEMBER_ACCOUNT_AMOUNT_ERROR);
|
throw new BusinessException(ReturnCodeEnum.CODE_GET_MEMBER_ACCOUNT_AMOUNT_ERROR);
|
||||||
}
|
}
|
||||||
|
accountBalance = memberVO.getTotalAccountAmount();
|
||||||
if (accountBalance.compareTo(BigDecimal.ZERO) <= 0) {
|
if (accountBalance.compareTo(BigDecimal.ZERO) <= 0) {
|
||||||
throw new BusinessException(ReturnCodeEnum.CODE_BALANCE_IS_INSUFFICIENT);
|
throw new BusinessException(ReturnCodeEnum.CODE_BALANCE_IS_INSUFFICIENT);
|
||||||
}
|
}
|
||||||
accountBalance = memberVO.getTotalAccountAmount();
|
|
||||||
payMode = OrderPayModeEnum.PAYMENT_OF_BALANCE.getValue();
|
payMode = OrderPayModeEnum.PAYMENT_OF_BALANCE.getValue();
|
||||||
// accountBalance = memberVO.getTotalAccountAmount();
|
// accountBalance = memberVO.getTotalAccountAmount();
|
||||||
// dto.setChargeAmount(totalAccountAmount); // 充电金额
|
// dto.setChargeAmount(totalAccountAmount); // 充电金额
|
||||||
|
|||||||
Reference in New Issue
Block a user