|
@@ -152,25 +152,6 @@ public class CommandCenterController extends BaseController {
|
|
|
return AjaxResult.success(commandCenterService.getImportAreaList(commandCenterBO));
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 重点区域
|
|
|
- * @param CenterdataTForestImportarea
|
|
|
- * @return
|
|
|
- */
|
|
|
- @ApiOperation(value = "重点区域", notes = "重点区域")
|
|
|
- @GetMapping("/getImportAreaListByParams")
|
|
|
- public AjaxResult getImportAreaListByParams(CenterdataTForestImportarea importarea) {
|
|
|
- startPage();
|
|
|
- List<CenterdataTForestImportarea> result = commandCenterService.getImportAreaListByParams(importarea);
|
|
|
- Map<String, Object> areaTypeList = DictUtils.getDictCacheToMap("area_type");
|
|
|
- Map<String, Object> projectLevelLists = DictUtils.getDictCacheToMap("centerdata_project_level");
|
|
|
- for (CenterdataTForestImportarea hashMap : result) {
|
|
|
- hashMap.setProjectTypeLabel(areaTypeList.get(hashMap.getProjectType()).toString());
|
|
|
- hashMap.setProjectLevelLabel(null ==projectLevelLists.get(hashMap.getProjectLevel())? null:projectLevelLists.get(hashMap.getProjectLevel()).toString());
|
|
|
- }
|
|
|
- return AjaxResult.success(result);
|
|
|
- }
|
|
|
-
|
|
|
@ApiOperation(value = "重点区域", notes = "重点区域")
|
|
|
@GetMapping("/getImportAreaListOne")
|
|
|
@ApiImplicitParams(value = {
|