@Service public class DepartmentServiceImpl extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<DepartmentDao,DepartmentDO> implements DepartmentService
| 构造器和说明 |
|---|
DepartmentServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
addAdminToDepartment(String[] users,
Integer departmentId)
添加人员到部门
|
void |
delAdminToDepartment(String[] adminIds,
Integer departmentId)
从部门中移除人员
|
boolean |
delDepartment(List<Integer> departmentIds)
删除部门
需要同时删除 部门表 和 部门资源表 所有相关内容
|
closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getOne, getOneOpt, getSqlSessionFactory, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, removeById, removeByIds, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, count, exists, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, getOneOpt, getOneOpt, getOptById, ktQuery, ktUpdate, lambdaQuery, lambdaQuery, lambdaUpdate, list, list, list, list, listByIds, listByMap, listMaps, listMaps, 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 addAdminToDepartment(String[] users, Integer departmentId)
addAdminToDepartment 在接口中 DepartmentServicepublic void delAdminToDepartment(String[] adminIds, Integer departmentId)
delAdminToDepartment 在接口中 DepartmentServicepublic boolean delDepartment(List<Integer> departmentIds)
delDepartment 在接口中 DepartmentServiceCopyright © 2024. All rights reserved.