Skip to content

[FIX] 챌린지 실패 시 결제 내역 조회 쿼리 수정#218

Merged
Moon0116 merged 2 commits intodevelopfrom
fix/217
Aug 19, 2025
Merged

[FIX] 챌린지 실패 시 결제 내역 조회 쿼리 수정#218
Moon0116 merged 2 commits intodevelopfrom
fix/217

Conversation

@Moon0116
Copy link
Copy Markdown
Contributor

📌 관련 이슈

closed #217

✨ 내용

  • 챌린지 실패 페이지에서 실패 원인이 된 결제 내역이 조회되지 않음

  • 기존 쿼리가 너무 복잡하고 제한적인 조건으로 인해 빈 결과 반환 (마지막 날짜만 조회하는 쿼리였음)

  • getFailExpenditures 쿼리 단순화 및 최적화

  • 복잡한 서브쿼리와 날짜 제약 조건 제거

  • 최근 1일간의 해당 카테고리 내역 조회로 변경

@Moon0116 Moon0116 self-assigned this Aug 19, 2025
@Moon0116 Moon0116 added the 🐞bugfix Something isn't working label Aug 19, 2025
@Moon0116 Moon0116 linked an issue Aug 19, 2025 that may be closed by this pull request
Copy link
Copy Markdown

@hoonssac hoonssac left a comment

Choose a reason for hiding this comment

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

오 쿼리가 훨씬 간결해졌네요! 고생하셨습니다.

@Moon0116 Moon0116 merged commit 0c32d71 into develop Aug 19, 2025
2 checks passed
@Moon0116 Moon0116 deleted the fix/217 branch August 19, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞bugfix Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FIX] 챌린지 실패 시 관련 결제 내역 조회 기능 수정

3 participants