-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: 졸업학점 계산 동의 API 및 학과, 시간표 수정 대응 #1154
feat: 졸업학점 계산 동의 API 및 학과, 시간표 수정 대응 #1154
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다~
작은 코멘트 하나씩만 확인해주세요 :D
detectGraduationCalculation.updatedIsChanged(true); | ||
}); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C
👀
if (student.getDepartment() == null) { | ||
DepartmentNotFoundException.withDetail("학과를 추가하세요."); | ||
} | ||
if (student.getStudentNumber() == null) { | ||
DepartmentNotFoundException.withDetail("학번을 추가하세요."); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C
예외처리 묶어서 처리하는 메소드로 관리하면 좋을 거 같아요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!넵!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다 💯
코멘트 확인해주세욥
src/main/java/in/koreatech/koin/domain/graduation/service/GraduationService.java
Outdated
Show resolved
Hide resolved
src/main/java/in/koreatech/koin/domain/graduation/aop/GraduationAspect.java
Show resolved
Hide resolved
src/main/java/in/koreatech/koin/domain/graduation/aop/GraduationAspect.java
Outdated
Show resolved
Hide resolved
.../java/in/koreatech/koin/domain/graduation/repository/StudentCourseCalculationRepository.java
Outdated
Show resolved
Hide resolved
src/main/java/in/koreatech/koin/domain/graduation/service/GraduationService.java
Outdated
Show resolved
Hide resolved
…alculator' into feature/detect-graduation # Conflicts: # src/main/java/in/koreatech/koin/domain/graduation/controller/GraduationApi.java # src/main/java/in/koreatech/koin/domain/graduation/controller/GraduationController.java # src/main/java/in/koreatech/koin/domain/graduation/repository/CatalogRepository.java # src/main/java/in/koreatech/koin/domain/graduation/service/GraduationService.java # src/main/java/in/koreatech/koin/domain/timetableV2/dto/request/TimetableLectureCreateRequest.java # src/main/java/in/koreatech/koin/domain/timetableV2/factory/TimetableLectureCreator.java # src/main/java/in/koreatech/koin/domain/timetableV2/model/TimetableLecture.java
* feat: 기능 구현 * chore: 리뷰 반영 * chore: 리뷰 반영 * chore: 리뷰 반영 * chore: 변경 여부에 따른 처리 로직 추가
…feature/detect-graduation # Conflicts: # src/main/java/in/koreatech/koin/domain/graduation/controller/GraduationController.java # src/main/java/in/koreatech/koin/domain/graduation/service/GraduationService.java # src/main/java/in/koreatech/koin/domain/timetableV2/factory/TimetableLectureCreator.java
23a0b53
into
feature/1140-graduation-credit-calculator
🔥 연관 이슈
🚀 작업 내용
졸업학점 계산 동의 API 구현했습니다.
해당 학생에 대한 졸업학점 계산 동의 요청 api를 날리게되면 계산테이블과 변경감지테이블에 학생에 대한 데이터값이 초기화됩니다.
시간표 수정
aop를 이용하여 시간표 생성, 수정, 삭제되는 요청에 대해 공통적으로 변경감지테이블의 변경 여부를 true로 변경시킵니다.
학과 수정
학생이 학과를 수정했을때 기존 계산테이블을 삭제하고, 새롭게 변경된 학과의 졸업요건에 맞게 계산테이블의 데이터값이 초기화됩니다.
💬 리뷰 중점사항