refactor(admin-charge): QGetChargeStatusQueryDto의 currency가 null이 되지 않도록 coalesce("") 사용

This commit is contained in:
2025-10-11 04:52:58 +09:00
parent b5f66603bd
commit 3d29d27441

View File

@@ -48,7 +48,7 @@ class AdminChargeStatusQueryRepository(private val queryFactory: JPAQueryFactory
.and(charge.status.eq(ChargeStatus.CHARGE))
.and(payment.status.eq(PaymentStatus.COMPLETE))
)
.groupBy(formattedDate, payment.paymentGateway, currency)
.groupBy(formattedDate, payment.paymentGateway, currency.coalesce(""))
.orderBy(formattedDate.desc())
.fetch()
}