This commit is contained in:
dinggang 2022-06-27 10:49:45 +08:00
parent a0ec36c887
commit da6de038c6
1 changed files with 0 additions and 1 deletions

View File

@ -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);