Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ private TimetableLecture createTimetableLecture(GradeExcelData data, Lecture lec
TimetableFrame graduationFrame, CourseType courseType, GeneralEducationArea generalEducationArea) {
return TimetableLecture.builder()
.classTitle(data.classTitle())
.classTime(lecture != null ? lecture.getClassTime() : null)
.classTime(lecture != null ? lecture.getClassTime() : "[]")
.professor(data.professor())
.grades(data.credit())
.isDeleted(false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ public static List<LectureInfoResponse> getCustomLectureInfo(String classTime, S
}

List<Integer> classTimes = parseToIntegerList(classTime);
if (classTimes.isEmpty()) {
return Collections.emptyList();
}
List<LectureInfoResponse> response = new ArrayList<>();

List<String> classPlaces = getClassPlaces(classPlace, classTimes);
Expand Down
Loading