@@ -84,7 +84,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());