Commit 0fa4a368 authored by data-爬虫-任锋's avatar data-爬虫-任锋

资方审核拒绝状态mq消息类型添加

parent 1ffccaef
...@@ -68,6 +68,7 @@ public class ConsumerConfig implements RabbitListenerConfigurer { ...@@ -68,6 +68,7 @@ public class ConsumerConfig implements RabbitListenerConfigurer {
JSONObject jo = JSONObject.parseObject(ms); JSONObject jo = JSONObject.parseObject(ms);
String noticeType = jo.getString("noticeType"); String noticeType = jo.getString("noticeType");
if(FundingResult.REJECT.getCode().equals(noticeType) if(FundingResult.REJECT.getCode().equals(noticeType)
|| FundingResult.HANG_UP.getCode().equals(noticeType)
|| FundingResult.CANCEL_LOAN.getCode().equals(noticeType) || FundingResult.CANCEL_LOAN.getCode().equals(noticeType)
|| FundingResult.FUAD_ASSIGN_SUCC.getCode().equals(noticeType)){ || FundingResult.FUAD_ASSIGN_SUCC.getCode().equals(noticeType)){
log.info("助贷资金路由有效MQ消息接收, 消息内容 : {} ",ms); log.info("助贷资金路由有效MQ消息接收, 消息内容 : {} ",ms);
......
...@@ -24,6 +24,8 @@ public enum FundingResult{ ...@@ -24,6 +24,8 @@ public enum FundingResult{
REJECT("REJECT","分配资方失败"), REJECT("REJECT","分配资方失败"),
HANG_UP("HANG_UP","资方审核拒绝后挂起"),
FUND_FAIL("FUND_FAIL", "放款失败"), FUND_FAIL("FUND_FAIL", "放款失败"),
REPAYMENT("REPAYMENT", "还款成功"); REPAYMENT("REPAYMENT", "还款成功");
......
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