|
@@ -1169,7 +1169,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
if(!isOk){
|
|
|
updateVipGroupStudentNumAndStatus(vipGroupId,classGroup,-1,false);
|
|
|
classGroupStudentMapperDao.deleteStudentByMusicGroupId(vipGroupId.toString(),userId);
|
|
|
- if (studentPaymentOrder.getBalancePaymentAmount().doubleValue() > 0) {
|
|
|
+ if (studentPaymentOrder.getBalancePaymentAmount() != null && studentPaymentOrder.getBalancePaymentAmount().doubleValue() > 0) {
|
|
|
sysUserCashAccountService.updateBalance(userId, studentPaymentOrder.getBalancePaymentAmount(), PlatformCashAccountDetailTypeEnum.REFUNDS,
|
|
|
"VIP课购买失败");
|
|
|
}
|