ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDeptMapper.java
@@ -16,7 +16,7 @@ * * @author Lion Li */ public interface SysDeptMapper extends BaseMapperPlus<SysDeptMapper, SysDept, SysDeptVo> { public interface SysDeptMapper extends BaseMapperPlus<SysDept, SysDeptVo> { /** * 查询部门管理数据 @@ -29,6 +29,11 @@ }) List<SysDeptVo> selectDeptList(@Param(Constants.WRAPPER) Wrapper<SysDept> queryWrapper); @DataPermission({ @DataColumn(key = "deptName", value = "dept_id") }) SysDeptVo selectDeptById(Long deptId); /** * 根据角色ID查询部门树信息 *