test #156
|
@ -76,6 +76,7 @@ class AdminChargeStatusQueryRepository(private val queryFactory: JPAQueryFactory
|
|||
payment.method.coalesce(""),
|
||||
payment.price,
|
||||
can1.price,
|
||||
payment.locale.coalesce(""),
|
||||
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
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue