|  | @@ -345,7 +345,7 @@ public class StudentServeServiceImpl implements StudentServeService {
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |              }else if(typeCourseMap.containsKey(CourseSchedule.CourseScheduleType.VIP)){
 | 
	
		
			
				|  |  |                  List<StudentServeCourseDto> futureCourseInfo = typeCourseMap.get(CourseSchedule.CourseScheduleType.VIP);
 | 
	
		
			
				|  |  | -                List<StudentServeCourseDto> weekCourseInfo = typeCourseMap.get(CourseSchedule.CourseScheduleType.VIP).stream().filter(c -> TeachModeEnum.ONLINE.equals(c.getTeachMode()) && c.getCourseStartTime().compareTo(nextMonday) < 0).collect(Collectors.toList());
 | 
	
		
			
				|  |  | +                List<StudentServeCourseDto> weekCourseInfo = typeCourseMap.get(CourseSchedule.CourseScheduleType.VIP).stream().filter(c -> c.getCourseStartTime().compareTo(nextMonday) < 0).collect(Collectors.toList());
 | 
	
		
			
				|  |  |                  if(CollectionUtils.isEmpty(weekCourseInfo)){
 | 
	
		
			
				|  |  |                      StudentExtracurricularExercisesSituation studentExtracurricularExercisesSituation=new StudentExtracurricularExercisesSituation(studentCourseMapEntry.getKey(),
 | 
	
		
			
				|  |  |                              futureCourseInfo.get(0).getActualTeacherId(),nowDate.get(DateUtil.weekFields.weekOfYear()),
 | 
	
	
		
			
				|  | @@ -357,15 +357,18 @@ public class StudentServeServiceImpl implements StudentServeService {
 | 
	
		
			
				|  |  |                      Map<Integer, Set<Long>> teacherServiceCourseIdMap = new HashMap<>();
 | 
	
		
			
				|  |  |                      for (Map.Entry<Integer, List<StudentServeCourseDto>> teacherCourseMapEntry : teacherCourseMap.entrySet()) {
 | 
	
		
			
				|  |  |                          StudentServeCourseDto courseInfo = teacherCourseMapEntry.getValue().stream().min(Comparator.comparing(StudentServeCourseDto::getCourseStartTime)).get();
 | 
	
		
			
				|  |  | -                        teacherServiceCourseIdMap.put(teacherCourseMapEntry.getKey(), new HashSet<>());
 | 
	
		
			
				|  |  | -                        teacherServiceCourseIdMap.get(teacherCourseMapEntry.getKey()).add(courseInfo.getCourseScheduleId());
 | 
	
		
			
				|  |  | -                    }
 | 
	
		
			
				|  |  | -                    for (Map.Entry<Integer, Set<Long>> teacherServiceCourseIdMapEntry : teacherServiceCourseIdMap.entrySet()) {
 | 
	
		
			
				|  |  | -                        StudentExtracurricularExercisesSituation studentExtracurricularExercisesSituation=new StudentExtracurricularExercisesSituation(studentCourseMapEntry.getKey(),
 | 
	
		
			
				|  |  | -                                teacherServiceCourseIdMapEntry.getKey(),nowDate.get(DateUtil.weekFields.weekOfYear()),
 | 
	
		
			
				|  |  | -                                DateUtil.stringToDate(monDayDate.toString(), "yyyy-MM-dd"), DateUtil.stringToDate(sunDayDate.toString(), "yyyy-MM-dd"),
 | 
	
		
			
				|  |  | -                                "HOMEWORK", StringUtils.join(teacherServiceCourseIdMapEntry.getValue(), ","));
 | 
	
		
			
				|  |  | -                        studentExtracurricularExercisesSituation.setExpectExercisesNum(teacherServiceCourseIdMapEntry.getValue().size());
 | 
	
		
			
				|  |  | +                        StudentExtracurricularExercisesSituation studentExtracurricularExercisesSituation;
 | 
	
		
			
				|  |  | +                        if(TeachModeEnum.OFFLINE.equals(courseInfo.getTeachMode())){
 | 
	
		
			
				|  |  | +                            studentExtracurricularExercisesSituation=new StudentExtracurricularExercisesSituation(studentCourseMapEntry.getKey(),
 | 
	
		
			
				|  |  | +                                    futureCourseInfo.get(0).getActualTeacherId(),nowDate.get(DateUtil.weekFields.weekOfYear()),
 | 
	
		
			
				|  |  | +                                    DateUtil.stringToDate(monDayDate.toString(), "yyyy-MM-dd"), DateUtil.stringToDate(sunDayDate.toString(), "yyyy-MM-dd"),
 | 
	
		
			
				|  |  | +                                    "EXERCISE", null);
 | 
	
		
			
				|  |  | +                        }else{
 | 
	
		
			
				|  |  | +                            studentExtracurricularExercisesSituation=new StudentExtracurricularExercisesSituation(studentCourseMapEntry.getKey(),
 | 
	
		
			
				|  |  | +                                    teacherCourseMapEntry.getKey(),nowDate.get(DateUtil.weekFields.weekOfYear()),
 | 
	
		
			
				|  |  | +                                    DateUtil.stringToDate(monDayDate.toString(), "yyyy-MM-dd"), DateUtil.stringToDate(sunDayDate.toString(), "yyyy-MM-dd"),
 | 
	
		
			
				|  |  | +                                    "HOMEWORK", String.valueOf(courseInfo.getCourseScheduleId()));
 | 
	
		
			
				|  |  | +                        }
 | 
	
		
			
				|  |  |                          results.add(studentExtracurricularExercisesSituation);
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                  }
 |