|
@@ -50,21 +50,11 @@ public class SysDeptController extends BaseController {
|
|
|
return success(depts);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 获取部门列表(包含自己的祖级)
|
|
|
- */
|
|
|
- @GetMapping("/listAndF")
|
|
|
- @ApiOperation("获取部门列表")
|
|
|
- public AjaxResult listAndF(SysDept dept) {
|
|
|
- List<SysDept> depts = deptService.selectDeptListAndF(dept);
|
|
|
- return success(depts);
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* 获取部门列表(包含自己上一级)
|
|
|
*/
|
|
|
@GetMapping("/listAndUp")
|
|
|
- @ApiOperation("获取部门列表")
|
|
|
+ @ApiOperation("获取部门列表(包含自己上一级)")
|
|
|
public AjaxResult listAndUp(SysDept dept) {
|
|
|
List<SysDept> depts = deptService.selectDeptListAndUp(dept);
|
|
|
return success(depts);
|