|
|
|
@ -28,11 +28,11 @@ public class WithdrawAuditEventHandler extends BaseApplicationService { |
|
|
|
WithdrawAudit withdrawAudit = withdrawAuditDao.selectById(event.getId()); |
|
|
|
if (WithdrawAuditStatus.PASS_VERIFICATION.equals(withdrawAudit.getStatus())) { |
|
|
|
walletAccountApplicationService.confirmWithdraw(withdrawAudit.getWalletAccountId(), withdrawAudit.getWithdrawAmount()); |
|
|
|
}else if (WithdrawAuditStatus.AUDIT_FAILURE.equals(withdrawAudit.getStatus())) { |
|
|
|
} else if (WithdrawAuditStatus.AUDIT_FAILURE.equals(withdrawAudit.getStatus())) { |
|
|
|
walletAccountApplicationService.failWithdraw(withdrawAudit.getWalletAccountId(), withdrawAudit.getWithdrawAmount()); |
|
|
|
} |
|
|
|
} catch (Exception e) { |
|
|
|
log.error("提现申请审核事件处理异常"); |
|
|
|
log.error("提现申请审核事件处理异常", e); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|