baoshiwei
2025-03-12 f1208474f771a1c233d7425c8ed13fbaa0d521ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package org.dromara.common.core.service;
 
import org.dromara.common.core.domain.dto.DeptDTO;
 
import java.util.List;
 
/**
 * 通用 部门服务
 *
 * @author Lion Li
 */
public interface DeptService {
 
    /**
     * 通过部门ID查询部门名称
     *
     * @param deptIds 部门ID串逗号分隔
     * @return 部门名称串逗号分隔
     */
    String selectDeptNameByIds(String deptIds);
 
    /**
     * 根据部门ID查询部门负责人
     *
     * @param deptId 部门ID,用于指定需要查询的部门
     * @return 返回该部门的负责人ID
     */
    Long selectDeptLeaderById(Long deptId);
 
    /**
     * 查询部门
     *
     * @return 部门列表
     */
    List<DeptDTO> selectDeptsByList();
 
}