@Service public class SysOrganizationServiceImpl extends ExtendServiceImpl<SysOrganizationMapper,SysOrganization> implements SysOrganizationService
baseMapper, entityClass, log, mapperClassDEFAULT_BATCH_SIZE| 构造器和说明 |
|---|
SysOrganizationServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
create(SysOrganizationDTO sysOrganizationDTO)
创建一个新的组织机构
|
List<SysOrganization> |
listChildOrganization(Long organizationId)
根据组织ID 查询除该组织下的所有孩子(子孙)组织
|
List<SysOrganization> |
listSubOrganization(Long organizationId)
根据组织ID 查询除该组织下的所有儿子组织
|
List<SysOrganizationTree> |
listTree(SysOrganizationQO sysOrganizationQO)
返回组织架构的树形结构
|
boolean |
removeById(Serializable id)
根据组织ID 删除组织机构
|
boolean |
revisedHierarchyAndPath()
校正组织机构层级和深度
|
boolean |
update(SysOrganizationDTO sysOrganizationDTO)
更新一个已有的组织机构
|
currentMapperClass, currentModelClass, executeBatch, getBaseMapper, getEntityClass, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, removeByIds, retBool, saveBatch, saveBatchSomeColumn, saveOrUpdate, saveOrUpdateBatch, updateBatchByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBaseMapper, getById, getEntityClass, list, listByIds, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeById, removeById, removeByIds, removeByIds, save, saveBatch, saveBatch, saveBatchSomeColumn, saveBatchSomeColumn, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, updateBatchById, updateBatchById, updateByIdpublic List<SysOrganizationTree> listTree(SysOrganizationQO sysOrganizationQO)
listTree 在接口中 SysOrganizationServicesysOrganizationQO - 组织机构查询条件public boolean create(SysOrganizationDTO sysOrganizationDTO)
create 在接口中 SysOrganizationServicesysOrganizationDTO - 组织机构DTO@Transactional(rollbackFor=java.lang.Exception.class) public boolean update(SysOrganizationDTO sysOrganizationDTO)
update 在接口中 SysOrganizationServicesysOrganizationDTO - 组织机构DTOpublic List<SysOrganization> listSubOrganization(Long organizationId)
listSubOrganization 在接口中 SysOrganizationServiceorganizationId - 组织机构IDpublic List<SysOrganization> listChildOrganization(Long organizationId)
listChildOrganization 在接口中 SysOrganizationServiceorganizationId - 组织机构ID@Transactional(rollbackFor=java.lang.Exception.class) public boolean revisedHierarchyAndPath()
revisedHierarchyAndPath 在接口中 SysOrganizationServicepublic boolean removeById(Serializable id)
removeById 在接口中 ExtendService<SysOrganization>removeById 在类中 ExtendServiceImpl<SysOrganizationMapper,SysOrganization>id - 组织机构IDCopyright © 2023. All rights reserved.