Compare commits

..

No commits in common. "d3222ce08348fdc4006622fbf786568aebd72bc5" and "406a421742770017e0b7fdce9ba4ac9504273520" have entirely different histories.

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) val chargeStatusList = repository.getChargeStatus(startDate, endDate)
.asSequence() .asSequence()
.map { .map {
val chargeAmount = if (it.paymentGateWay == PaymentGateway.PG) { val chargeAmount = if (it.paymentGateWay == PaymentGateway.APPLE_IAP) {
it.pgChargeAmount
} else {
it.appleChargeAmount.toInt() it.appleChargeAmount.toInt()
} else {
it.pgChargeAmount
} }
val chargeCount = it.chargeCount val chargeCount = it.chargeCount