Package net.mingsoft.basic.biz
Interface IRoleModelBiz
- All Superinterfaces:
net.mingsoft.base.biz.IBaseBiz<RoleModelEntity>,com.baomidou.mybatisplus.extension.repository.IRepository<RoleModelEntity>,com.baomidou.mybatisplus.extension.service.IService<RoleModelEntity>
- All Known Implementing Classes:
RoleModelBizImpl
角色模块关联业务层接口
- Version:
- 版本号:100-000-000
创建日期:2012-03-15
历史修订: - Author:
- 张敏
-
Field Summary
Fields inherited from interface com.baomidou.mybatisplus.extension.repository.IRepository
DEFAULT_BATCH_SIZE -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByModelIds(List<ModelEntity> models) 根据modelId删除关联roleIdvoiddeleteByRoleId(int roleId) 根据角色id删除关联记录voiddeleteByRoleIds(int[] ids) 根据角色id集合删除关联记录queryByRoleId(int roleId) 通过角色获取所有关联的模块idvoidsaveEntity(List<RoleModelEntity> roleModelList) 保存该角色对应的模块集合voidupdateEntity(List<RoleModelEntity> roleModelList) 更新该角色对应的模块集合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, 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
-
Method Details
-
saveEntity
保存该角色对应的模块集合- Parameters:
roleModelList- 集合
-
updateEntity
更新该角色对应的模块集合- Parameters:
roleModelList- 集合
-
queryByRoleId
通过角色获取所有关联的模块id- Parameters:
roleId-
-
deleteByRoleId
void deleteByRoleId(int roleId) 根据角色id删除关联记录- Parameters:
roleId-
-
deleteByRoleIds
void deleteByRoleIds(int[] ids) 根据角色id集合删除关联记录- Parameters:
ids-
-
deleteByModelIds
根据modelId删除关联roleId- Parameters:
models- id集合
-