관리자 캔 충전현황 #146

Merged
klaus merged 1 commits from test into main 2024-03-21 15:56:03 +00:00
1 changed files with 3 additions and 3 deletions

View File

@ -26,10 +26,10 @@ class AdminChargeStatusService(val repository: AdminChargeStatusQueryRepository)
val chargeStatusList = repository.getChargeStatus(startDate, endDate)
.asSequence()
.map {
val chargeAmount = if (it.paymentGateWay == PaymentGateway.APPLE_IAP) {
it.appleChargeAmount.toInt()
} else {
val chargeAmount = if (it.paymentGateWay == PaymentGateway.PG) {
it.pgChargeAmount
} else {
it.appleChargeAmount.toInt()
}
val chargeCount = it.chargeCount