Skip to content
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

feature: 모든 상점 조회 API에 혜택 상세 필드 추가 #1121

Merged
merged 8 commits into from
Dec 6, 2024

Conversation

20HyeonsuLee
Copy link
Contributor

🔥 연관 이슈

🚀 작업 내용

  1. 모든 상점 조회 API에 혜택 상세 필드를 추가했습니다.

💬 리뷰 중점사항

@20HyeonsuLee 20HyeonsuLee self-assigned this Dec 5, 2024
@github-actions github-actions bot added the 기능 새로운 기능을 개발합니다. label Dec 5, 2024
Copy link

github-actions bot commented Dec 5, 2024

Unit Test Results

343 tests  +1   342 ✔️ +1   1m 20s ⏱️ -8s
  41 suites ±0       1 💤 ±0 
  41 files   ±0       0 ±0 

Results for commit 0b8fb6f. ± Comparison against base commit f9a8828.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@BaeJinho4028 BaeJinho4028 left a comment

Choose a reason for hiding this comment

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

뭔가 들여쓰기가 어긋나있네요. 공백문자 4개인데 지금 8개로 설정되어있는 것 같아요. 이것만 체크하고 머지해주세요

Comment on lines +71 to +73
ShopsSortCriteria sortBy,
List<ShopsFilterCriteria> filterCriteria,
String query
Copy link
Collaborator

Choose a reason for hiding this comment

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

여기 공백이 생겼어요

Comment on lines +95 to +101
shopCaches.shopCaches(),
shopInfoMap,
sortBy,
filterCriteria,
now,
query,
benefitDetailMap
Copy link
Collaborator

Choose a reason for hiding this comment

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

여기도 동일하게 공백이 생겼습니다.

Comment on lines -162 to +169
reviewCount
reviewCount,
benefitDetails
Copy link
Collaborator

Choose a reason for hiding this comment

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

여기도 뭔가 추가적인 공백이있는것같아요

Comment on lines +1926 to +1938
get("/v2/shops")
.queryParam("sorter", "COUNT_DESC")
)
.andExpect(status().isOk())
.andExpect(content().json(String.format("""
{
"count": 2,
"shops": [
{
"category_ids": [
\s
],
"delivery": true,
Copy link
Collaborator

Choose a reason for hiding this comment

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

여기도 체크해주세요

Copy link
Contributor

@krSeonghyeon krSeonghyeon left a comment

Choose a reason for hiding this comment

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

고생하셨습니다. 멀티라인 문자열 적용 고려해주세요!

@@ -10,5 +11,10 @@ public interface BenefitCategoryMapRepository extends Repository<BenefitCategory

List<BenefitCategoryMap> findAllByBenefitCategoryId(Integer benefitCategoryId);

@Query("SELECT bcm FROM BenefitCategoryMap bcm " +
"JOIN FETCH bcm.shop s " +
"JOIN FETCH bcm.benefitCategory bc")
Copy link
Contributor

Choose a reason for hiding this comment

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

멀티라인 문자열을 사용하면 더 좋을 거 같네요

@20HyeonsuLee 20HyeonsuLee merged commit f3fecd8 into develop Dec 6, 2024
4 checks passed
@20HyeonsuLee 20HyeonsuLee deleted the feature/1120-shops-benefit-new branch December 6, 2024 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
기능 새로운 기능을 개발합니다.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

모든 상점 조회에 혜택 필드 추가
7 participants