@Service public class HrOrganizationServiceImpl extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<HrOrganizationMapper,HrOrganization> implements HrOrganizationService
| 构造器和说明 |
|---|
HrOrganizationServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
add(HrOrganizationRequest hrOrganizationRequest)
添加系统组织机构
|
void |
del(HrOrganizationRequest hrOrganizationRequest)
删除系统组织机构
|
HrOrganization |
detail(HrOrganizationRequest hrOrganizationRequest)
查看详情系统组织机构
|
void |
edit(HrOrganizationRequest hrOrganizationRequest)
编辑系统组织机构
|
Set<Long> |
findAllLevelParentIdsByOrganizations(Set<Long> organizationIds)
查询所有参数组织架构id集合的所有层级的父id,包含父级的父级等
|
List<HrOrganization> |
findList(HrOrganizationRequest hrOrganizationRequest)
查询所有系统组织机构
|
cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult<HrOrganization> |
findPage(HrOrganizationRequest hrOrganizationRequest)
分页查询系统组织机构
|
List<OrganizationTreeNode> |
organizationTree(HrOrganizationRequest hrOrganizationRequest)
获取全部系统组织机构树(用于新增,编辑组织机构时选择上级节点,用于获取用户管理界面左侧组织机构树)
|
List<HrOrganizationDTO> |
orgList() |
List<ZTreeNode> |
orgZTree(HrOrganizationRequest hrOrganizationRequest,
boolean buildTree)
获取ztree形式的组织机构树(用于角色配置数据范围类型,并且数据范围类型是指定组织机构时)(layui版本)
|
void |
updateStatus(HrOrganizationRequest hrOrganizationRequest)
修改组织机构状态
|
closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getMap, getObj, getOne, getSqlStatement, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, count, getBaseMapper, getById, getMap, getObj, getOne, getOne, lambdaQuery, lambdaUpdate, list, list, listByIds, listByMap, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeById, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateByIdpublic void add(HrOrganizationRequest hrOrganizationRequest)
HrOrganizationServiceadd 在接口中 HrOrganizationServicehrOrganizationRequest - 组织机构请求参数@Transactional(rollbackFor=java.lang.Exception.class) public void del(HrOrganizationRequest hrOrganizationRequest)
HrOrganizationServicedel 在接口中 HrOrganizationServicehrOrganizationRequest - 组织机构请求参数public void edit(HrOrganizationRequest hrOrganizationRequest)
HrOrganizationServiceedit 在接口中 HrOrganizationServicehrOrganizationRequest - 组织机构请求参数public void updateStatus(HrOrganizationRequest hrOrganizationRequest)
HrOrganizationServiceupdateStatus 在接口中 HrOrganizationServicehrOrganizationRequest - 请求参数public HrOrganization detail(HrOrganizationRequest hrOrganizationRequest)
HrOrganizationServicedetail 在接口中 HrOrganizationServicehrOrganizationRequest - 组织机构请求参数public cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult<HrOrganization> findPage(HrOrganizationRequest hrOrganizationRequest)
HrOrganizationServicefindPage 在接口中 HrOrganizationServicehrOrganizationRequest - 组织机构请求参数public List<HrOrganization> findList(HrOrganizationRequest hrOrganizationRequest)
HrOrganizationServicefindList 在接口中 HrOrganizationServicehrOrganizationRequest - 组织机构请求参数public List<OrganizationTreeNode> organizationTree(HrOrganizationRequest hrOrganizationRequest)
HrOrganizationServiceorganizationTree 在接口中 HrOrganizationServicehrOrganizationRequest - 查询参数public List<ZTreeNode> orgZTree(HrOrganizationRequest hrOrganizationRequest, boolean buildTree)
HrOrganizationServiceorgZTree 在接口中 HrOrganizationServicehrOrganizationRequest - 请求参数buildTree - 是否构建成树结构的节点,true-带树结构,false-不带public Set<Long> findAllLevelParentIdsByOrganizations(Set<Long> organizationIds)
HrOrganizationServicefindAllLevelParentIdsByOrganizations 在接口中 HrOrganizationServiceorganizationIds - 组织架构id集合public List<HrOrganizationDTO> orgList()
orgList 在接口中 OrganizationServiceApiCopyright © 2021. All rights reserved.