관리자 - 캔 충전현황
- 응답값에 화폐 locale 추가
This commit is contained in:
@@ -76,6 +76,7 @@ class AdminChargeStatusQueryRepository(private val queryFactory: JPAQueryFactory
|
||||
payment.method.coalesce(""),
|
||||
payment.price,
|
||||
can1.price,
|
||||
payment.locale,
|
||||
formattedDate
|
||||
)
|
||||
)
|
||||
|
@@ -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
|
||||
)
|
||||
}
|
||||
|
@@ -8,5 +8,6 @@ data class GetChargeStatusDetailQueryDto @QueryProjection constructor(
|
||||
val method: String,
|
||||
val appleChargeAmount: Double,
|
||||
val pgChargeAmount: Int,
|
||||
val locale: String,
|
||||
val datetime: String
|
||||
)
|
||||
|
@@ -5,5 +5,6 @@ data class GetChargeStatusDetailResponse(
|
||||
val nickname: String,
|
||||
val method: String,
|
||||
val amount: Int,
|
||||
val locale: String,
|
||||
val datetime: String
|
||||
)
|
||||
|
Reference in New Issue
Block a user