Refactor: Store 응답 필드에 학과 이름 추가#133
Conversation
|
Caution Review failedAn error occurred during the review process. Please try again later. """ Walkthrough이번 변경 사항은 매장(스토어) 관련 API의 페이징 및 부서(Department) 정보를 포함한 조회 기능을 확장하고, 관련 DTO 및 서비스 계층을 개선하는 내용입니다. 또한, 이미지 및 부서 조회를 위한 레포지토리 메서드가 추가되고, 기존 DTO와 서비스 메서드 일부가 리팩토링되었습니다. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant StoreController
participant StoreServiceImpl
participant StoreRepository
participant StoreImageRepository
participant DepartmentRepository
Client->>StoreController: GET /all-stores/infinite-scroll?page=...
StoreController->>StoreServiceImpl: getAllStoresByPageAndDeparments(pageable)
StoreServiceImpl->>StoreRepository: findAll(pageable)
StoreServiceImpl->>StoreImageRepository: findByStore_StoreIdIn(storeIds)
StoreServiceImpl->>DepartmentRepository: findAllById(departmentIds)
StoreServiceImpl-->>StoreController: StoreDepartmentReadResponse
StoreController-->>Client: 응답 반환
Estimated code review effort3 (~45분) Possibly related PRs
Suggested labels
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
작업 요약
Issue Link
#132
문제점 및 어려움
해결 방안
Reference
Summary by CodeRabbit
신규 기능
기능 개선
버그 수정/기타