Skip to content

Conversation

@Yujin1219
Copy link
Member

@Yujin1219 Yujin1219 commented Oct 28, 2025

#️⃣ 연관된 이슈

📝 미션 번호

6주차 Misson 6

📋 구현 사항

  • QueryDSL 설정
  • 내가 작성한 리뷰 보기 API, QueryDSL로 구현 (가게별, 별점별)
    • 내가 작성한 리뷰를 조건(region, rate)에 따라 조회하는 쿼리
    • BooleanBuilder로 동적 where 절 구성 → null 조건은 자동 제외
    • 별점(rate)은 정수 단위(3점대, 4점대 등)로 필터링
      → goe(rate)(이상) + lt(rate+1)(미만) 사
    • fetchJoin(store) 적용 → 가게 정보 N+1 문제 방지
    • 반환 타입은 Review 엔티티
      → 이미지(N+1) 문제를 피하기 위해 이미지 매핑은 나중(Service)에서 처리
image image
  • 시니어 미션 - 검색 API 구현
image

📌 PR 포인트

✅ 체크리스트

  • Reviewer에 파트장을 선택 했나요?
  • Assignees에 본인을 선택 했나요?
  • Merge 하려는 브랜치가 올바르게 설정되어 있나요?
  • 컨벤션을 지키고 있나요?
  • 로컬에서 실행했을 때 에러가 발생하지 않나요?
  • 불필요한 주석이 제거되었나요?
  • 코드 스타일이 일관적인가요?

🤔 질문 & 고민

@Yujin1219 Yujin1219 self-assigned this Oct 28, 2025
@Yujin1219 Yujin1219 added the ✨ Feature 기능 개발 label Oct 28, 2025
@Yujin1219 Yujin1219 linked an issue Oct 28, 2025 that may be closed by this pull request
3 tasks
@Yujin1219 Yujin1219 merged commit 7a89cc1 into main Oct 28, 2025
1 check passed
@Yujin1219 Yujin1219 deleted the Week6 branch October 28, 2025 01:30
@ggamnunq
Copy link

👍 좋습니다~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feature 기능 개발

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[✨ Feat] 6주차-QueryDSL 추가 학습

3 participants