Commit 04daa939 authored by 张庆's avatar 张庆

新增MQ

parent 479589a0
......@@ -52,7 +52,7 @@ public class CreditResultListener extends AbstractMQConsumerHandler<CreditResult
if ("RETRIAL" .equalsIgnoreCase(creditResultModel.getCreditStatus())) {
update.setCreditResult(CreditResultStatusEnum.INIT.getCode());
}
if ("REJECT" .equalsIgnoreCase(creditResultModel.getCreditStatus())) {
if ("NO" .equalsIgnoreCase(creditResultModel.getCreditStatus())) {
update.setCreditResult(CreditResultStatusEnum.REFUSED.getCode());
creditDetailResponse.setStatus("2");
}
......
......@@ -48,7 +48,7 @@ public class LoanResultListener extends AbstractMQConsumerHandler<CreditResultMo
byOrderNo.setLoanCreditResult(CreditResultStatusEnum.INIT.getCode());
response.setStatus(0);
}
if ("REJECT".equalsIgnoreCase(creditResultModel.getCreditStatus())) {
if ("NO".equalsIgnoreCase(creditResultModel.getCreditStatus())) {
byOrderNo.setLoanCreditResult(CreditResultStatusEnum.REFUSED.getCode());
response.setStatus(2);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment