Skip to content
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

[Fix] 타이머 요일 정렬해서 저장 #207

Merged
merged 2 commits into from
Jan 19, 2024
Merged

[Fix] 타이머 요일 정렬해서 저장 #207

merged 2 commits into from
Jan 19, 2024

Conversation

mmihye
Copy link
Member

@mmihye mmihye commented Jan 19, 2024

🚩 관련 이슈

📋 구현 기능 명세

  • 타이머 요일 정렬해서 저장

📌 PR Point

  • 무슨 이유로 어떻게 코드를 변경했는지
    타이머 조회할때 요일이 정렬되지않으면 정렬되어 나타나서 정렬하여 저장하는 로직으로 변경했습니다.

  • 어떤 부분에 리뷰어가 집중해야 하는지

  • 개발하면서 어떤 점이 궁금했는지

📸 결과물 스크린샷

결과 예시 사진 첨부

🛠️ 테스트

  • 테스트

🚀 API Endpoint

  • baseurl/timer
  • baseurl/datetime/{timerId}

@mmihye mmihye added the 🐞 fix Something isn't working label Jan 19, 2024
@mmihye mmihye requested a review from sss4920 January 19, 2024 12:55
@mmihye mmihye self-assigned this Jan 19, 2024
@mmihye mmihye changed the base branch from develop to test January 19, 2024 12:55
Copy link
Contributor

@sss4920 sss4920 left a comment

Choose a reason for hiding this comment

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

굿굿

@@ -70,6 +70,8 @@ public void createTimer(Long userId, CreateTimerRequestDto createTimerRequestDto
throw new CustomException(Error.UNPROCESSABLE_CREATE_TIMER_EXCEPTION, Error.UNPROCESSABLE_CREATE_TIMER_EXCEPTION.getMessage());
}

createTimerRequestDto.remindDates().sort(Comparator.naturalOrder());
Copy link
Contributor

Choose a reason for hiding this comment

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

오..naturalOrder 이런 것도 있군요 찾아보겠습니다. 저도..!

@sss4920 sss4920 merged commit 401bfb0 into test Jan 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 fix Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Fix] 타이머 날짜 정렬해서 저장
2 participants