|
@@ -225,6 +225,9 @@ public class WebsiteTourismProjectTravelNotesController {
|
|
|
directoryInfo.setEnable(1);
|
|
|
directoryInfo.setDirectoryType(1);
|
|
|
List<DirectoryInfo> directoryInfoList = directoryInfoService.getDirectoryInfoList(directoryInfo, orderBy);
|
|
|
+ //去掉地区的首页区域
|
|
|
+ directoryInfoList.removeIf(item -> item.getId().equals(10L));
|
|
|
+ //转换并返回数据
|
|
|
List<TourTravelNotesDirectoryVo> tourTravelNotesDirectoryVoList= new ArrayList<>();
|
|
|
directoryInfoList.stream().forEach(item->{
|
|
|
TourTravelNotesDirectoryVo tourTravelNotesDirectoryVo = new TourTravelNotesDirectoryVo();
|