feat(report): 총 기록 일수 계산 방식 변경 #89
Merged
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.
📝 요약(Summary)
총 기록 일수를 첫 답변 이후 경과 일수에서 실제 답변 작성한 날짜의 개수로 계산 방식을 변경하였습니다.
또한 추가적으로 Repository 쿼리를 하나로 간소화할 수 있는 것을 발견하여 findAllAnswerDatesByUserId로 모든 답변 날짜를 조회한 후 필요한 값을 필터링하는 식으로 로직을 짰습니다.
🔗 Related Issue
💬 공유사항
✅ PR Checklist
PR이 다음 요구 사항을 충족하는지 확인하세요.