Skip to content

[#389][FIX] 모임별 약속 탭 카운트 및 전체 목록 조회 오류 수정#388

Merged
onuyyy merged 1 commit into
devfrom
fix/gathering-meeting-tab-counts
Apr 26, 2026
Merged

[#389][FIX] 모임별 약속 탭 카운트 및 전체 목록 조회 오류 수정#388
onuyyy merged 1 commit into
devfrom
fix/gathering-meeting-tab-counts

Conversation

@onuyyy
Copy link
Copy Markdown
Contributor

@onuyyy onuyyy commented Apr 26, 2026

PR 요약

  • 버그 수정

이슈 번호


주요 변경 사항

  • getMeetingTabCounts(): 탭 카운트 3개 수정
    • all: CONFIRMED만 → CONFIRMED + DONE 합산 (countByGatheringIdAndMeetingStatusIn 신규 추가)
    • upcoming: 3일 이내 제한 제거 → 전체 CONFIRMED 수 (countByGatheringIdAndMeetingStatus(CONFIRMED))
    • joined: DONE 참여만 → 전체 상태 참여 수 (countMeetingsByUserIdAndGatheringId 신규 추가)
  • getAllMeetingsPage(): filter=ALL 시 CONFIRMED만 → CONFIRMED + DONE 반환 (findByGatheringIdAndMeetingStatusIn 신규 추가)
  • getUpcomingMeetingsPage(): 3일 이내 제한 제거 → 전체 CONFIRMED 반환 (기존 findByGatheringIdAndMeetingStatus 재활용)
  • MeetingServiceTest: 변경된 로직에 맞게 mock 및 검증 업데이트

참고 사항

  • 수정 전 문제: all=0, done=8, joined=8all < joined 논리 불일치
  • 수정 후 보장: all = upcoming + done, joined ≤ all
  • 3개 이슈 동시 해결:
    1. 참여 약속 카운트 불일치 (all < joined)
    2. 탭 카운트와 실제 목록 수 불일치 (upcoming 3일 필터)
    3. ALL 탭에서 종료 약속 누락 (filter=ALL CONFIRMED만 반환)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@onuyyy onuyyy changed the title fix: 모임별 약속 탭 카운트 및 전체 목록 조회 오류 수정 [#389][FIX] 모임별 약속 탭 카운트 및 전체 목록 조회 오류 수정 Apr 26, 2026
@onuyyy onuyyy merged commit 7bf6d95 into dev Apr 26, 2026
1 check passed
@onuyyy onuyyy deleted the fix/gathering-meeting-tab-counts branch April 26, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant