첫 충전 이벤트 - 본인인증한 전체 계정 중 첫 충전 시에만 첫충전 이벤트 적용 #15

Merged
klaus merged 2 commits from test into main 2023-08-24 16:26:56 +00:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit 65e0b87d79 - Show all commits

View File

@ -69,6 +69,7 @@ class ChargeQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) : Cha
.where( .where(
charge.member.id.eq(memberId) charge.member.id.eq(memberId)
.and(charge.createdAt.after(date)) .and(charge.createdAt.after(date))
.and(charge.status.eq(ChargeStatus.CHARGE))
.and(payment.status.`in`(PaymentStatus.COMPLETE, PaymentStatus.RETURN)) .and(payment.status.`in`(PaymentStatus.COMPLETE, PaymentStatus.RETURN))
) )
.fetch() .fetch()