|
@@ -3986,11 +3986,10 @@ 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);
|
|
|
}
|
|
|
|
|
|
+ courseEventSource.courseStatusChange(null);
|
|
|
+
|
|
|
// 更新班级已上课次
|
|
|
if (classGroupIds.size() > 0) {
|
|
|
classGroupService.batchIncreaseClassTimes(classGroupIds);
|