Package net.mingsoft.basic.biz.impl
Class ManagerBizImpl
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>
net.mingsoft.base.biz.impl.BaseBizImpl<IManagerDao,ManagerEntity>
net.mingsoft.basic.biz.impl.ManagerBizImpl
- All Implemented Interfaces:
com.baomidou.mybatisplus.extension.repository.IRepository<ManagerEntity>,com.baomidou.mybatisplus.extension.service.IService<ManagerEntity>,net.mingsoft.base.biz.IBaseBiz<ManagerEntity>,IManagerBiz
@Service("managerBiz")
@Transactional
public class ManagerBizImpl
extends net.mingsoft.base.biz.impl.BaseBizImpl<IManagerDao,ManagerEntity>
implements IManagerBiz
铭飞CMS-铭飞内容管理系统
Copyright: Copyright (c) 2014 - 2015
Company:江西铭软科技有限公司
- Version:
- 300-001-001
版权所有 铭飞科技
Comments:管理员业务层实现类,继承BaseBizImpl,实现IManagerBiz
Create Date:2014-7-14
Modification history:
- Author:
- 姓名:张敏
-
Field Summary
Fields inherited from class net.mingsoft.base.biz.impl.BaseBizImpl
LOGFields inherited from class com.baomidou.mybatisplus.extension.repository.CrudRepository
baseMapperFields inherited from class com.baomidou.mybatisplus.extension.repository.AbstractRepository
logFields inherited from interface com.baomidou.mybatisplus.extension.repository.IRepository
DEFAULT_BATCH_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.mingsoft.base.dao.IBaseDaogetDao()获取管理员持久化层getManagerByManagerName(String managerName) 根据账号名查询获取管理员持久化层queryAllChildManager(int managerId) 查询当前登录的管理员的所有子管理员queryAllManager(List<ManagerEntity> managerList) 将角色IDS转换为多角色名voidsetManagerDao(IManagerDao managerDao) 设置managerDaovoid根据用户名修改用户密码Methods inherited from class net.mingsoft.base.biz.impl.BaseBizImpl
alterTable, createTable, delete, delete, delete, deleteBySQL, deleteEntity, deleteEntity, dropTable, excuteSql, execute, getEntity, getEntity, getEntity, getOne, insert, insertBySQL, query, queryAll, queryCount, queryForList, queryForList, queryForListPage, saveBatch, saveEntity, update, update, updateBySQL, updateCache, updateEntityMethods inherited from class com.baomidou.mybatisplus.extension.repository.CrudRepository
getBaseMapper, getSqlStatement, saveBatch, saveOrUpdateBatch, updateBatchByIdMethods inherited from class com.baomidou.mybatisplus.extension.repository.AbstractRepository
executeBatch, executeBatch, getEntityClass, getMap, getMapperClass, getObj, getOneOpt, getSqlSessionFactory, removeById, saveOrUpdateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.mingsoft.base.biz.IBaseBiz
alterTable, createTable, delete, delete, delete, deleteBySQL, deleteEntity, deleteEntity, dropTable, excuteSql, execute, getEntity, getEntity, getEntity, insert, insertBySQL, query, queryAll, queryCount, queryForList, queryForList, queryForListPage, saveBatch, saveEntity, update, update, updateBySQL, updateCache, updateEntityMethods inherited from interface 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, save, saveBatch, saveOrUpdate, saveOrUpdateBatch, update, update, update, updateBatchById, updateByIdMethods inherited from interface com.baomidou.mybatisplus.extension.service.IService
removeBatchByIds, saveBatch, saveOrUpdateBatch, updateBatchById
-
Constructor Details
-
ManagerBizImpl
public ManagerBizImpl()
-
-
Method Details
-
getManagerDao
获取管理员持久化层- Returns:
- managerDao 返回管理员持久化层
-
setManagerDao
设置managerDao- Parameters:
managerDao- 管理员持久化层
-
getDao
public net.mingsoft.base.dao.IBaseDao getDao()获取管理员持久化层- Specified by:
getDaoin classnet.mingsoft.base.biz.impl.BaseBizImpl<IManagerDao,ManagerEntity> - Returns:
- managerDao 返回管理员持久化层
-
updateUserPasswordByUserName
Description copied from interface:IManagerBiz根据用户名修改用户密码- Specified by:
updateUserPasswordByUserNamein interfaceIManagerBiz- Parameters:
manager- 管理员实体
-
queryAllChildManager
Description copied from interface:IManagerBiz查询当前登录的管理员的所有子管理员- Specified by:
queryAllChildManagerin interfaceIManagerBiz- Returns:
- 返回管理员集合
-
queryAllManager
Description copied from interface:IManagerBiz将角色IDS转换为多角色名- Specified by:
queryAllManagerin interfaceIManagerBiz- Returns:
- 带有多角色名的管理员列表
-
getManagerByManagerName
根据账号名查询- Specified by:
getManagerByManagerNamein interfaceIManagerBiz- Parameters:
managerName- 传入的账号- Returns:
- 返回结果
-