src/main/java/org/springblade/modules/system/mapper/DeptMapper.java
@@ -17,6 +17,7 @@ package org.springblade.modules.system.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Param; import org.springblade.modules.system.entity.Dept; import org.springblade.modules.system.vo.DeptVO; @@ -65,4 +66,10 @@ */ List<String> getDeptNames(Long[] ids); /** * 查询当前机构信息 * @param id * @return */ DeptVO getDeptById(@Param("id") Long id); }