@Service(value="roleBiz") @Transactional public class RoleBizImpl extends net.mingsoft.base.biz.impl.BaseBizImpl<IRoleDao,RoleEntity> implements IRoleBiz
| 构造器和说明 |
|---|
RoleBizImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
deleteRoleByRoles(List<RoleEntity> roles,
ManagerEntity managerSession)
根据角色集合,删除不包括当前管理员所属角色以及默认角色的所有角色,并删除关联角色模块
|
net.mingsoft.base.dao.IBaseDao |
getDao()
获取角色持久化层
|
boolean |
saveOrUpdateRole(RoleBean role)
批量更新角色与权限关联数据
|
alterTable, countBySQL, countBySQL, createTable, delete, delete, deleteBySQL, deleteEntity, deleteEntity, dropTable, excuteSql, getEntity, getEntity, getOne, insertBySQL, query, queryAll, queryBySQL, queryBySQL, queryBySQL, queryBySQL, queryBySQL, queryBySQL, queryCount, saveBatch, saveEntity, updateBySQL, updateCache, updateEntitycloseSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, removeById, removeByIds, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitalterTable, countBySQL, countBySQL, createTable, delete, delete, deleteBySQL, deleteEntity, deleteEntity, dropTable, excuteSql, getEntity, getEntity, insertBySQL, query, queryAll, queryBySQL, queryBySQL, queryBySQL, queryBySQL, queryBySQL, queryBySQL, queryCount, saveBatch, saveEntity, updateBySQL, updateCache, updateEntitycount, 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 net.mingsoft.base.dao.IBaseDao getDao()
getDao 在类中 net.mingsoft.base.biz.impl.BaseBizImpl<IRoleDao,RoleEntity>public boolean saveOrUpdateRole(RoleBean role)
IRoleBizsaveOrUpdateRole 在接口中 IRoleBizrole - 当前角色,通常由前端提交public boolean deleteRoleByRoles(List<RoleEntity> roles, ManagerEntity managerSession)
deleteRoleByRoles 在接口中 IRoleBizroles - 角色集合managerSession - 当前管理员Copyright © 2024. All rights reserved.