public interface SysDepartmentService extends BaseService<SysDepartment>
部门 服务类
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteSysDepartment(Long id)
删除
|
List<SysDepartment> |
getAllDepartmentList()
获取所有可用的部门列表
|
List<SysDepartmentTreeVo> |
getAllDepartmentTree()
获取所有可用的部门树形列表
|
SysDepartmentQueryVo |
getSysDepartmentById(Serializable id)
根据ID获取查询对象
|
Paging<SysDepartmentQueryVo> |
getSysDepartmentPageList(SysDepartmentQueryParam sysDepartmentQueryParam)
获取分页对象
|
boolean |
isEnableSysDepartment(Long id)
根据id校验部门是否存在并且已启用
|
boolean |
saveSysDepartment(SysDepartment sysDepartment)
保存
|
boolean |
updateSysDepartment(SysDepartment sysDepartment)
修改
|
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, updateByIdboolean saveSysDepartment(SysDepartment sysDepartment) throws Exception
sysDepartment - Exceptionboolean updateSysDepartment(SysDepartment sysDepartment) throws Exception
sysDepartment - Exceptionboolean deleteSysDepartment(Long id) throws Exception
id - ExceptionSysDepartmentQueryVo getSysDepartmentById(Serializable id) throws Exception
id - ExceptionPaging<SysDepartmentQueryVo> getSysDepartmentPageList(SysDepartmentQueryParam sysDepartmentQueryParam) throws Exception
sysDepartmentQueryParam - Exceptionboolean isEnableSysDepartment(Long id) throws Exception
id - ExceptionList<SysDepartment> getAllDepartmentList()
List<SysDepartmentTreeVo> getAllDepartmentTree()
Copyright © 2019. All rights reserved.