|
|
@ -211,6 +211,7 @@ public class SpecialSubjectServiceImpl extends BaseServiceImpl<SpecialSubjectDao |
|
|
|
result.setAddOrgId(dto.getAddOrgId()); |
|
|
|
result.setOrgLevel(dto.getOrgLevel()); |
|
|
|
result.setTagColor(dto.getTagColor()); |
|
|
|
result.setCreatedTime(dto.getCreatedTime()); |
|
|
|
currentOrgList.add(result); |
|
|
|
}); |
|
|
|
if (CollectionUtils.isNotEmpty(currentOrgList)) { |
|
|
@ -234,6 +235,7 @@ public class SpecialSubjectServiceImpl extends BaseServiceImpl<SpecialSubjectDao |
|
|
|
result.setAddOrgId(dto.getAddOrgId()); |
|
|
|
result.setOrgLevel(dto.getOrgLevel()); |
|
|
|
result.setTagColor(dto.getTagColor()); |
|
|
|
result.setCreatedTime(dto.getCreatedTime()); |
|
|
|
resultDTOList.add(result); |
|
|
|
}); |
|
|
|
} |
|
|
@ -285,9 +287,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); |
|
|
|
}); |
|
|
|