|
@@ -177,28 +177,6 @@ public class WebsiteTourismProjectTravelNotesController {
|
|
|
}
|
|
|
List<TourUserLikeTravelNotes> tourUserLikeTravelNotesList = tourUserLikeTravelNotesService.getTourUserLikeTravelNotesWithRelationWriteList(filter, UnmountState.LISTING, orderBy);
|
|
|
|
|
|
- //游记查询notes表
|
|
|
-// List<TourTourismProjectTravelNotes> tourTourismProjectTravelNotesList = new ArrayList<>();
|
|
|
-// if(CollectionUtils.isNotEmpty(tourUserLikeTravelNotesList)) {
|
|
|
-// for(TourUserLikeTravelNotes item:tourUserLikeTravelNotesList){
|
|
|
-// TourTourismProjectTravelNotes tourTourismProjectTravelNotes = tourTourismProjectTravelNotesService.getById(item.getTravelNotesId());
|
|
|
-// if(tourTourismProjectTravelNotes != null){
|
|
|
-// tourTourismProjectTravelNotesList.add(tourTourismProjectTravelNotes);
|
|
|
-// }
|
|
|
-// }
|
|
|
-// }
|
|
|
- //游记查询write表 tourismProjectTravelNotesWriteService
|
|
|
-// List<TourismProjectTravelNotesWrite> tourismProjectTravelNotesWriteList = new ArrayList<>();
|
|
|
-// if(CollectionUtils.isNotEmpty(tourUserLikeTravelNotesList)) {
|
|
|
-// for(TourUserLikeTravelNotes item:tourUserLikeTravelNotesList){
|
|
|
-// TourismProjectTravelNotesWrite tourismProjectTravelNotesWrite = tourismProjectTravelNotesWriteService.getTourismProjectTravelNotesWriteListWithRelation(item.getTravelNotesId());
|
|
|
-// if(tourismProjectTravelNotesWrite != null){
|
|
|
-// tourismProjectTravelNotesWriteList.add(tourismProjectTravelNotesWrite);
|
|
|
-// }
|
|
|
-// }
|
|
|
-// }
|
|
|
-
|
|
|
-
|
|
|
return ResponseResult.success(MyPageUtil.makeResponseData(tourUserLikeTravelNotesList));
|
|
|
}
|
|
|
|