관리자 - 캔 충전현황

- 응답값에 화폐 locale 추가
This commit is contained in:
Klaus 2024-04-01 18:41:13 +09:00
parent b3b7ef90e8
commit 67457967c0
4 changed files with 4 additions and 0 deletions

View File

@ -76,6 +76,7 @@ class AdminChargeStatusQueryRepository(private val queryFactory: JPAQueryFactory
payment.method.coalesce(""),
payment.price,
can1.price,
payment.locale,
formattedDate
)
)

View File

@ -82,6 +82,7 @@ class AdminChargeStatusService(val repository: AdminChargeStatusQueryRepository)
nickname = it.nickname,
method = it.method,
amount = it.appleChargeAmount.toInt(),
locale = it.locale,
datetime = it.datetime
)
}

View File

@ -8,5 +8,6 @@ data class GetChargeStatusDetailQueryDto @QueryProjection constructor(
val method: String,
val appleChargeAmount: Double,
val pgChargeAmount: Int,
val locale: String,
val datetime: String
)

View File

@ -5,5 +5,6 @@ data class GetChargeStatusDetailResponse(
val nickname: String,
val method: String,
val amount: Int,
val locale: String,
val datetime: String
)