BASIC_MODEL, CATEGORY_MODEL, ORDER_MODEL, ORDER_STATUS_MODEL| 构造器和说明 |
|---|
ModelBizImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected com.mingsoft.base.dao.IBaseDao |
getDao() |
ModelEntity |
getEntityByModelCode(com.mingsoft.base.constant.e.BaseEnum modelCode)
根据模块编号查询模块实体
|
ModelEntity |
getEntityByModelCode(String modelCode)
根据模块编号查询模块实体
|
ModelEntity |
getModel(String modelType,
int modelId)
根据模块id获取当前项目中的分类模块id,规则根据modelcode定。
|
IModelDao |
getModelDao()
获取模块持久化层
|
List<com.mingsoft.base.entity.BaseEntity> |
queryChildList(int modelModelId)
根据父模块id查找子模块
|
List<com.mingsoft.base.entity.BaseEntity> |
queryModelByIsMenu(ModelEnum modelEnum)
根据模块枚举类查询模块集合
|
List<com.mingsoft.base.entity.BaseEntity> |
queryModelByManager()
查找管理员Id不为-1的模块
|
List<com.mingsoft.base.entity.BaseEntity> |
queryModelByManagerId(int managerId,
int modelId)
根据管理员ID查询模块集合
|
List<com.mingsoft.base.entity.BaseEntity> |
queryModelByRoleId(int roleId)
根据角色ID查询模块集合
|
List<com.mingsoft.base.entity.BaseEntity> |
queryParent()
查找顶级模块
|
void |
setModelDao(IModelDao modelDao) |
alterTable, alterTable, countBySQL, createTable, delete, deleteBySQL, deleteEntity, dropTable, excuteSql, getEntity, insertBySQL, queryAll, queryByPage, queryBySQL, queryBySQL, queryCount, saveBatch, saveEntity, updateBySQL, updateEntitypublic List<com.mingsoft.base.entity.BaseEntity> queryChildList(int modelModelId)
IModelBizqueryChildList 在接口中 IModelBizpublic List<com.mingsoft.base.entity.BaseEntity> queryParent()
IModelBizqueryParent 在接口中 IModelBizpublic List<com.mingsoft.base.entity.BaseEntity> queryModelByManagerId(int managerId, int modelId)
IModelBizqueryModelByManagerId 在接口中 IModelBizmanagerId - 管理员IDpublic List<com.mingsoft.base.entity.BaseEntity> queryModelByManager()
IModelBizqueryModelByManager 在接口中 IModelBizpublic List<com.mingsoft.base.entity.BaseEntity> queryModelByRoleId(int roleId)
IModelBizqueryModelByRoleId 在接口中 IModelBizroleId - 角色IDpublic ModelEntity getEntityByModelCode(com.mingsoft.base.constant.e.BaseEnum modelCode)
IModelBizgetEntityByModelCode 在接口中 IModelBizmodelCode - 模块编号public ModelEntity getEntityByModelCode(String modelCode)
IModelBizgetEntityByModelCode 在接口中 IModelBizmodelCode - 模块编号public IModelDao getModelDao()
@Autowired public void setModelDao(IModelDao modelDao)
protected com.mingsoft.base.dao.IBaseDao getDao()
getDao 在类中 com.mingsoft.base.biz.impl.BaseBizImplpublic ModelEntity getModel(String modelType, int modelId)
IModelBizpublic List<com.mingsoft.base.entity.BaseEntity> queryModelByIsMenu(ModelEnum modelEnum)
IModelBizqueryModelByIsMenu 在接口中 IModelBizmodelEnum - 模块枚举类的值Copyright © 2016. All rights reserved.