|
@@ -155,7 +155,7 @@ public class hotelAction extends ActionSupport implements ServletRequestAware {
|
|
|
BeanUtils.copyProperties(hotel,hotelEto);
|
|
BeanUtils.copyProperties(hotel,hotelEto);
|
|
|
}
|
|
}
|
|
|
StringBuilder fileSqlx = new StringBuilder("");
|
|
StringBuilder fileSqlx = new StringBuilder("");
|
|
|
- fileSqlx.append("and link_id = '").append(id).append("'");
|
|
|
|
|
|
|
+ fileSqlx.append("and link_id = '").append(hotel.getId()).append("'");
|
|
|
List<FileInfo> fileList = fileService.queryList(fileSqlx.toString());
|
|
List<FileInfo> fileList = fileService.queryList(fileSqlx.toString());
|
|
|
hotelEto.setFileInfoList(fileList);
|
|
hotelEto.setFileInfoList(fileList);
|
|
|
resultJson.put("message", "查询成功");
|
|
resultJson.put("message", "查询成功");
|