SysDeptService.java
716 Bytes
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
package com.gxb.modules.sys.service;
import com.gxb.modules.sys.entity.SysDeptEntity;
import java.util.List;
import java.util.Map;
/**
* 部门管理
*
* @author chenshun
* @email sunlightcs@gmail.com
* @date 2017-06-20 15:23:47
*/
public interface SysDeptService {
SysDeptEntity queryObject(Long deptId);
List<SysDeptEntity> queryList(Map<String, Object> map);
void save(SysDeptEntity sysDept);
void update(SysDeptEntity sysDept);
void delete(Long deptId);
/**
* 查询子部门ID列表
* @param parentId 上级部门ID
*/
List<Long> queryDetpIdList(Long parentId);
/**
* 获取子部门ID(包含本部门ID),用于数据过滤
*/
String getSubDeptIdList(Long deptId);
}