Skip to content

[Feat] 운영 결제·크레딧 읽기 전용 대조 명령 구현 - #118

Merged
ww123ok merged 4 commits into
developfrom
feat/117-payment-credit-inspection
Oct 30, 2026
Merged

ww123ok merged 4 commits into
developfrom
feat/117-payment-credit-inspection

Conversation

@ww123ok

@ww123ok ww123ok commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

PULL REQUEST

🎋 작업 브랜치

💡 작업동기

결제 취소·미확정 주문을 확인할 때 주문과 지급·원장·예약·보류를 각각 수동 SQL로 조회해야 했습니다. 주문 UUID 하나로 내부 기록을 같은 시점에서 대조하는 읽기 전용 명령을 추가했습니다.

🔑 주요 변경사항

  • --payment-inspect=order --order-id=<UUID> 단발 JAR 명령과 입력·대상 DB 검증 추가
  • 구매분과 계정 전체 잔액을 구분하고 지급 출처·소유권·원장·예약 배분·보류·통보 금액 대조
  • 읽기 전용 REPEATABLE_READ 스냅샷과 조회 수·결과 행·시간 제한 적용
  • 내부 대조 결과를 CONSISTENT/UNCONFIRMED/REVIEW_REQUIRED로 구분하고 비밀값 없는 JSON 출력
  • 운영 실행 방법과 결과 해석 문서 추가

🏞 스크린샷 (선택)

없음

💬 리뷰 요구사항 (선택)

혼합 예약에서 해당 구매분만 집계하는 부분과 하나의 읽기 전용 스냅샷을 유지하는 부분을 확인 부탁드립니다. 내부 DB의 일치가 페이앱 결제·환불 완료를 증명하지 않으며, 회수·환불·보류 해제는 별도 구현 범위입니다.

@ww123ok
ww123ok requested a review from befur1 October 30, 2026 19:06
@ww123ok ww123ok self-assigned this Oct 30, 2026
@ww123ok ww123ok added the FEAT label Oct 30, 2026
@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@ww123ok
ww123ok merged commit 4204299 into develop Oct 30, 2026
3 checks passed
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.

[FEAT] 운영 결제·크레딧 대조 조회 명령 구현

1 participant