Conversation
|
Caution Review failedThe pull request is closed. Walkthrough인기 메뉴 DTO에 imageUrl 필드를 추가하고, 인기 메뉴 조회 서비스에서 메뉴 이미지(첫 번째 이미지)를 조회해 DTO에 포함하도록 로직을 확장했다. MenuImageRepository에 일괄 조회 메서드를 추가했다. 통계 커스텀 리포지터리에서 전일 매출 합계 계산 구간을 [start-1day, start)로 정정했다. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant AdminClient as Admin Client
participant Service as PopularMenuRedisServiceImpl
participant Redis as Redis/ZSet
participant Repo as MenuImageRepository
AdminClient->>Service: getTop5PopularMenus(storeId, date)
Service->>Redis: ZREVRANGE top-5 (store/date)
Redis-->>Service: [(menuId, sold), ...]
Service->>Repo: findByMenuIdInOrderByIdAsc(menuIds)
Repo-->>Service: List<MenuImage> (정렬됨)
Note over Service: 메뉴별 첫 이미지 URL 매핑 (신규)
Service-->>AdminClient: List<PopularMenuDto(menuId, name, sold, imageUrl)
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (4)
✨ Finishing Touches
🧪 Generate unit tests
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. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
작업 요약
Issue Link
#308
문제점 및 어려움
해결 방안
Reference
Summary by CodeRabbit