@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 SysDeptServicepublic List<SysDeptEntity> queryList(Map<String,Object> map)
queryList in interface SysDeptServicepublic void save(SysDeptEntity sysDept)
save in interface SysDeptServicepublic void update(SysDeptEntity sysDept)
update in interface SysDeptServicepublic void delete(Long deptId)
delete in interface SysDeptServicepublic List<Long> queryDetpIdList(Long parentId)
SysDeptServicequeryDetpIdList in interface SysDeptServiceparentId - 上级部门IDpublic String getSubDeptIdList(Long deptId)
SysDeptServicegetSubDeptIdList in interface SysDeptServicepublic Page<UserWindowDto> queryPageByDto(UserWindowDto userWindowDto, int pageNum)
SysDeptServicequeryPageByDto in interface SysDeptServiceCopyright © 2021. All rights reserved.