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

枚举对象获取bug修复

parent a4684d4a
...@@ -73,7 +73,7 @@ public class ConsumerConfig implements RabbitListenerConfigurer { ...@@ -73,7 +73,7 @@ public class ConsumerConfig implements RabbitListenerConfigurer {
|| FundingResult.FUAD_ASSIGN_SUCC.getCode().equals(noticeType)){ || FundingResult.FUAD_ASSIGN_SUCC.getCode().equals(noticeType)){
log.info("助贷资金路由有效MQ消息接收, 消息内容 : {} ",ms); log.info("助贷资金路由有效MQ消息接收, 消息内容 : {} ",ms);
String applyNo = jo.getJSONObject("data").getString("applyNo"); String applyNo = jo.getJSONObject("data").getString("applyNo");
iAidFundRouteRecordService.fundingResultNotity(applyNo,FundingResult.getAuditResultByDesc(noticeType)); iAidFundRouteRecordService.fundingResultNotity(applyNo,FundingResult.fromCode(noticeType));
log.info("助贷资金路由有效MQ消息处理结束, bizNo : {} ,noticeType : {} , 耗时 : {} ",applyNo,noticeType,stopwatch.stop().elapsed(TimeUnit.MILLISECONDS)); log.info("助贷资金路由有效MQ消息处理结束, bizNo : {} ,noticeType : {} , 耗时 : {} ",applyNo,noticeType,stopwatch.stop().elapsed(TimeUnit.MILLISECONDS));
} }
// 采用手动应答模式, 手动确认应答更为安全稳定 // 采用手动应答模式, 手动确认应答更为安全稳定
......
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