Skip to content

Commit

Permalink
fix: 매칭 결과 캐시 웜업 시 결제 조건 검증 로직 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
23tae committed Dec 7, 2024
1 parent 8892739 commit 5cfbc25
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,14 @@ class UserTeamDao(
)
.from(userTeam)
.join(userTeam.team, meetingTeam)
.leftJoin(payment)
.join(payment)
.on(payment.meetingTeam.eq(meetingTeam))
.where(
meetingTeam.season.eq(season),
payment.meetingTeam.type.eq(userTeam.team.type),
payment.status.eq(PaymentStatus.SUCCESS)
)
.groupBy(userTeam.user.id, userTeam.team.type)
.having(payment.status.eq(PaymentStatus.SUCCESS).count().eq(payment.count()))
.fetch()
}
}

0 comments on commit 5cfbc25

Please sign in to comment.