| | |
| | | */ |
| | | public List<SysDept> selectDeptList(SysDept dept); |
| | | |
| | | public List<SysDept> selectDeptListNoAuth(SysDept dept); |
| | | |
| | | /** |
| | | * 根据角色ID查询部门树信息 |
| | | * |
| | |
| | | * @return 部门信息 |
| | | */ |
| | | public SysDept selectDeptById(Long deptId); |
| | | |
| | | List<SysDept> selectDeptByIds(@Param("deptIds") List<Long> deptIds); |
| | | |
| | | /** |
| | | * 根据ID查询所有子部门 |
| | |
| | | * @return 结果 |
| | | */ |
| | | public int deleteDeptById(Long deptId); |
| | | |
| | | String selectAncestors(Long userId); |
| | | |
| | | |
| | | Long selectByName(@Param("name") String projectOwnerUnit); |
| | | |
| | | /** |
| | | * 获取某部门的子部门 |
| | | * @param deptId |
| | | * @return |
| | | */ |
| | | List<Long> getChildIds(@Param("deptId") Long deptId); |
| | | } |