test #349

Merged
klaus merged 4 commits from test into main 2025-10-10 20:49:53 +00:00
Showing only changes of commit db0d3a6ef3 - Show all commits

View File

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