|
@@ -58,6 +58,8 @@ public class SysNewsTypeServiceImpl extends BaseServiceImpl<Integer, SysNewsType
|
|
List<SysNewsInformation> list = informationDao.queryBySubType(e.getId(), memo);
|
|
List<SysNewsInformation> list = informationDao.queryBySubType(e.getId(), memo);
|
|
if (CollectionUtils.isNotEmpty(list)) {
|
|
if (CollectionUtils.isNotEmpty(list)) {
|
|
e.setInformationList(list);
|
|
e.setInformationList(list);
|
|
|
|
+ } else {
|
|
|
|
+ e.setInformationList(informationDao.queryBySubType(e.getId(), memo));
|
|
}
|
|
}
|
|
});
|
|
});
|
|
List<SysNewsType> treeMenus = all.stream()
|
|
List<SysNewsType> treeMenus = all.stream()
|