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

This commit is contained in:
Klaus 2023-08-25 01:17:06 +09:00
parent eab9ac5f05
commit 65e0b87d79
1 changed files with 1 additions and 0 deletions

View File

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