|
@@ -74,6 +74,9 @@ public class StudentServeServiceImpl implements StudentServeService {
|
|
|
//本周无课学员编号集合
|
|
|
Set<Integer> noClassStudentIds=new HashSet<>();
|
|
|
for (Map.Entry<Integer, List<StudentServeDto>> studentCoursesEntry : studentCoursesMap.entrySet()) {
|
|
|
+ if(studentCoursesEntry.getKey()!=1068319){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
List<StudentServeDto> haveCourseStudents = studentCoursesEntry.getValue().stream().filter(e -> Objects.nonNull(e.getCourseStartTime())).collect(Collectors.toList());
|
|
|
if(CollectionUtils.isEmpty(haveCourseStudents)){
|
|
|
noClassStudentIds.add(studentCoursesEntry.getKey());
|
|
@@ -84,7 +87,7 @@ public class StudentServeServiceImpl implements StudentServeService {
|
|
|
noClassStudentIds.add(studentCoursesEntry.getKey());
|
|
|
continue;
|
|
|
}
|
|
|
- if(!nextMonday.before(studentServeDto.getCourseStartTime())){
|
|
|
+ if(!studentServeDto.getCourseStartTime().before(nextMonday){
|
|
|
dontServeInCurrentWeekStudentIds.add(studentCoursesEntry.getKey());
|
|
|
continue;
|
|
|
}
|