public interface ICategoryDao
extends com.mingsoft.base.dao.IBaseDao
| 限定符和类型 | 方法和说明 |
|---|---|
int |
count(CategoryEntity category)
根据分类ID查询子分类总数
|
List<CategoryEntity> |
queryBatchCategoryById(List<Integer> listId)
根据ID批量查询分类实体
|
List<CategoryEntity> |
queryByAppIdOrModelId(Integer appId,
Integer modelId)
根据应用编号与模块编号查询分类
|
List<CategoryEntity> |
queryByDescription(Integer appId,
Integer modelId,
String categoryDescription)
主要用于属性查询
|
List<CategoryEntity> |
queryByModelId(CategoryEntity category)
根据modelId查询分类
|
List<CategoryEntity> |
queryByPageList(CategoryEntity category,
com.mingsoft.util.PageUtil page,
String orderBy,
boolean order)
分页查询
查询分类集合
|
List<Integer> |
queryCategoryIdByCategoryId(int categoryId,
int fatherModelId,
int sonModelId)
查询categoryId分类下的子分类数据
|
List<Integer> |
queryCategoryIdByCategoryTitle(String categoryTitle,
int fatherModelId,
int sonModelId)
已过时。
因为categoryTitle可能会出现重复
|
List<Integer> |
queryCategoryIdByTitle(String categoryTitle,
int categoryModelId)
根据分类名称查询分类Id集合(课表数据采集使用)
|
List<CategoryEntity> |
queryChildrenCategoryId(int categoryId,
int appId,
int modelId)
查询当前分类下面的子分类
|
List<CategoryEntity> |
queryChildrenCategoryIdByModelId(Integer categoryId,
int appId,
int modelId)
查询当前分类下面的子分类
|
List<CategoryEntity> |
queryChilds(CategoryEntity category)
根据分类ID查询子分类
|
String |
queryParentIds(int categoryId)
递归活取父栏目,
|
List<CategoryEntity> queryByPageList(CategoryEntity category, com.mingsoft.util.PageUtil page, String orderBy, boolean order)
category - 分类实体page - pageUtil实体orderBy - 排序字段order - 排序方式true:asc false:descList<CategoryEntity> queryChilds(CategoryEntity category)
category - 分类实体int count(CategoryEntity category)
category - 分类实体List<CategoryEntity> queryByModelId(CategoryEntity category)
category - 分类实体List<Integer> queryCategoryIdByTitle(String categoryTitle, int categoryModelId)
categoryTitle - 分类名称categoryModelId - 模块IDList<Integer> queryCategoryIdByCategoryTitle(String categoryTitle, int fatherModelId, int sonModelId)
categoryTitle - 学校名称fatherModelId - 系所属模块IDsonModelId - 子分类模块IDList<Integer> queryCategoryIdByCategoryId(int categoryId, int fatherModelId, int sonModelId)
categoryId - 父分类编号fatherModelId - 父分类所属模块IDsonModelId - 子分类模块IDList<CategoryEntity> queryBatchCategoryById(List<Integer> listId)
listId - ID集合List<CategoryEntity> queryChildrenCategoryId(int categoryId, int appId, int modelId)
categoryId - 当前分类编号appId - 应用编号List<CategoryEntity> queryByAppIdOrModelId(Integer appId, Integer modelId)
appId - 应用编号modelId - 模块编号String queryParentIds(int categoryId)
categoryId - List<CategoryEntity> queryByDescription(Integer appId, Integer modelId, String categoryDescription)
appId - 应用idmodelId - 模块idcategoryDescription - 分类描述List<CategoryEntity> queryChildrenCategoryIdByModelId(Integer categoryId, int appId, int modelId)
categoryId - 当前分类编号appId - 应用编号modelId - 模块IdCopyright © 2016. All rights reserved.