|
@@ -344,7 +344,7 @@ public class AppBigDataController extends VisuBaseService {
|
|
AjaxResult ajaxResult = remoteDataBaseService.getKeyProjects(deptId);
|
|
AjaxResult ajaxResult = remoteDataBaseService.getKeyProjects(deptId);
|
|
if ("200".equals(ajaxResult.get("code").toString())) {
|
|
if ("200".equals(ajaxResult.get("code").toString())) {
|
|
List<LinkedHashMap<String, Object>> list = (List<LinkedHashMap<String, Object>>) ajaxResult.get("data");
|
|
List<LinkedHashMap<String, Object>> list = (List<LinkedHashMap<String, Object>>) ajaxResult.get("data");
|
|
- PictureReplaceAll.replaceAllPictureUrl(list, "photoId", "fileUrl", "appUrl");
|
|
|
|
|
|
+ PictureReplaceAll.replaceAllPictureUrl(list, "photoId");
|
|
}
|
|
}
|
|
return ajaxResult;
|
|
return ajaxResult;
|
|
}
|
|
}
|
|
@@ -363,7 +363,7 @@ public class AppBigDataController extends VisuBaseService {
|
|
TableDataInfo keyProjectsByParams = remoteDataBaseService.getKeyProjectsByParams(bo.getPageNum(), bo.getPageSize(), bo.getDeptId(), bo.getPark(), bo.getProjectName(), bo.getTerritoriality(), bo.getNature());
|
|
TableDataInfo keyProjectsByParams = remoteDataBaseService.getKeyProjectsByParams(bo.getPageNum(), bo.getPageSize(), bo.getDeptId(), bo.getPark(), bo.getProjectName(), bo.getTerritoriality(), bo.getNature());
|
|
if (HttpStatus.SUCCESS == keyProjectsByParams.getCode()) {
|
|
if (HttpStatus.SUCCESS == keyProjectsByParams.getCode()) {
|
|
List<LinkedHashMap<String, Object>> list = (List<LinkedHashMap<String, Object>>) keyProjectsByParams.getRows();
|
|
List<LinkedHashMap<String, Object>> list = (List<LinkedHashMap<String, Object>>) keyProjectsByParams.getRows();
|
|
- PictureReplaceAll.replaceAllPictureUrl(list, "photoId", "fileUrl", "appUrl");
|
|
|
|
|
|
+ PictureReplaceAll.replaceAllPictureUrl(list, "photoId");
|
|
return AjaxResult.success(list);
|
|
return AjaxResult.success(list);
|
|
} else {
|
|
} else {
|
|
return AjaxResult.error(keyProjectsByParams.getMsg());
|
|
return AjaxResult.error(keyProjectsByParams.getMsg());
|
|
@@ -376,7 +376,7 @@ public class AppBigDataController extends VisuBaseService {
|
|
AjaxResult ajaxResult = remoteDataBaseService.appGetScheduleByTime(bo.getKeyProjectsId(), bo.getStartTime(), bo.getEndTime());
|
|
AjaxResult ajaxResult = remoteDataBaseService.appGetScheduleByTime(bo.getKeyProjectsId(), bo.getStartTime(), bo.getEndTime());
|
|
if ("200".equals(ajaxResult.get("code").toString())) {
|
|
if ("200".equals(ajaxResult.get("code").toString())) {
|
|
List<LinkedHashMap<String, Object>> list = (List<LinkedHashMap<String, Object>>) ajaxResult.get("data");
|
|
List<LinkedHashMap<String, Object>> list = (List<LinkedHashMap<String, Object>>) ajaxResult.get("data");
|
|
- PictureReplaceAll.replaceAllPictureUrl(list, "schedulePictures", "fileUrl", "appUrl");
|
|
|
|
|
|
+ PictureReplaceAll.replaceAllPictureUrl(list, "schedulePictures");
|
|
}
|
|
}
|
|
return ajaxResult;
|
|
return ajaxResult;
|
|
}
|
|
}
|