|
@@ -56,7 +56,7 @@ public class SysNewsTypeServiceImpl extends BaseServiceImpl<Integer, SysNewsType
|
|
|
List<SysNewsType> all = sysNewsTypeDao.findAll(null);
|
|
|
|
|
|
all.forEach(e -> {
|
|
|
- List<SysNewsInformation> list = informationDao.queryByType(e.getId());
|
|
|
+ List<SysNewsInformation> list = informationDao.queryByType(null,e.getId());
|
|
|
if (CollectionUtils.isNotEmpty(list)) {
|
|
|
e.setInformationList(list);
|
|
|
}
|