|
|
|
@ -188,7 +188,7 @@ public class SysDeptController extends BaseController
|
|
|
|
|
@ApiOperation("查询下级")
|
|
|
|
|
@GetMapping("/detpList")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public AjaxResult getDeptBydeptId(@RequestParam(required = false) Long deptId) {
|
|
|
|
|
public AjaxResult getDeptById(@RequestParam(required = false) Long deptId) {
|
|
|
|
|
return success(deptService.getDeptBydeptId(Objects.nonNull(deptId) ? deptId : 0));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|