public class DepartmentService extends Object
| Constructor and Description |
|---|
DepartmentService(UnifiAuthClient unifiAuthClient) |
| Modifier and Type | Method and Description |
|---|---|
DepartmentDetail |
queryDept(String token,
long id)
根据ID查询部门详情
|
List<DepartmentDetail> |
queryDeptTree(String token)
获取部门树
|
List<DepartmentDetail> |
queryDeptTree(String token,
long id)
查询指定部门的子级部门树
|
public DepartmentService(UnifiAuthClient unifiAuthClient)
public List<DepartmentDetail> queryDeptTree(String token) throws Exception
token - Exceptionpublic List<DepartmentDetail> queryDeptTree(String token, long id) throws Exception
token - id - Exceptionpublic DepartmentDetail queryDept(String token, long id) throws Exception
token - id - ExceptionCopyright © 2023. All rights reserved.