[ATT] #194 #195 #196 - 반복 근무 일정 특정 날짜 휴무 처리 - #197
Merged
Merged
Conversation
jyt6640
marked this pull request as ready for review
May 12, 2026 01:45
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
관련 이슈
closes #194
closes #196
closes #195
작업 내용
WorkScheduleEvent를 날짜별 근무 override로 확장WorkScheduleEventType.WORKING/DAY_OFF추가WORKING으로 하위 호환 유지DAY_OFF는 시작/종료 시간 없이 생성 가능V23__add_work_schedule_event_type.sql추가event_type컬럼 추가 (DEFAULT WORKING)start_time,end_timenullable 변경reason컬럼 추가WorkScheduleEventRequest/WorkScheduleEventResponse에eventType반영AttendanceExceptionService에서DAY_OFF를 반복 일정보다 우선하는 명시적 휴무로 처리MISSED_CHECK_IN미생성NO_SCHEDULE생성AttendanceSettlementService에서DAY_OFF를 정산 대상에서 제외NO_SCHEDULEscheduledDays/ 지각비 집계에서 제외정책 결정
NO_SCHEDULE예외 생성DAY_OFF이벤트 삭제 시 별도 복구 로직 없이 기존 반복 일정이 다시 조회되도록 유지eventType미지정 요청은WORKING으로 처리체크리스트
AttendanceApplicationTests.contextLoads()에서 Testcontainers/Docker 클라이언트 초기화 실패로 1건 실패검증
./gradlew test --tests "com.yanus.attendance.attendance.application.WorkScheduleEventServiceTest"./gradlew test --tests "com.yanus.attendance.attendance.application.AttendanceExceptionServiceTest"./gradlew test --tests "com.yanus.attendance.attendance.application.AttendanceSettlementServiceTest"./gradlew test --tests "com.yanus.attendance.attendance.application.WorkScheduleEventServiceTest" --tests "com.yanus.attendance.attendance.application.AttendanceExceptionServiceTest" --tests "com.yanus.attendance.attendance.application.AttendanceSettlementServiceTest"./gradlew test— 245 tests 중 244 passed, 1 failed (AttendanceApplicationTests.contextLoads, Docker/Testcontainers 환경 문제)프론트 영향
eventType을 보낼 수 있음eventType: "DAY_OFF",startTime/endTime생략 가능eventType: "WORKING",startTime/endTime필수eventType이 포함됨eventType을 보내지 않는 기존 WORKING 요청은 계속 동작함