|
@@ -344,6 +344,11 @@ public class AppBigDataController extends VisuBaseService {
|
|
|
AjaxResult ajaxResult = remoteDataBaseService.getKeyProjects(deptId,state);
|
|
|
if ("200".equals(ajaxResult.get("code").toString())) {
|
|
|
List<LinkedHashMap<String, Object>> list = (List<LinkedHashMap<String, Object>>) ajaxResult.get("data");
|
|
|
+ list.forEach(map->{
|
|
|
+ if(null != map.get("cameraCode")){
|
|
|
+ map.put("cameraCode", map.get("cameraCode").toString().split(","));
|
|
|
+ }
|
|
|
+ });
|
|
|
PictureReplaceAll.replaceAllPictureUrl(list, "photoId");
|
|
|
}
|
|
|
return ajaxResult;
|
|
@@ -363,6 +368,11 @@ public class AppBigDataController extends VisuBaseService {
|
|
|
TableDataInfo keyProjectsByParams = remoteDataBaseService.getKeyProjectsByParams(bo.getPageNum(), bo.getPageSize(), bo.getDeptId(), bo.getPark(), bo.getProjectName(), bo.getTerritoriality(), bo.getNature(), bo.getState());
|
|
|
if (HttpStatus.SUCCESS == keyProjectsByParams.getCode()) {
|
|
|
List<LinkedHashMap<String, Object>> list = (List<LinkedHashMap<String, Object>>) keyProjectsByParams.getRows();
|
|
|
+ list.forEach(map->{
|
|
|
+ if(null != map.get("cameraCode")){
|
|
|
+ map.put("cameraCode", map.get("cameraCode").toString().split(","));
|
|
|
+ }
|
|
|
+ });
|
|
|
PictureReplaceAll.replaceAllPictureUrl(list, "photoId");
|
|
|
return AjaxResult.success(list);
|
|
|
} else {
|