Skip to content

[Feat] doneStatus 컬럼 추가#222

Merged
JunbeomKoreaUniv merged 1 commit into
mainfrom
feat/schedule-done-status
May 25, 2025
Merged

[Feat] doneStatus 컬럼 추가#222
JunbeomKoreaUniv merged 1 commit into
mainfrom
feat/schedule-done-status

Conversation

@jjjh02

@jjjh02 jjjh02 commented May 25, 2025

Copy link
Copy Markdown
Contributor

추가한 코드

  • 비정상 종료 처리를 위해서 doneStatus 컬럼 추가

  • PUT /schedules/{scheduleId}/finish 로 latenesstime을 받을때, 아래와 같이 doneStatus에 저장됨

LATE        // 지각종료 - latenesstime > 0
NORMAL      // 지각 안 한 종료 - latenesstime = 0
ABNORMAL    // 비정상종료 - latenesstime = -2
NOT_ENDED    // 종료되지 않음 - latenesstime = -1

@jjjh02 jjjh02 changed the title [Feat] donestatus 컬럼 추가 [Feat] doneStatus 컬럼 추가 May 25, 2025

@JunbeomKoreaUniv JunbeomKoreaUniv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다.
구현하신 updateLatenessTime은 지금 사용 위치가 없는 것 같은데 차후에 추가할 예정인가요?

@jjjh02

jjjh02 commented May 25, 2025

Copy link
Copy Markdown
Contributor Author

원래 사용되었던 위치에 그대로 사용이 되고 내부 코드만 수정하였습니다.!
ScheduleService의 updateLatenessTime 메서드에서도 사용되고 있습니다

@JunbeomKoreaUniv

Copy link
Copy Markdown
Contributor

원래 사용되었던 위치에 그대로 사용이 되고 내부 코드만 수정하였습니다.! ScheduleService의 updateLatenessTime 메서드에서도 사용되고 있습니다

아하 그렇군요 수고하셨어요!!

@JunbeomKoreaUniv JunbeomKoreaUniv merged commit b7a7833 into main May 25, 2025
2 checks passed
@jjjh02 jjjh02 deleted the feat/schedule-done-status branch May 25, 2025 15:10
@jjjh02 jjjh02 mentioned this pull request May 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants