Browse Source

专题管理-效果预览封面

master
zhaoqifeng 4 years ago
parent
commit
0232b16fbf
  1. 6
      epmet-module/gov-voice/gov-voice-server/src/main/java/com/epmet/service/impl/SpecialSubjectServiceImpl.java

6
epmet-module/gov-voice/gov-voice-server/src/main/java/com/epmet/service/impl/SpecialSubjectServiceImpl.java

@ -285,9 +285,9 @@ public class SpecialSubjectServiceImpl extends BaseServiceImpl<SpecialSubjectDao
if (CollectionUtils.isNotEmpty(formDTO.getTagIdList())) {
formDTO.getTagIdList().forEach(tagId -> {
PreviewResultDTO previewResultDTO = new PreviewResultDTO();
SpecialSubjectDTO subject = baseDao.getInfo(tagId);
previewResultDTO.setSpecialSubjectId(subject.getId());
previewResultDTO.setTagName(subject.getTagName());
// SpecialSubjectDTO subject = baseDao.getInfo(tagId);
// previewResultDTO.setSpecialSubjectId(subject.getId());
// previewResultDTO.setTagName(subject.getTagName());
previewResultDTO.setArticleList(articleService.getArticleListByTag(tagId, formDTO.getPageNo(), formDTO.getPageSize()));
result.add(previewResultDTO);
});

Loading…
Cancel
Save