提交 f2eefb6d 作者: 925993793@qq.com

研究中心bug修改

上级 718eb972
......@@ -202,8 +202,11 @@ public class EventAnalysisController {
if (fakeNum == null) {
fakeNum = Constants.FAKE_NUM;
}
List<SubjectAnalysis> cacheList = analysisService.eventContext(subjectId, fakeNum);
return Result.OK(cacheList);
List<SubjectAnalysis> eventContextList = analysisService.eventContext(subjectId, fakeNum);
if (CollectionUtils.isNotEmpty(eventContextList)) {
eventContextList.forEach(e->e.setOrigin(Constants.getRealOrigin(e.getOrigin())));
}
return Result.OK(eventContextList);
}
/**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论