@Service(value="sysDeptService") public class SysDeptServiceImpl extends Object implements SysDeptService
Constructor and Description |
---|
SysDeptServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
delete(Long deptId) |
void |
getDeptTreeList(List<Long> subIdList,
List<Long> deptIdList)
递归
|
String |
getSubDeptIdList(Long deptId)
获取子部门ID(包含本部门ID),用于数据过滤
|
List<Long> |
queryDetpIdList(Long parentId)
查询子部门ID列表
|
List<SysDeptEntity> |
queryList(Map<String,Object> map) |
SysDeptEntity |
queryObject(Long deptId) |
Page<UserWindowDto> |
queryPageByDto(UserWindowDto userWindowDto,
int pageNum)
分页查询组织审批选择范围
|
void |
save(SysDeptEntity sysDept) |
void |
update(SysDeptEntity sysDept) |
public SysDeptEntity queryObject(Long deptId)
queryObject
in interface SysDeptService
public List<SysDeptEntity> queryList(Map<String,Object> map)
queryList
in interface SysDeptService
public void save(SysDeptEntity sysDept)
save
in interface SysDeptService
public void update(SysDeptEntity sysDept)
update
in interface SysDeptService
public void delete(Long deptId)
delete
in interface SysDeptService
public List<Long> queryDetpIdList(Long parentId)
SysDeptService
queryDetpIdList
in interface SysDeptService
parentId
- 上级部门IDpublic String getSubDeptIdList(Long deptId)
SysDeptService
getSubDeptIdList
in interface SysDeptService
public Page<UserWindowDto> queryPageByDto(UserWindowDto userWindowDto, int pageNum)
SysDeptService
queryPageByDto
in interface SysDeptService
Copyright © 2021. All rights reserved.