|  | @@ -3953,11 +3953,13 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        if (updateList.size() > 0) {
 | 
	
		
			
				|  |  | +		Set<Long> courseIds = null;
 | 
	
		
			
				|  |  | +		if (updateList.size() > 0) {
 | 
	
		
			
				|  |  |              courseScheduleDao.batchUpdate(updateList);
 | 
	
		
			
				|  |  | +			courseIds = updateList.stream().map(CourseSchedule::getId).collect(Collectors.toSet());
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -		courseEventSource.courseStatusChange(null);
 | 
	
		
			
				|  |  | +		courseEventSource.courseStatusChange(courseIds);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          // 更新班级已上课次
 | 
	
		
			
				|  |  |          if (classGroupIds.size() > 0) {
 | 
	
	
		
			
				|  | @@ -4017,8 +4019,6 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          if (updateList.size() > 0) {
 | 
	
		
			
				|  |  |              courseScheduleDao.batchUpdate(updateList);
 | 
	
		
			
				|  |  | -			Set<Long> courseIds = updateList.stream().map(CourseSchedule::getId).collect(Collectors.toSet());
 | 
	
		
			
				|  |  | -			courseEventSource.courseStatusChange(courseIds);
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  		return true;
 | 
	
		
			
				|  |  |  	}
 |