Skip to content

feat: 사장님 전용 주문 가능상점 조회 API 추가 - #2447

Merged
Soundbar91 merged 4 commits into
feature/2444-shop-open-statusfrom
feature/2446-owner-orderable-shops
Sep 22, 2026
Merged

Soundbar91 merged 4 commits into
feature/2444-shop-open-statusfrom
feature/2446-owner-orderable-shops

Conversation

@Soundbar91

Copy link
Copy Markdown
Collaborator

🔍 개요


🚀 주요 변경 내용

image
  • GET /owner/order/shops — 사장님이 가진 주문 가능 상점 목록을 조회합니다. 주문 가능 상점 ID, 상점 ID, 이름, 주소, 현재 영업 여부를 반환합니다.
  • 기존 /owner/shops는 상점 ID와 이름만 내려주어 이후 POS API에 필요한 주문 가능 상점 ID를 얻을 수 없었습니다.
  • POS API 경로를 /owner/order/shop/{orderableShopId}/...로 옮겼습니다. 기존 경로는 /owner/shops/{id}가 상점 ID를 받는 자리에 주문 가능 상점 ID를 받고 있어, 둘 다 작은 정수라 잘못 넣어도 조용히 다른 상점이 조회될 수 있었습니다. 고객용 /order/shop/{orderableShopId}와 같은 형태로 맞춰 구분합니다.

💬 참고 사항


✅ Checklist (완료 조건)

  • 코드 스타일 가이드 준수
  • 테스트 코드 포함됨
  • Reviewers / Assignees / Labels 지정 완료
  • 보안 및 민감 정보 검증 (API 키, 환경 변수, 개인정보 등)

Soundbar91 and others added 2 commits September 21, 2026 21:38
/owner/shops/{id}는 shopId를 받는데 POS API는 같은 자리에서
orderableShopId를 받아, 다른 종류의 식별자가 한 경로에 섞여 있었다.
둘 다 작은 정수라 잘못 넣어도 조용히 다른 가게가 조회될 수 있다.
고객용 /order/shop/{orderableShopId}와 같은 형태로 맞춰 구분한다.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
POS 로그인 후 매장 선택 화면에 필요한 목록을 반환한다.
기존 /owner/shops는 shopId와 이름만 내려주어 이후 POS API에 필요한
orderable_shop_id와 주소, 영업 여부를 얻을 수 없었다.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Soundbar91 Soundbar91 self-assigned this Sep 21, 2026
@coderabbitai

coderabbitai Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: b89610d0-deb4-4369-a561-fce4408fee8f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added Team Business 비즈니스 팀에서 작업할 이슈입니다 기능 새로운 기능을 개발합니다. labels Sep 21, 2026
@Soundbar91 Soundbar91 changed the title Feature/2446 owner orderable shops feat: 사장님 전용 주문 가능상점 조회 API 추가 Sep 21, 2026
Soundbar91 and others added 2 commits September 21, 2026 21:59
목록과 상세 응답에 order_type을 추가한다.
기존 구현은 배달 정보를 널 검사 없이 꺼내 포장 주문이 들어오면 터졌고,
완료 탭에 포장 완료와 포장 수령이 빠져 있어 포장 주문이 조리중 이후
어느 탭에도 보이지 않았다.

유형별 연관관계 탐색을 Order 안으로 옮기고, 각 유형이 가질 수 있는 상태를
OrderType이 알도록 하여 유형에 맞지 않는 전이를 막는다.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…onse

feat: 주문 응답에 배달/포장 유형 추가하고 포장 주문 처리
@Soundbar91
Soundbar91 merged commit df077fa into feature/2444-shop-open-status Sep 22, 2026
4 checks passed
@Soundbar91
Soundbar91 deleted the feature/2446-owner-orderable-shops branch September 22, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Team Business 비즈니스 팀에서 작업할 이슈입니다 기능 새로운 기능을 개발합니다.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant