|
|
@@ -141,6 +141,7 @@ public class ContentProfileServiceImpl implements ContentProfileService {
|
|
|
}
|
|
|
|
|
|
String sqlFormat = "SELECT DISTINCT content_id\n" +
|
|
|
+ " ,content_title\n" +
|
|
|
" ,type\n" +
|
|
|
" ,type_desc\n" +
|
|
|
"FROM loghubods.content_deconstruction_result_structuring" +
|
|
|
@@ -167,6 +168,7 @@ public class ContentProfileServiceImpl implements ContentProfileService {
|
|
|
continue;
|
|
|
}
|
|
|
|
|
|
+ String contentTitle = records.get(0).getString("content_title");
|
|
|
Map<String, List<Record>> contentIdAndRecordMap = records.stream()
|
|
|
.collect(Collectors.groupingBy(i -> i.getString("content_id")));
|
|
|
|
|
|
@@ -188,6 +190,7 @@ public class ContentProfileServiceImpl implements ContentProfileService {
|
|
|
|
|
|
ContentDescontructionResultVo contentDescontructionResultVo = new ContentDescontructionResultVo();
|
|
|
contentDescontructionResultVo.setContentId(contentId);
|
|
|
+ contentDescontructionResultVo.setTitle(contentTitle);
|
|
|
contentDescontructionResultVo.setDescription(description);
|
|
|
contentDescontructionResultVos.add(contentDescontructionResultVo);
|
|
|
}
|