|  | @@ -2898,7 +2898,9 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
 | 
	
		
			
				|  |  |          if(order.getStatus().equals(DealStatusEnum.SUCCESS)){
 | 
	
		
			
				|  |  |              courseScheduleDao.updateGroupCourseLock(order.getMusicGroupId(),GroupType.PRACTICE,0);
 | 
	
		
			
				|  |  |          }else{
 | 
	
		
			
				|  |  | -            sysUserCashAccountService.updateBalance(order.getUserId(), order.getBalancePaymentAmount(), PlatformCashAccountDetailTypeEnum.REFUNDS, "陪练课购买失败");
 | 
	
		
			
				|  |  | +            if(Objects.nonNull( order.getBalancePaymentAmount())){
 | 
	
		
			
				|  |  | +                sysUserCashAccountService.updateBalance(order.getUserId(), order.getBalancePaymentAmount(), PlatformCashAccountDetailTypeEnum.REFUNDS, "陪练课购买失败");
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  |              studentPaymentOrderDao.update(order);
 | 
	
		
			
				|  |  |              groupService.deleteGroupInfo(order.getMusicGroupId(),GroupType.PRACTICE);
 | 
	
		
			
				|  |  |              return;
 |