|
@@ -340,8 +340,8 @@ public class AppBigDataController extends VisuBaseService {
|
|
*/
|
|
*/
|
|
@ApiOperation(value = "获取重点工程(无分页,无筛选)", notes = "获取重点工程(无分页,无筛选)")
|
|
@ApiOperation(value = "获取重点工程(无分页,无筛选)", notes = "获取重点工程(无分页,无筛选)")
|
|
@GetMapping("getKeyProjects")
|
|
@GetMapping("getKeyProjects")
|
|
- public AjaxResult getKeyProjects(Long deptId) {
|
|
|
|
- AjaxResult ajaxResult = remoteDataBaseService.getKeyProjects(deptId);
|
|
|
|
|
|
+ public AjaxResult getKeyProjects(Long deptId,String state) {
|
|
|
|
+ AjaxResult ajaxResult = remoteDataBaseService.getKeyProjects(deptId,state);
|
|
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");
|
|
PictureReplaceAll.replaceAllPictureUrl(list, "photoId");
|
|
@@ -360,7 +360,7 @@ public class AppBigDataController extends VisuBaseService {
|
|
@ApiOperation(value = "获取重点工程(有分页, 有筛选)", notes = "获取重点工程(有分页, 有筛选)")
|
|
@ApiOperation(value = "获取重点工程(有分页, 有筛选)", notes = "获取重点工程(有分页, 有筛选)")
|
|
@PostMapping("getKeyProjectsByParams")
|
|
@PostMapping("getKeyProjectsByParams")
|
|
public AjaxResult getKeyProjectsByParams(@RequestBody CommandCenterBO bo) {
|
|
public AjaxResult getKeyProjectsByParams(@RequestBody CommandCenterBO bo) {
|
|
- 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(), bo.getState());
|
|
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");
|
|
PictureReplaceAll.replaceAllPictureUrl(list, "photoId");
|