update 订单详情完成后,待结算金额,未扣除,已支付金额未增加问题修复

This commit is contained in:
yyb
2026-01-20 17:08:55 +08:00
parent d8d8a3da15
commit 6681a33940
3 changed files with 68 additions and 30 deletions

View File

@@ -419,7 +419,7 @@ public class MessageReceiver {
.id(leasePayWithdrawMessage.getId())
.amount(payWithdrawReturnMessage.getAmount().add(payWithdrawReturnMessage.getFee()))
.status(payWithdrawReturnMessage.getStatus())
.blockHeight(payWithdrawReturnMessage.getBlock_height())
.blockHeight(payWithdrawReturnMessage.getBlock_height() != null ? payWithdrawReturnMessage.getBlock_height() : 0)
.txHash(payWithdrawReturnMessage.getTx_hash())
.build());
}