소스 검색

[fix]
1、删除无用代码

chenchen 4 달 전
부모
커밋
2734a2a515

+ 0 - 22
application-webadmin/src/main/java/com/tourism/webadmin/app/website/controller/WebsiteTourismProjectTravelNotesController.java

@@ -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));
     }