public interface IModelBiz
extends com.mingsoft.base.biz.IBaseBiz
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
BASIC_MODEL
通用文章
|
static String |
CATEGORY_MODEL
通用分类
|
static String |
ORDER_MODEL
通用订单
|
static String |
ORDER_STATUS_MODEL
通用订单状态
|
| 限定符和类型 | 方法和说明 |
|---|---|
ModelEntity |
getEntityByModelCode(com.mingsoft.base.constant.e.BaseEnum modelCode)
根据模块编号查询模块实体
|
ModelEntity |
getEntityByModelCode(String modelCode)
根据模块编号查询模块实体
|
ModelEntity |
getModel(String modelType,
int modelId)
根据模块id获取当前项目中的分类模块id,规则根据modelcode定。
|
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()
查找顶级模块
|
List<com.mingsoft.base.entity.BaseEntity> queryChildList(int modelModelId)
List<com.mingsoft.base.entity.BaseEntity> queryParent()
List<com.mingsoft.base.entity.BaseEntity> queryModelByManagerId(int managerId, int modelId)
managerId - 管理员IDList<com.mingsoft.base.entity.BaseEntity> queryModelByManager()
List<com.mingsoft.base.entity.BaseEntity> queryModelByRoleId(int roleId)
roleId - 角色IDList<com.mingsoft.base.entity.BaseEntity> queryModelByIsMenu(ModelEnum modelEnum)
modelEnum - 模块枚举类的值ModelEntity getEntityByModelCode(com.mingsoft.base.constant.e.BaseEnum modelCode)
modelCode - 模块编号ModelEntity getEntityByModelCode(String modelCode)
modelCode - 模块编号ModelEntity getModel(String modelType, int modelId)
modelType - 模块类型modelId - 模块IDCopyright © 2016. All rights reserved.