...
This commit is contained in:
parent
a0ec36c887
commit
da6de038c6
|
@ -40,7 +40,6 @@ public class SysDeptController {
|
||||||
@ApiOperation("根据当前用户所在部门查询下属部门tree,可以根据部门名称模糊查询")
|
@ApiOperation("根据当前用户所在部门查询下属部门tree,可以根据部门名称模糊查询")
|
||||||
@LogOperation("根据当前用户所在部门查询下属部门")
|
@LogOperation("根据当前用户所在部门查询下属部门")
|
||||||
public Result<List<SysDeptDTO>> treeList(@RequestParam(required = false,value = "模糊查询,部门名称") String keywords){
|
public Result<List<SysDeptDTO>> treeList(@RequestParam(required = false,value = "模糊查询,部门名称") String keywords){
|
||||||
public Result<List<SysDeptDTO>> treeList(@RequestParam(required = false,value = "keywords") String keywords){
|
|
||||||
Long deptId = SecurityUser.getDeptId();
|
Long deptId = SecurityUser.getDeptId();
|
||||||
List<SysDeptDTO> result = new ArrayList<>();
|
List<SysDeptDTO> result = new ArrayList<>();
|
||||||
SysDeptDTO sysDeptDTO = sysDeptService.get(deptId);
|
SysDeptDTO sysDeptDTO = sysDeptService.get(deptId);
|
||||||
|
|
Loading…
Reference in New Issue