Browse Source

修改酒店不显示详情图bug

liu 2 years ago
parent
commit
67d3b80c92
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mhotel/src/com/happy/action/AppHomePageAction.java

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

@@ -349,7 +349,7 @@ public class AppHomePageAction extends ActionSupport implements ServletRequestAw
             ResponseUtil.writeJson(ServletActionContext.getResponse(), jsonObject.toString());
             ResponseUtil.writeJson(ServletActionContext.getResponse(), jsonObject.toString());
             return null;
             return null;
         }
         }
-        hotel.setHotelFileInfoList(fileService.queryListByLinkId(hotelId));
+        hotel.setHotelFileInfoList(fileService.queryListByLinkId(hotel.getManagerId()+""));
 
 
         // 添加是否已收藏的酒店
         // 添加是否已收藏的酒店
         if (!Func.checkNull(userId))
         if (!Func.checkNull(userId))