提交 d379e008 authored 作者: 马路路's avatar 马路路

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

上级 35f48bba
...@@ -2,6 +2,7 @@ package com.clx.performance.service.impl; ...@@ -2,6 +2,7 @@ package com.clx.performance.service.impl;
import cn.hutool.json.JSONUtil; import cn.hutool.json.JSONUtil;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.clx.open.sdk.callback.OpenCallBackClient; import com.clx.open.sdk.callback.OpenCallBackClient;
...@@ -709,9 +710,9 @@ public class PerformanceProgressServiceImpl implements PerformanceProgressServi ...@@ -709,9 +710,9 @@ public class PerformanceProgressServiceImpl implements PerformanceProgressServi
// 以订单编号作为key,多条异常上报信息作为value,构建map集合 // 以订单编号作为key,多条异常上报信息作为value,构建map集合
Map<String, List<InternalReportRouteExceptionFeignVO>> reportRouteExceptionMap = Map<String, List<InternalReportRouteExceptionFeignVO>> reportRouteExceptionMap =
list.stream().collect(Collectors.groupingBy(InternalReportRouteExceptionFeignVO::getOrderNo)); list.stream().collect(Collectors.groupingBy(InternalReportRouteExceptionFeignVO::getOrderNo));
log.info("通过远程代用clx-order服务获取reportRouteExceptionMap{}", JSONUtil.parseArray(reportRouteExceptionMap)); log.info("通过远程代用clx-order服务获取reportRouteExceptionMap{}", JSONObject.toJSONString(reportRouteExceptionMap));
log.info("通过远程代用clx-order服务获取reportRouteExceptionMap--String{}", JSONUtil.parseArray( log.info("通过远程代用clx-order服务获取reportRouteExceptionMap--String{}", JSONObject.toJSONString(
reportRouteExceptionMap.entrySet().stream().collect(Collectors.toMap(Map.Entry::getKey, reportRouteExceptionMap.entrySet().stream().collect(Collectors.toMap(Map.Entry::getKey,
entry -> entry.getValue().stream().map(InternalReportRouteExceptionFeignVO::getExceptionInfo) entry -> entry.getValue().stream().map(InternalReportRouteExceptionFeignVO::getExceptionInfo)
.collect(Collectors.joining(",")))))); .collect(Collectors.joining(","))))));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论