public interface IModelDao
extends com.mingsoft.base.dao.IBaseDao
| 限定符和类型 | 方法和说明 |
|---|---|
ModelEntity |
getEntityByModelCode(String modelCode)
根据模块编号查询模块实体
|
ModelEntity |
getModel(String modelCodeRegex,
int modelId)
根据模块id获取当前项目中的分类模块id,规则根据modelcode定。
|
List<com.mingsoft.base.entity.BaseEntity> |
queryChildList(int modelModelId)
根据父模块id查找子id
|
List<com.mingsoft.base.entity.BaseEntity> |
queryModelByRoleId(int roleId)
根据角色ID查询模块集合
|
alterTable, countBySQL, createTable, delete, deleteByEntity, deleteBySQL, deleteEntity, dropTable, excuteSql, getByEntity, getEntity, insertBySQL, query, queryAll, queryByPage, queryBySQL, queryCount, queryForSearchMapping, saveBatch, saveEntity, updateBySQL, updateEntityList<com.mingsoft.base.entity.BaseEntity> queryChildList(int modelModelId)
List<com.mingsoft.base.entity.BaseEntity> queryModelByRoleId(int roleId)
roleId - 角色IDModelEntity getEntityByModelCode(@Param(value="modelCode") String modelCode)
modelCode - 模块编号ModelEntity getModel(@Param(value="modelCodeRegex") String modelCodeRegex, @Param(value="modelId") int modelId)
modelCodeRegex - 规则。详细见IModelBizmodelId - 模块根idIModelBizCopyright © 2018. All rights reserved.