Interface IModelDao

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

public interface IModelDao extends net.mingsoft.base.dao.IBaseDao<ModelEntity>
模块持久化
Version:
版本号:100-000-000
创建日期:2012-03-15
历史修订:
Author:
ms dev group
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    ModelCode字段以后不再使用了
    getModel(String modelCodeRegex, int modelId)
    根据模块id获取当前项目中的分类模块id,规则根据modelcode定。
    queryModelByRoleId(int roleId)
    根据角色ID查询模块集合

    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

    • queryModelByRoleId

      List<ModelEntity> queryModelByRoleId(int roleId)
      根据角色ID查询模块集合
      Parameters:
      roleId - 角色ID
      Returns:
      返回模块集合
    • getEntityByModelCode

      @Deprecated ModelEntity getEntityByModelCode(@Param("modelCode") String modelCode)
      Deprecated.
      ModelCode字段以后不再使用了
      根据模块编号查询模块实体
      Parameters:
      modelCode - 模块编号
      Returns:
      返回模块实体
    • getModel

      ModelEntity getModel(@Param("modelCodeRegex") String modelCodeRegex, @Param("modelId") int modelId)
      根据模块id获取当前项目中的分类模块id,规则根据modelcode定。**99******,只用是第3位与第4位99
      Parameters:
      modelCodeRegex - 规则。详细见IModelBiz
      modelId - 模块根id
      Returns:
      返回模块集合
      See Also: