유료라이브 캔 지불 여부 판단로직

- 환불된 건은 지불되지 않은 걸로 판단하도록 수정
This commit is contained in:
Klaus 2024-07-08 12:09:02 +09:00
parent c4e58890ea
commit e3bacfb8cb
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ class CanQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) : CanQue
member.id.eq(memberId)
.and(liveRoom.id.eq(roomId))
.and(useCan.canUsage.eq(CanUsage.LIVE))
.and(useCan.isRefund.isFalse)
)
.orderBy(useCan.id.desc())
.fetchFirst()