|  | @@ -564,12 +564,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 | 
	
		
			
				|  |  |  		if(existCourseSchedules ==null || existCourseSchedules.size()==0){
 | 
	
		
			
				|  |  |  			return null;
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  | -		//新课程对应的班级编号列表
 | 
	
		
			
				|  |  | -		List<Integer> newCourseScheduleClassGroupIds = courseSchedules
 | 
	
		
			
				|  |  | -				.stream()
 | 
	
		
			
				|  |  | -				.map(CourseSchedule::getClassGroupId)
 | 
	
		
			
				|  |  | -				.distinct()
 | 
	
		
			
				|  |  | -				.collect(Collectors.toList());
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  		List<Long> existCourseScheduleIds = existCourseSchedules.stream()
 | 
	
		
			
				|  |  |  				.map(CourseSchedule::getId)
 | 
	
	
		
			
				|  | @@ -582,6 +577,14 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 | 
	
		
			
				|  |  |  		}else{
 | 
	
		
			
				|  |  |  			allCourseSchedules = courseSchedules;
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +		//新课程对应的班级编号列表
 | 
	
		
			
				|  |  | +		List<Integer> newCourseScheduleClassGroupIds = allCourseSchedules
 | 
	
		
			
				|  |  | +				.stream()
 | 
	
		
			
				|  |  | +				.map(CourseSchedule::getClassGroupId)
 | 
	
		
			
				|  |  | +				.distinct()
 | 
	
		
			
				|  |  | +				.collect(Collectors.toList());
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  		//所有课程的班级编号
 | 
	
		
			
				|  |  |  		List<Integer> classGroupIds = allCourseSchedules
 | 
	
		
			
				|  |  |  				.stream()
 |