查询项目的行政区域信息接口,项目相关管理接口逻辑完善,行政区划管理相关接口逻辑完善
This commit is contained in:
@ -102,11 +102,11 @@ public class GLegendController extends BaseController
|
||||
/**
|
||||
* 删除图例
|
||||
*/
|
||||
@DeleteMapping("/{ids}")
|
||||
@DeleteMapping("/{id}")
|
||||
@ApiOperation("删除图例")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
public AjaxResult remove(@PathVariable Long id)
|
||||
{
|
||||
return toAjax(gLegendService.deleteGLegendByIds(ids));
|
||||
return toAjax(gLegendService.deleteGLegendById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -139,4 +139,13 @@ public class ProjectController extends BaseController
|
||||
public AjaxResult getUnbindProjectDeptList(){
|
||||
return success(projectService.getUnbindDeptList());
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询项目的行政区划树状列表
|
||||
*/
|
||||
@GetMapping("/areaTree/{projectId}/{reachLevel}")
|
||||
@ApiOperation("查询项目的行政区划树状列表")
|
||||
public AjaxResult getProjectAreaTree(@PathVariable("projectId") Long projectId, @PathVariable("reachLevel") Integer reachLevel){
|
||||
return success(projectService.getProjectAreaTree(projectId, reachLevel));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user