|  | @@ -1095,6 +1095,10 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |  		ClassGroupStudentMapper classStudentMapperByUserIdAndClassGroupId = classGroupStudentMapperDao.query(classGroup.getId(),
 | 
	
		
			
				|  |  |  				studentId);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +		if(Objects.isNull(classStudentMapperByUserIdAndClassGroupId)){
 | 
	
		
			
				|  |  | +			throw new BizException("指定学生不在此课程中");
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  		classStudentMapperByUserIdAndClassGroupId.setStatus(ClassGroupStudentStatusEnum.QUIT);
 | 
	
		
			
				|  |  |  		classGroupStudentMapperDao.update(classStudentMapperByUserIdAndClassGroupId);
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -1112,6 +1116,9 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |  		if(Objects.isNull(vipGroup)){
 | 
	
		
			
				|  |  |  			throw new BizException("未找到指定vip课");
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  | +		if(vipGroup.getStatus().equals(VipGroupStatusEnum.CANCEL)){
 | 
	
		
			
				|  |  | +			throw new BizException("不能对已停止的课程进行退课操作");
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  |  		Map<String,BigDecimal> result=new HashMap<>();
 | 
	
		
			
				|  |  |  		if(vipGroup.getStatus().equals(VipGroupStatusEnum.APPLYING)){
 | 
	
		
			
				|  |  |  			StudentPaymentOrder studentPaymentOrder = studentPaymentOrderDao.findByStudentVipGroup(vipGroupId, studentId, DealStatusEnum.SUCCESS.getCode());
 |