|  | @@ -1413,8 +1413,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |      	if(vipGroup.getStatus()==VipGroupStatusEnum.CANCEL){
 | 
	
		
			
				|  |  |      		throw new BizException("该课程已结束或者已被停止,无法进行此操作");
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  | -		List<CourseSchedule> vipGroupCourseSchedules = courseScheduleDao.findVipGroupCourseSchedules(vipGroupId);
 | 
	
		
			
				|  |  | -		List<Long> courseScheduleIds = vipGroupCourseSchedules.stream().map(CourseSchedule::getId).collect(Collectors.toList());
 | 
	
		
			
				|  |  | +		List<Long> courseScheduleIds = courseScheduleDao.findVipGroupNotStartCourseScheduleIds(vipGroupId.toString(),GroupType.VIP.getCode());
 | 
	
		
			
				|  |  |      	if(vipGroup.getStatus()==VipGroupStatusEnum.NOT_START){
 | 
	
		
			
				|  |  |  			vipGroup.setStatus(VipGroupStatusEnum.CANCEL);
 | 
	
		
			
				|  |  |      		vipGroupDao.update(vipGroup);
 |