diff --git a/app/src/main/java/com/gamedog/vididin/beans/RecordCash.kt b/app/src/main/java/com/gamedog/vididin/beans/RecordCash.kt index 85e89d1..906e447 100644 --- a/app/src/main/java/com/gamedog/vididin/beans/RecordCash.kt +++ b/app/src/main/java/com/gamedog/vididin/beans/RecordCash.kt @@ -52,6 +52,8 @@ fun RecordCash.toShowBean(): RecordCashShow { this@apply.dateMs = this@toShowBean.dateMs this@apply.amountNum = this@toShowBean.amountNum this@apply.recordType = this@toShowBean.recordType + this@apply.withdrawState = this@toShowBean.withdrawState + this@apply.withdrawFailType = this@toShowBean.withdrawFailType when (this@apply.recordType) { RECORD_CASH_PLUS_GOLD_CONVERT -> { @@ -76,6 +78,7 @@ fun RecordCash.toShowBean(): RecordCashShow { } RECORD_CASH_WITHDRAW -> { + this@apply.amountNum = -this@toShowBean.amountNum when (withdrawState) { TRANSACTION_STATE_ONGOING -> { title = R.string.record_cash_title_withdraw_ongoing