public interface HrOrganizationService extends com.baomidou.mybatisplus.extension.service.IService<HrOrganization>, OrganizationServiceApi
| 限定符和类型 | 方法和说明 |
|---|---|
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<ZTreeNode> |
orgZTree(HrOrganizationRequest hrOrganizationRequest,
boolean buildTree)
获取ztree形式的组织机构树(用于角色配置数据范围类型,并且数据范围类型是指定组织机构时)(layui版本)
|
void |
updateStatus(HrOrganizationRequest hrOrganizationRequest)
修改组织机构状态
|
count, 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, updateByIdorgListvoid add(HrOrganizationRequest hrOrganizationRequest)
hrOrganizationRequest - 组织机构请求参数void del(HrOrganizationRequest hrOrganizationRequest)
hrOrganizationRequest - 组织机构请求参数void edit(HrOrganizationRequest hrOrganizationRequest)
hrOrganizationRequest - 组织机构请求参数void updateStatus(HrOrganizationRequest hrOrganizationRequest)
hrOrganizationRequest - 请求参数HrOrganization detail(HrOrganizationRequest hrOrganizationRequest)
hrOrganizationRequest - 组织机构请求参数cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult<HrOrganization> findPage(HrOrganizationRequest hrOrganizationRequest)
hrOrganizationRequest - 组织机构请求参数List<HrOrganization> findList(HrOrganizationRequest hrOrganizationRequest)
hrOrganizationRequest - 组织机构请求参数List<OrganizationTreeNode> organizationTree(HrOrganizationRequest hrOrganizationRequest)
hrOrganizationRequest - 查询参数List<ZTreeNode> orgZTree(HrOrganizationRequest hrOrganizationRequest, boolean buildTree)
hrOrganizationRequest - 请求参数buildTree - 是否构建成树结构的节点,true-带树结构,false-不带Copyright © 2021. All rights reserved.