public interface IModelBiz extends net.mingsoft.base.biz.IBaseBiz<ModelEntity>
| Modifier and Type | Method and Description |
|---|---|
ModelEntity |
getEntityByModelCode(net.mingsoft.base.constant.e.BaseEnum modelCode)
根据模块编号查询模块实体
|
ModelEntity |
getEntityByModelCode(String modelCode)
根据模块编号查询模块实体
|
ModelEntity |
getModel(String modelType,
int modelId)
根据模块id获取当前项目中的分类模块id,规则根据modelcode定。**99******,只用是第3位与第4位99
|
void |
jsonToModel(String menuStr,
int mangerRoleId)
字符串转菜单
|
List<ModelEntity> |
queryModelByRoleId(int roleId)
根据角色ID查询模块集合
|
void |
reModel(ModelEntity modelParent,
String parentIds,
int mangerRoleId,
List<RoleModelEntity> roleModels,
Integer parentId)
菜单新增递归方法
|
void |
saveEntity(ModelEntity model)
保存
|
void |
updateEntity(ModelEntity model)
修改
|
countBySQL, createTable, delete, delete, deleteBySQL, deleteEntity, deleteEntity, dropTable, excuteSql, getEntity, getEntity, insertBySQL, query, queryAll, queryBySQL, queryBySQL, queryCount, saveBatch, saveEntity, updateBySQL, updateCache, updateEntitycount, count, getBaseMapper, getById, getMap, getObj, getOne, getOne, lambdaQuery, lambdaUpdate, list, list, listByIds, listByMap, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeById, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateByIdList<ModelEntity> queryModelByRoleId(int roleId)
roleId - 角色IDModelEntity getEntityByModelCode(net.mingsoft.base.constant.e.BaseEnum modelCode)
modelCode - 模块编号ModelEntity getEntityByModelCode(String modelCode)
modelCode - 模块编号ModelEntity getModel(String modelType, int modelId)
modelType - 模块类型modelId - 模块IDvoid reModel(ModelEntity modelParent, String parentIds, int mangerRoleId, List<RoleModelEntity> roleModels, Integer parentId)
modelParent - 菜单实体parentIds - 父级idsmangerRoleId - 管理员idroleModels - 角色mode数组parentId - 父级idvoid jsonToModel(String menuStr, int mangerRoleId)
menuStr - mangerRoleId - void updateEntity(ModelEntity model)
model - void saveEntity(ModelEntity model)
model - Copyright © 2020. All rights reserved.