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

    LOG

    Fields inherited from class com.baomidou.mybatisplus.extension.repository.CrudRepository

    baseMapper

    Fields inherited from class com.baomidou.mybatisplus.extension.repository.AbstractRepository

    log

    Fields inherited from interface com.baomidou.mybatisplus.extension.repository.IRepository

    DEFAULT_BATCH_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.mingsoft.base.dao.IBaseDao
    获取管理员持久化层
    根据账号名查询
    获取管理员持久化层
    queryAllChildManager(int managerId)
    查询当前登录的管理员的所有子管理员
    将角色IDS转换为多角色名
    void
    设置managerDao
    void
    根据用户名修改用户密码

    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, updateEntity

    Methods inherited from class com.baomidou.mybatisplus.extension.repository.CrudRepository

    getBaseMapper, getSqlStatement, saveBatch, saveOrUpdateBatch, updateBatchById

    Methods inherited from class com.baomidou.mybatisplus.extension.repository.AbstractRepository

    executeBatch, executeBatch, getEntityClass, getMap, getMapperClass, getObj, getOneOpt, getSqlSessionFactory, removeById, saveOrUpdate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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, updateEntity

    Methods 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, updateById

    Methods inherited from interface com.baomidou.mybatisplus.extension.service.IService

    removeBatchByIds, saveBatch, saveOrUpdateBatch, updateBatchById
  • Constructor Details

    • ManagerBizImpl

      public ManagerBizImpl()
  • Method Details

    • getManagerDao

      public IManagerDao getManagerDao()
      获取管理员持久化层
      Returns:
      managerDao 返回管理员持久化层
    • setManagerDao

      @Autowired public void setManagerDao(IManagerDao managerDao)
      设置managerDao
      Parameters:
      managerDao - 管理员持久化层
    • getDao

      public net.mingsoft.base.dao.IBaseDao getDao()
      获取管理员持久化层
      Specified by:
      getDao in class net.mingsoft.base.biz.impl.BaseBizImpl<IManagerDao,ManagerEntity>
      Returns:
      managerDao 返回管理员持久化层
    • updateUserPasswordByUserName

      public void updateUserPasswordByUserName(ManagerEntity manager)
      Description copied from interface: IManagerBiz
      根据用户名修改用户密码
      Specified by:
      updateUserPasswordByUserName in interface IManagerBiz
      Parameters:
      manager - 管理员实体
    • queryAllChildManager

      public List<ManagerEntity> queryAllChildManager(int managerId)
      Description copied from interface: IManagerBiz
      查询当前登录的管理员的所有子管理员
      Specified by:
      queryAllChildManager in interface IManagerBiz
      Returns:
      返回管理员集合
    • queryAllManager

      public List<ManagerEntity> queryAllManager(List<ManagerEntity> managerList)
      Description copied from interface: IManagerBiz
      将角色IDS转换为多角色名
      Specified by:
      queryAllManager in interface IManagerBiz
      Returns:
      带有多角色名的管理员列表
    • getManagerByManagerName

      public ManagerEntity getManagerByManagerName(String managerName)
      根据账号名查询
      Specified by:
      getManagerByManagerName in interface IManagerBiz
      Parameters:
      managerName - 传入的账号
      Returns:
      返回结果