广丰卷烟厂数采质量分析系统
baoshiwei
19 小时以前 d143af7023cfd4a0ced6f0ecf04ae3b3a06fd1dc
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
38
39
40
41
42
43
44
45
46
package org.dromara.common.core.service;
 
import org.dromara.common.core.domain.dto.DeptDTO;
 
import java.util.List;
import java.util.Map;
 
/**
 * 通用 部门服务
 *
 * @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();
 
    /**
     * 根据部门 ID 列表查询部门名称映射关系
     *
     * @param deptIds 部门 ID 列表
     * @return Map,其中 key 为部门 ID,value 为对应的部门名称
     */
    Map<Long, String> selectDeptNamesByIds(List<Long> deptIds);
 
}