public interface ICategoryBiz
extends net.mingsoft.base.biz.IBaseBiz
| 限定符和类型 | 方法和说明 |
|---|---|
int |
count(CategoryEntity category)
根据分类ID查询子分类总数
|
void |
deleteCategory(int categoryId)
删除类别
有拓展表继承时使用
|
List<CategoryEntity> |
queryBatchCategoryById(List<Integer> listId)
根据ID批量查询分类实体
|
List<CategoryEntity> |
queryByAppIdOrModelId(Integer appId,
Integer modelId)
根据应用编号与模块编号查询分类
|
List |
queryByDictId(CategoryEntity category)
根据字典查询机构
|
List<CategoryEntity> |
queryChildrenCategory(int categoryId,
int appId,
int modelId)
已过时。
|
int[] |
queryChildrenCategoryIds(int categoryId,
int appId,
int modelId)
已过时。
|
List<CategoryEntity> |
queryChilds(CategoryEntity category)
根据分类ID查询子分类
|
int |
saveCategory(CategoryEntity categoryEntity)
添加类别
有拓展表继承时使用
|
void |
updateCategory(CategoryEntity categoryEntity)
类别更新
有拓展表继承时使用
|
int count(CategoryEntity category)
category - 分类实体void deleteCategory(int categoryId)
categoryId - 类别IDList<CategoryEntity> queryBatchCategoryById(List<Integer> listId)
listId - ID集合List<CategoryEntity> queryByAppIdOrModelId(Integer appId, Integer modelId)
appId - 应用编号modelId - 模块编号List queryByDictId(CategoryEntity category)
category - @Deprecated List<CategoryEntity> queryChildrenCategory(int categoryId, int appId, int modelId)
categoryId - 当前分类编号appId - 应用编号@Deprecated int[] queryChildrenCategoryIds(int categoryId, int appId, int modelId)
categoryId - 当前分类编号List<CategoryEntity> queryChilds(CategoryEntity category)
category - 分类实体int saveCategory(CategoryEntity categoryEntity)
categoryEntity - 类别实体void updateCategory(CategoryEntity categoryEntity)
categoryEntity - 类别实体Copyright © 2019. All rights reserved.