Skip to content

Conversation

@chaiminwoo0223
Copy link
Contributor

@chaiminwoo0223 chaiminwoo0223 commented Oct 17, 2025

📌 작업 내용 및 특이사항

✅ 여행 회고 응답 DTO 수정

  • 여행 회고 응답 DTO에 List<Long> studyLogIds를 추가
  • 여행 리포트 생성 API에서 요청 값 생성할 때, 기존 방식은 무한 스크롤을 이용해 StudyLogId 목록을 전달하는 방식 사용
  • 하지만, 여행 회고 응답 DTO에 List<Long> studyLogIds를 같이 전달하여, 해당 문제를 해결하고 UX를 향상시킴

✅ StudyLogId 목록 조회 메서드 추가

  • StudyLogQueryRepository, StudyLogQueryRepositoryAdapterfindAllIdsByTripIdOrderByCreatedDesc 메서드 추가
  • StudyLogQueryServicegetStudyLogIdsByTripId 메서드 추가

✅ DTO 수정

  • TripRetrospectSummaryList<Long> studyLogIds 추가
  • LoadTripRetrospectDetailResponseList<Long> studyLogIds 추가

✅ 테스트

  • StudyLogQueryServiceTestGetStudyLogIdsByTripId 단위 테스트 추가
  • TripReportControllerIntegrationTest에서 LoadTripRetrospect 통합 테스트 수정

🌱 관련 이슈


🔍 참고사항(선택)


📚 기타(선택)

* feat: StudyLogQueryRepository, StudyLogQueryRepositoryAdapter에 findAllIdsByTripIdOrderByCreatedDesc 메서드 추가
* feat: StudyLogQueryService에 getStudyLogIdsByTripId 메서드 추가

* refactor: TripRetrospectSummary에 List<Long> studyLogIds 추가
* refactor: LoadTripRetrospectDetailResponse에 List<Long> studyLogIds 추가

* test: StudyLogQueryServiceTest에 GetStudyLogIdsByTripId 단위 테스트 추가
* test: TripReportControllerIntegrationTest에서 LoadTripRetrospect 통합 테스트 수정
@chaiminwoo0223 chaiminwoo0223 self-assigned this Oct 17, 2025
@chaiminwoo0223 chaiminwoo0223 added the 🪄refactor 기능 개선 및 리팩토링 label Oct 17, 2025
Copy link
Contributor

@hisonghy hisonghy left a comment

Choose a reason for hiding this comment

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

고생하셨어요
병합부탁드려요~

@chaiminwoo0223 chaiminwoo0223 merged commit 475570f into develop Oct 17, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🪄refactor 기능 개선 및 리팩토링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🪄[REFACTOR]: 여행 회고 응답 DTO에 StudyLogId 목록 추가

3 participants