Merge pull request '관리자 캔 충전현황' (#146) from test into main
Reviewed-on: #146
This commit is contained in:
commit
d3222ce083
|
@ -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.APPLE_IAP) {
|
val chargeAmount = if (it.paymentGateWay == PaymentGateway.PG) {
|
||||||
it.appleChargeAmount.toInt()
|
|
||||||
} else {
|
|
||||||
it.pgChargeAmount
|
it.pgChargeAmount
|
||||||
|
} else {
|
||||||
|
it.appleChargeAmount.toInt()
|
||||||
}
|
}
|
||||||
|
|
||||||
val chargeCount = it.chargeCount
|
val chargeCount = it.chargeCount
|
||||||
|
|
Loading…
Reference in New Issue