类 DeptServiceImpl
java.lang.Object
com.baomidou.mybatisplus.extension.repository.AbstractRepository<M,T>
com.baomidou.mybatisplus.extension.repository.CrudRepository<M,T>
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<M,T>
com.hengyi.xbaseweb.system.service.base.BaseServiceImpl<IDeptMapper,SysDept>
com.hengyi.xbaseweb.system.service.impl.DeptServiceImpl
- 所有已实现的接口:
com.baomidou.mybatisplus.extension.repository.IRepository<SysDept>,com.baomidou.mybatisplus.extension.service.IService<SysDept>,IBaseService<SysDept>,IDeptService
@Service
public class DeptServiceImpl
extends BaseServiceImpl<IDeptMapper,SysDept>
implements IDeptService
Author: dongzp
Time: 2019/5/10 21:25
Project: xbaseweb-plus
Email: 90fanhua@gmail.com
Remarks:
-
字段概要
从类继承的字段 com.hengyi.xbaseweb.system.service.base.BaseServiceImpl
request, userSessionService从类继承的字段 com.baomidou.mybatisplus.extension.repository.CrudRepository
baseMapper从类继承的字段 com.baomidou.mybatisplus.extension.repository.AbstractRepository
log从接口继承的字段 com.baomidou.mybatisplus.extension.repository.IRepository
DEFAULT_BATCH_SIZE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidbatchDelete(List<Long> ids) 批量删除void部门校验删除部门findByCode(String code) 通过code查询void加载到缓存queryCountByParentId(Long parentId) 通过pid查询下面部门数queryListByParentId(String parentId) 通过pid查询下面机构信息从类继承的方法 com.hengyi.xbaseweb.system.service.base.BaseServiceImpl
error, error, getCurrentDeptId, getCurrentUser, getCurrentUserId, getCurrentUsername, getMessage, getMessage, getToken, save, saveBatch, saveOrUpdate, saveOrUpdateBatch, success, success, toResult, toResult, updateBatchById, updateById从类继承的方法 com.baomidou.mybatisplus.extension.repository.CrudRepository
getBaseMapper, getSqlStatement从类继承的方法 com.baomidou.mybatisplus.extension.repository.AbstractRepository
executeBatch, executeBatch, getEntityClass, getMap, getMapperClass, getObj, getOne, getOneOpt, getSqlSessionFactory, removeById从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.hengyi.xbaseweb.system.service.base.IBaseService
save, saveBatch, saveOrUpdate, saveOrUpdateBatch, updateBatchById, updateById从接口继承的方法 com.baomidou.mybatisplus.extension.repository.IRepository
count, 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, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, update, update, update从接口继承的方法 com.baomidou.mybatisplus.extension.service.IService
removeBatchByIds, saveBatch, saveOrUpdateBatch, updateBatchById
-
构造器详细资料
-
DeptServiceImpl
public DeptServiceImpl()
-
-
方法详细资料
-
delete
从接口复制的说明:IDeptService删除部门- 指定者:
delete在接口中IDeptService- 返回:
-
batchDelete
从接口复制的说明:IDeptService批量删除- 指定者:
batchDelete在接口中IDeptService
-
findByCode
从接口复制的说明:IDeptService通过code查询- 指定者:
findByCode在接口中IDeptService- 返回:
-
queryListByParentId
从接口复制的说明:IDeptService通过pid查询下面机构信息- 指定者:
queryListByParentId在接口中IDeptService- 返回:
-
queryCountByParentId
从接口复制的说明:IDeptService通过pid查询下面部门数- 指定者:
queryCountByParentId在接口中IDeptService- 返回:
-
check
从接口复制的说明:IDeptService部门校验- 指定者:
check在接口中IDeptService
-
loadToCache
public void loadToCache()从接口复制的说明:IDeptService加载到缓存- 指定者:
loadToCache在接口中IDeptService
-