Ver código fonte

修改详情图找不到bug

liu 2 anos atrás
pai
commit
a626f01bb1

+ 1 - 1
mhotel/src/com/happy/action/AppHomePageAction.java

@@ -258,7 +258,7 @@ public class AppHomePageAction extends ActionSupport implements ServletRequestAw
         String endDate = DateUtil.parseDateToStr((Func.parseDate(queryEndTime)), DateUtil.Time_Formatter_Day);
         String endDate = DateUtil.parseDateToStr((Func.parseDate(queryEndTime)), DateUtil.Time_Formatter_Day);
 
 
         Hotel hotel = appHomePageService.getHotelAndHouseByHotelId(hotelId, startDate, endDate);
         Hotel hotel = appHomePageService.getHotelAndHouseByHotelId(hotelId, startDate, endDate);
-        hotel.setHotelFileInfoList(fileService.queryListByLinkId(hotelId));
+        hotel.setHotelFileInfoList(fileService.queryListByLinkId(hotel.getManagerId()+""));
 
 
         // 添加是否已收藏的酒店
         // 添加是否已收藏的酒店
         if (!Func.checkNull(userId))
         if (!Func.checkNull(userId))