Package net.mingsoft.basic.dao
Interface IRoleModelDao
- All Superinterfaces:
com.baomidou.mybatisplus.core.mapper.BaseMapper<RoleModelEntity>,net.mingsoft.base.dao.IBaseDao<RoleModelEntity>,com.baomidou.mybatisplus.core.mapper.Mapper<RoleModelEntity>
角色模块关联持久化层,接口,继承IBaseDao
- Version:
- 版本号:100-000-000
创建日期:2012-03-15
历史修订: - Author:
- 张敏
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByRoleId(int id) 根据角色编号删除对应功能voiddeleteByRoleIds(int[] ids) queryByRoleId(int roleId) 通过角色获取所有关联的模块idvoidsaveEntity(List<RoleModelEntity> roleModelList) Deprecated.voidupdateEntity(List<RoleModelEntity> roleModelList) 更新该角色对应的模块集合Methods inherited from interface com.baomidou.mybatisplus.core.mapper.BaseMapper
delete, deleteBatchIds, deleteById, deleteById, deleteById, deleteByIds, deleteByIds, deleteByMap, exists, insert, insert, insert, insertOrUpdate, insertOrUpdate, insertOrUpdate, insertOrUpdate, insertOrUpdate, selectBatchIds, selectBatchIds, selectById, selectByIds, selectByIds, selectByMap, selectByMap, selectCount, selectList, selectList, selectList, selectList, selectMaps, selectMaps, selectMaps, selectMaps, selectMapsPage, selectObjs, selectObjs, selectOne, selectOne, selectPage, update, update, updateById, updateById, updateByIdMethods inherited from interface net.mingsoft.base.dao.IBaseDao
alterTable, createTable, delete, delete, deleteByEntity, deleteBySQL, deleteEntity, dropTable, excuteSql, getByEntity, getEntity, getEntity, insertBySQL, query, queryAll, queryByPage, queryCount, saveBatch, saveEntity, updateBySQL, updateCache, updateEntity
-
Method Details
-
saveEntity
Deprecated.保存该角色对应的模块集合- Parameters:
roleModelList- 集合 过期理由:批量保存不适配oracle
-
updateEntity
更新该角色对应的模块集合- Parameters:
roleModelList- 集合
-
deleteByRoleId
void deleteByRoleId(int id) 根据角色编号删除对应功能- Parameters:
id- 角色编号
-
queryByRoleId
通过角色获取所有关联的模块id- Parameters:
roleId-
-
deleteByRoleIds
void deleteByRoleIds(int[] ids)
-