From db0d3a6ef3142ef6758c58cbd1890a5c97d19ed5 Mon Sep 17 00:00:00 2001 From: Klaus Date: Sat, 11 Oct 2025 05:07:21 +0900 Subject: [PATCH] =?UTF-8?q?refactor(admin-charge):=20QGetChargeStatusQuery?= =?UTF-8?q?Dto=EC=9D=98=20currency=EA=B0=80=20null=EC=9D=B4=EB=A9=B4=20KRW?= =?UTF-8?q?=EB=A1=9C=20=EC=84=A4=EC=A0=95=EB=90=98=EB=8F=84=EB=A1=9D=20coa?= =?UTF-8?q?lesce("KRW")=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sodalive/admin/charge/AdminChargeStatusQueryRepository.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/admin/charge/AdminChargeStatusQueryRepository.kt b/src/main/kotlin/kr/co/vividnext/sodalive/admin/charge/AdminChargeStatusQueryRepository.kt index 84bd08e..2ba3e14 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/admin/charge/AdminChargeStatusQueryRepository.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/admin/charge/AdminChargeStatusQueryRepository.kt @@ -36,7 +36,7 @@ class AdminChargeStatusQueryRepository(private val queryFactory: JPAQueryFactory payment.price.sum(), payment.id.count(), payment.paymentGateway, - currency.coalesce("") + currency.coalesce("KRW") ) ) .from(payment) @@ -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.coalesce("")) + .groupBy(formattedDate, payment.paymentGateway, currency.coalesce("KRW")) .orderBy(formattedDate.desc()) .fetch() }