-
Notifications
You must be signed in to change notification settings - Fork 0
[BE] 매출 지표 response dto 필드 추가 #298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+107
−42
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
4eeeba4
feat: 피크타임 projection 운영주차 추가
22DT 2306b43
feat: 주문 수단에 기타 추가
22DT 0d56f19
feat: 피크타임 비교기간 조회 쿼리 수정
22DT 1800476
refactor: 피크타임 item 주문건수, 실매출 double로 수정
22DT 2dc7480
refactor: 대시보드 피크타임 response dto 수정
22DT 6bdb32b
feat: 상세분석 피크타임 response dto 비교기간 및 필드 추가
22DT 37c73b5
feat: 피크타임 processor 수정
22DT c984256
feat: 식자재 등록 유무 쿼리 추가
22DT 48117fd
feat: 식자재 등록 유무 필드 추가
22DT 869b44f
Merge branch 'develop' of https://github.com/softeerbootcamp-7th/Team…
22DT f1a8449
fix: 인기 메뉴 조합 분석 시 데이터 없을 경우 500 에러 발생 문제 수정
22DT File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
10 changes: 9 additions & 1 deletion
10
...java/com/checkmate/backend/domain/analysis/dto/response/sales/DetailPeakTimeResponse.java
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,16 @@ | ||
| package com.checkmate.backend.domain.analysis.dto.response.sales; | ||
|
|
||
| import com.checkmate.backend.domain.analysis.dto.response.DetailAnalysisResponse; | ||
| import com.checkmate.backend.domain.analysis.enums.ShiftDirection; | ||
| import java.util.List; | ||
|
|
||
| /** SLS_13_01 (피크타임) */ | ||
| public record DetailPeakTimeResponse(List<PeakTimeItem> items // 시간대별 주문건수 및 실매출 | ||
| public record DetailPeakTimeResponse( | ||
| List<PeakTimeItem> todayItems, | ||
| List<PeakTimeItem> week4Items, | ||
| Integer todayPeak, // 오늘 peak 시간 | ||
| Integer comparisonPeak, // 비교 기간 peak 시간 | ||
| Integer diff, // |todayPeak - comparisonPeak| | ||
| ShiftDirection shiftDirection, // 비교 기간 대비 peak 이동 방향 | ||
| boolean beforeComparisonPeak // 현재 시간이 비교 기간 peak 이전인지 | ||
| ) implements DetailAnalysisResponse {} |
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
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
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
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P4: long에서 double로 변경한 이유가 있을까요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
평균을 보내줘야 해서 double로 수정했습니다!