@Service public class SysDeptServiceImpl extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<SysDeptMapper,SysDept> implements SysDeptService
| 构造器和说明 |
|---|
SysDeptServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<SysDept> |
buildDeptTree(List<SysDept> depts)
构建前端所需要树结构
|
List<TreeSelect> |
buildDeptTreeSelect(List<SysDept> depts)
构建前端所需要下拉树结构
|
boolean |
checkDeptExistUser(Long deptId) |
boolean |
checkDeptNameUnique(SysDept dept) |
int |
deleteDeptById(Long deptId) |
boolean |
hasChildByDeptId(Long deptId) |
List<SysDept> |
selectDeptList(SysDept dept) |
List<Long> |
selectDeptListByRoleId(Long roleId) |
List<TreeSelect> |
selectDeptTreeList(SysDept dept) |
int |
selectNormalChildrenDeptById(Long deptId) |
closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getOne, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, removeById, removeByIds, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, count, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, ktQuery, ktUpdate, lambdaQuery, lambdaUpdate, list, list, listByIds, listByMap, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateByIdpublic boolean checkDeptNameUnique(SysDept dept)
checkDeptNameUnique 在接口中 SysDeptServicepublic int deleteDeptById(Long deptId)
deleteDeptById 在接口中 SysDeptServicepublic boolean hasChildByDeptId(Long deptId)
hasChildByDeptId 在接口中 SysDeptServicepublic boolean checkDeptExistUser(Long deptId)
checkDeptExistUser 在接口中 SysDeptServicepublic int selectNormalChildrenDeptById(Long deptId)
selectNormalChildrenDeptById 在接口中 SysDeptServicepublic List<SysDept> selectDeptList(SysDept dept)
selectDeptList 在接口中 SysDeptServicepublic List<TreeSelect> selectDeptTreeList(SysDept dept)
selectDeptTreeList 在接口中 SysDeptServicepublic List<TreeSelect> buildDeptTreeSelect(List<SysDept> depts)
buildDeptTreeSelect 在接口中 SysDeptServicedepts - 部门列表public List<SysDept> buildDeptTree(List<SysDept> depts)
buildDeptTree 在接口中 SysDeptServicedepts - 部门列表public List<Long> selectDeptListByRoleId(Long roleId)
selectDeptListByRoleId 在接口中 SysDeptServiceCopyright © 2023. All rights reserved.