src/main/java/com/ruoyi/project/system/mapper/SysDeptMapper.java
@@ -26,7 +26,7 @@ * @param deptCheckStrictly 部门树选择项是否关联显示 * @return 选中部门列表 */ public List<Integer> selectDeptListByRoleId(@Param("roleId") Long roleId, @Param("deptCheckStrictly") boolean deptCheckStrictly); public List<Long> selectDeptListByRoleId(@Param("roleId") Long roleId, @Param("deptCheckStrictly") boolean deptCheckStrictly); /** * 根据部门ID查询信息 @@ -115,4 +115,11 @@ * @return 结果 */ public int deleteDeptById(Long deptId); /** * 查询顶层部门id * @param deptId * @return */ Long maxLevelDeptId(Long deptId); }