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