|
@@ -6525,6 +6525,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
|
|
|
|
int size = beforeCourse.size();
|
|
|
collect = beforeCourse.subList(size - 2, size).stream()
|
|
|
+ .filter(o -> CourseStatusEnum.NOT_START.equals(o.getStatus()))
|
|
|
.map(CourseSchedule::getId)
|
|
|
.distinct().collect(Collectors.toList());
|
|
|
if (CollectionUtils.isNotEmpty(collect)) {
|
|
@@ -6535,7 +6536,9 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
|
|
|
|
// 课程后连堂状态
|
|
|
if (afterCourse.get(0).getContinuousCourse()) {
|
|
|
- collect = afterCourse.stream().map(CourseSchedule::getId).distinct().collect(Collectors.toList());
|
|
|
+ collect = afterCourse.stream()
|
|
|
+ .filter(o -> CourseStatusEnum.NOT_START.equals(o.getStatus()))
|
|
|
+ .map(CourseSchedule::getId).distinct().collect(Collectors.toList());
|
|
|
|
|
|
if (CollectionUtils.isNotEmpty(collect)) {
|
|
|
// 关联直播间编号
|