public interface ICategoryBiz
extends com.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 |
queryByPageList(CategoryEntity category,
com.mingsoft.util.PageUtil page,
String orderBy,
boolean order)
已过时。
|
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)
类别更新
有拓展表继承时使用
|
alterTable, alterTable, countBySQL, createTable, delete, deleteBySQL, deleteEntity, deleteEntity, dropTable, excuteSql, getEntity, getEntity, insertBySQL, query, queryAll, queryByPage, queryBySQL, queryBySQL, queryCount, queryForSearchMapping, saveBatch, saveEntity, updateBySQL, updateEntityint 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 queryByPageList(CategoryEntity category, com.mingsoft.util.PageUtil page, String orderBy, boolean order)
category - 查询条件page - 对象,主要封装分页的方法orderBy - 排序字段order - 排序方式true:asc false:desc@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 © 2018. All rights reserved.