system/src/main/java/com/ycl/system/mapper/SysDeptMapper.java
@@ -19,6 +19,8 @@ */ public List<SysDept> selectDeptList(SysDept dept); public List<SysDept> selectDeptListNoAuth(SysDept dept); /** * 根据角色ID查询部门树信息 * @@ -35,6 +37,8 @@ * @return 部门信息 */ public SysDept selectDeptById(Long deptId); List<SysDept> selectDeptByIds(List<Long> deptIds); /** * 根据ID查询所有子部门 @@ -115,4 +119,9 @@ * @return 结果 */ public int deleteDeptById(Long deptId); String selectAncestors(Long userId); Long selectByName(@Param("name") String projectOwnerUnit); }