-
Notifications
You must be signed in to change notification settings - Fork 82
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
[2단계 - 출석 다시 구현하기] 코기(장재현) 미션 제출합니다. #109
Merged
+1,641
−1,352
Merged
Changes from 1 commit
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
aa343c3
chore: 기존 코드 전부 삭제
jaehyeon2650 af6c59b
docs(readme): 구현할 기능 목록 정리
jaehyeon2650 6224c37
feat(domain): AttendanceHistory 도메인 생성
jaehyeon2650 8787435
feat(domain): AttendanceHistory 출석 결과 도출 기능 추가
jaehyeon2650 fd1be46
feat(domain): AttendanceHistories 도메인 생성
jaehyeon2650 0de98ac
feat(domain): AttendanceHistory 해당 날짜 존재 여부 확인 기능 추가
jaehyeon2650 8743ed9
feat(domain): AttendanceHistory 출석 추가 기능 검증 추가
jaehyeon2650 67c557a
feat(domain): Crew 도메인 생성
jaehyeon2650 1eb1c23
feat(domain): Crews 도메인 생성
jaehyeon2650 af1ade8
feat(view): InputView 생성
jaehyeon2650 67f2db9
feat(view): OutputView 생성
jaehyeon2650 4204fc6
feat(utils): FileReader 생성
jaehyeon2650 7f5f410
feat(domain): 생성자 변경
jaehyeon2650 39f26a6
feat(controller): AttendanceController 생성
jaehyeon2650 dd42979
refactor(AttendanceHistory): AttendanceHistory 맴버 변수 변경
jaehyeon2650 5374029
feat(AttendanceHistories): AttendanceHistories 도메인 로직 추가
jaehyeon2650 2b345cc
feat(AttendanceHistories): AttendanceHistories 도메인 로직 추가
jaehyeon2650 f6e3e15
feat(constants): Holiday enum 클래스 추가
jaehyeon2650 ed5605a
feat(domain): AttendanceHistories 생성자 변경
jaehyeon2650 3d24800
feat(domain): 출석 수정 기능 추가
jaehyeon2650 6dd302e
feat(domain): Crews 이전 기록 조회 기능 추가
jaehyeon2650 17e5606
feat(view): OutputView 수정 결과 출력 기능 추가
jaehyeon2650 1b4ff93
feat(view): InputView 기능 추가
jaehyeon2650 c97e0e5
feat(domain): 출석 검증 추가
jaehyeon2650 c1a7a6b
feat(controller): AttendanceController 수정 기능 추가
jaehyeon2650 dd961bb
feat(domain): AttendanceResult enum 타입 추가
jaehyeon2650 ead7eb9
feat(domain): AttendanceHistory 정렬 기능 추가
jaehyeon2650 e5c3702
feat(domain): AttendanceStatus enum 클래스 생성
jaehyeon2650 3665500
feat(domain): AttendanceAnalyze 도메인 추가
jaehyeon2650 ea52c5d
feat(domain): AttendanceHistory 로직 추가
jaehyeon2650 31b1991
feat(domain): AttendanceHistories 로직 추가
jaehyeon2650 739a5dc
feat(domain): AttendanceHistories 로직 추가
jaehyeon2650 769ca2f
feat(domain): Crews 로직 추가
jaehyeon2650 59e6805
feat(domain): Crews 로직 추가
jaehyeon2650 1cb4c8e
feat(dto): 출석 기록 관련 dto 생성
jaehyeon2650 32ff7a3
feat(view): 이달의 출석 기록 출력 기능 추가
jaehyeon2650 bf2900e
feat(controller): 이달의 출석 기록 출력 기능 추가
jaehyeon2650 70a27ab
feat(domain): AttendanceAnalyze 제적 대상자인지 판별하는 로직 추가
jaehyeon2650 5ebef02
feat(domain): Crew 제적 대상자인지 확인하는 메서드 추가
jaehyeon2650 0967d3f
feat(domain): Crews 기능 추가
jaehyeon2650 de1cf12
feat(dto): 제적 위험자 dto 추가
jaehyeon2650 6261b91
feat(view): 제적 위험자 출력 기능 추가
jaehyeon2650 9dd9a18
feat(controller): 제적 위험자 출력 기능 추가
jaehyeon2650 5a5026c
feat(view): 에러 메시지 출력 기능 추가
jaehyeon2650 43080e8
feat(controller): 재입력 기능 추가
jaehyeon2650 e6049c5
feat(util): DateFormatter 생성
jaehyeon2650 9278d6e
refactor(util): FileReader 메서드 정리
jaehyeon2650 f71010d
refactor(constant,controller): Selection enum 생성 및 컨트롤러 리펙토링
jaehyeon2650 4796a7f
feat(InputView): 검증 기능 추가
jaehyeon2650 55c4d4c
refactor(view): outputView 줄바꿈 추가
jaehyeon2650 6d5ff82
refactor(domain): AttendanceHistories 메서드 추출
jaehyeon2650 8b7e334
refactor: 메서드 위치 정리 및 공백 수정
jaehyeon2650 2bfd29d
refactor(domain): AttendanceResult 상수화
jaehyeon2650 709486f
refactor(domain): Username 포장 객체 생성
jaehyeon2650 e274851
feat(config): Config 객체 생성
jaehyeon2650 4878eb9
refactor: 코드 컨벤션 정리
jaehyeon2650 d269b0e
refactor(domain): 이름 최대 글자 상수화
jaehyeon2650 6a98fe7
feat(constants): 캠퍼스 운영 시간 상수화
jaehyeon2650 60c85b2
fix(constants): 운영 시간 로직 버그 수정
jaehyeon2650 c5c5c65
refactor(constants): Holiday 필드 수정
jaehyeon2650 553c73a
docs(readme): 기능 최종 정리
jaehyeon2650 b691be1
docs: 템플릿 작성
jaehyeon2650 92b8a0d
refactor(domain): CampusOpenTime 패키지 이동
jaehyeon2650 1b72865
test(domain): Crew 도메인 테스트 추가
jaehyeon2650 145267e
refactor(domain): AttendanceAnalyze 인스턴스 변수 변경
jaehyeon2650 978a560
refactor(domain): CampusOpenTime 메서드 이름 변경
jaehyeon2650 8f36339
refactor(domain): 정렬 인터페이스 구현 삭제
jaehyeon2650 4f07f7b
refactor(domain): AttendanceHistories getBeforeAttendanceHistories 메서…
jaehyeon2650 7875674
refactor: Optional 메서드 메개변수 삭제
jaehyeon2650 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
refactor(domain): 정렬 인터페이스 구현 삭제
commit 8f36339b298340d362fc12d197e0e421f0bb0dbb
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Optional을 메서드 파라미터로 넘길 필요 없이 아래와 같이 findAny() 한 Optional 값을 mapping하고 없는 경우
AttendanceHistory(localDate, null)
를 생성해주면 되지 않을까요?더 나아가서 if 문에 로직이 너무 커지는 것 같은데
early return
을 활용해서 아래와 같이 개선해볼 수 있을 것 같아요.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.
위 자료에서 나온 내용이네요! 메서드 인자로 사용안하도록 변경해보도록 하겠습니다!