From 159f9446f98a5b3640f2e6233d7da8410bb8f7ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=8B=A0=EA=B4=80=EA=B7=9C?= Date: Tue, 20 May 2025 13:56:22 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=EC=BB=A4=EC=8A=A4=ED=85=80=20?= =?UTF-8?q?=EA=B0=95=EC=9D=98=20=EC=8B=9C=EA=B0=84=EC=9D=B4=20=EC=97=86?= =?UTF-8?q?=EB=8A=94=20=EA=B2=BD=EC=9A=B0=20=EB=B9=88=EA=B0=92=20=EB=B0=98?= =?UTF-8?q?=ED=99=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/timetableV3/dto/response/LectureInfoResponse.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/in/koreatech/koin/domain/timetableV3/dto/response/LectureInfoResponse.java b/src/main/java/in/koreatech/koin/domain/timetableV3/dto/response/LectureInfoResponse.java index 6e4f12b97b..e9587ce0dc 100644 --- a/src/main/java/in/koreatech/koin/domain/timetableV3/dto/response/LectureInfoResponse.java +++ b/src/main/java/in/koreatech/koin/domain/timetableV3/dto/response/LectureInfoResponse.java @@ -77,6 +77,9 @@ public static List getCustomLectureInfo(String classTime, S } List classTimes = parseToIntegerList(classTime); + if (classTimes.isEmpty()) { + return Collections.emptyList(); + } List response = new ArrayList<>(); List classPlaces = getClassPlaces(classPlace, classTimes); From 2b0eea2e47e954021941fff50948f54b0627b76d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=8B=A0=EA=B4=80=EA=B7=9C?= Date: Tue, 20 May 2025 13:58:16 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=EC=A1=B8=EC=97=85=ED=95=99=EC=A0=90?= =?UTF-8?q?=20=EA=B3=84=EC=82=B0=EA=B8=B0=20=EC=A0=95=EA=B7=9C=20=EA=B0=95?= =?UTF-8?q?=EC=9D=98=EA=B0=80=20=EC=97=86=EB=8A=94=20=EA=B2=BD=EC=9A=B0=20?= =?UTF-8?q?=EA=B0=95=EC=9D=98=20=EC=8B=9C=EA=B0=84=20[]=EC=9C=BC=EB=A1=9C?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../koin/domain/graduation/service/GraduationService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/in/koreatech/koin/domain/graduation/service/GraduationService.java b/src/main/java/in/koreatech/koin/domain/graduation/service/GraduationService.java index 55daa73d33..9098cab40f 100644 --- a/src/main/java/in/koreatech/koin/domain/graduation/service/GraduationService.java +++ b/src/main/java/in/koreatech/koin/domain/graduation/service/GraduationService.java @@ -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)