huminmin
7 天以前 0fdd0bf60b7d98d21c9b5ff95bb55f0fa6495007
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/api/dept/DeptApi.java
@@ -10,7 +10,7 @@
/**
 * 部门 API 接口
 *
 * @author 芋道源码
 * @author 超级管理员
 */
public interface DeptApi {
@@ -31,6 +31,13 @@
    List<DeptRespDTO> getDeptList(Collection<Long> ids);
    /**
     * 获得全部部门列表
     *
     * @return 部门信息数组
     */
    List<DeptRespDTO> getDeptList();
    /**
     * 校验部门们是否有效。如下情况,视为无效:
     * 1. 部门编号不存在
     * 2. 部门被禁用