Interface IRoleModelDao

All Superinterfaces:
com.baomidou.mybatisplus.core.mapper.BaseMapper<RoleModelEntity>, net.mingsoft.base.dao.IBaseDao<RoleModelEntity>, com.baomidou.mybatisplus.core.mapper.Mapper<RoleModelEntity>

public interface IRoleModelDao extends net.mingsoft.base.dao.IBaseDao<RoleModelEntity>
角色模块关联持久化层,接口,继承IBaseDao
Version:
版本号:100-000-000
创建日期:2012-03-15
历史修订:
Author:
张敏
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    根据角色编号删除对应功能
    void
    deleteByRoleIds(int[] ids)
     
    queryByRoleId(int roleId)
    通过角色获取所有关联的模块id
    void
    Deprecated.
    void
    更新该角色对应的模块集合

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

    Methods 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 void saveEntity(List<RoleModelEntity> roleModelList)
      Deprecated.
      保存该角色对应的模块集合
      Parameters:
      roleModelList - 集合 过期理由:批量保存不适配oracle
    • updateEntity

      void updateEntity(List<RoleModelEntity> roleModelList)
      更新该角色对应的模块集合
      Parameters:
      roleModelList - 集合
    • deleteByRoleId

      void deleteByRoleId(int id)
      根据角色编号删除对应功能
      Parameters:
      id - 角色编号
    • queryByRoleId

      List<RoleModelEntity> queryByRoleId(int roleId)
      通过角色获取所有关联的模块id
      Parameters:
      roleId -
    • deleteByRoleIds

      void deleteByRoleIds(int[] ids)