Merged
Conversation
|
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.



Summary
GET /history(학습/활동) 조회 시 500 오류 발생 버그 수정(:startDate IS NULL OR h.createdAt >= :startDate)패턴 사용 시 PostgreSQL이null파라미터의 타입을 추론하지 못해ERROR: could not determine data type of parameter $7발생Changes
HistoryRepository:IS NULL조건 제거, 날짜 유무에 따른 전용 메서드 추가 (findHistoryIdsByActionTypes,findHistoryIdsExcludingContentLiked,findAllHistoryIds)HistoryService: null 날짜 여부에 따라 적절한 레포지토리 메서드 호출로 분기HistoryServiceTest: 변경된 메서드 시그니처에 맞게 mock 기댓값 수정Test plan
HistoryServiceTest전체 통과 확인./gradlew build성공 확인GET /history학습/활동 탭 정상 조회 확인Fixes: 학습/활동 히스토리 500 오류 (배지 탭은 날짜 파라미터 없어서 정상 작동)