9 天以前 84e29c9adb718b42a693e954d2b771651ef36796
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. 部门被禁用