提交 35f48bba authored 作者: 马路路's avatar 马路路

内部上报--履约进度表--关联异常信息--打印日志-1

上级 5afea70b
......@@ -709,6 +709,12 @@ public class PerformanceProgressServiceImpl implements PerformanceProgressServi
// 以订单编号作为key,多条异常上报信息作为value,构建map集合
Map<String, List<InternalReportRouteExceptionFeignVO>> reportRouteExceptionMap =
list.stream().collect(Collectors.groupingBy(InternalReportRouteExceptionFeignVO::getOrderNo));
log.info("通过远程代用clx-order服务获取reportRouteExceptionMap{}", JSONUtil.parseArray(reportRouteExceptionMap));
log.info("通过远程代用clx-order服务获取reportRouteExceptionMap--String{}", JSONUtil.parseArray(
reportRouteExceptionMap.entrySet().stream().collect(Collectors.toMap(Map.Entry::getKey,
entry -> entry.getValue().stream().map(InternalReportRouteExceptionFeignVO::getExceptionInfo)
.collect(Collectors.joining(","))))));
// 构建map集合,key为订单编号,value为异常上报信息
return reportRouteExceptionMap.entrySet().stream().collect(Collectors.toMap(Map.Entry::getKey,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论