Skip to content

Commit cbdb25c

Browse files
committed
modify :: subject name
1 parent 199e43b commit cbdb25c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/main/kotlin/dsm/pick2024/domain/timetable/service/SaveTimetableService.kt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,23 @@ class SaveTimetableService(
3838
}
3939

4040
private fun updatedSubjectName(subjectName: String): String {
41-
val cleanName = subjectName.replace(Regex("[\\[\\(].*?[\\]\\)]"), "")
41+
val cleanName = subjectName.replace(Regex("[\\[\\(].*?[\\]\\)]|\\d|공통"), "")
4242

4343
return when (cleanName) {
4444
"* 데이터베이스 구현", "* SQL활용" -> "DB 프로그래밍"
4545
"* 응용SW 변경관리" -> "응용SW 변경관리"
4646
"* 응용SW 운영관리" -> "디지털 포렌식"
47+
"* 응용SW 기초 기술 활용" -> "응용 소프트웨어 기초"
4748
"* 정보통신기기 PCB보드 개발" -> "정보통신기기 PCB보드 개발"
4849
"* 정보통신기기 펌웨어구현" -> "정보통신기기 펌웨어구현"
4950
"* 빅데이터 분석 결과 시각화", "빅데이터 분석 결과 시각화" -> "빅데이터 분석"
5051
"* 시스템 유지보수관리" -> "시스템 유지보수관리"
5152
"* 시스템 점검관리" -> "시스템 점검관리"
52-
"자율활동", "동아리활동" -> "창체"
53+
"자율활동", "동아리활동", "자율·자치활동" -> "창체"
5354
"자료구조와 알고리즘" -> "자료구조"
5455
"미술 창작" -> "미술"
56+
"서버 구축 및 운영" -> "서버 프로그래밍 실무"
57+
"머신러닝 딥러닝" -> "빅데이터 실무"
5558
else -> cleanName
5659
}
5760
}

0 commit comments

Comments
 (0)