@Service(value="categoryBiz") public class CategoryBizImpl extends net.mingsoft.base.biz.impl.BaseBizImpl implements ICategoryBiz
| 构造器和说明 |
|---|
CategoryBizImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
count(CategoryEntity category)
根据分类ID查询子分类总数
|
void |
deleteCategory(int categoryId)
删除类别
有拓展表继承时使用
|
ICategoryDao |
getCategoryDao()
获取类别持久化层
|
protected net.mingsoft.base.dao.IBaseDao |
getDao()
获取类别持久化层
|
net.mingsoft.base.entity.BaseEntity |
getEntity(net.mingsoft.base.entity.BaseEntity entity) |
net.mingsoft.base.entity.BaseEntity |
getEntity(int id) |
List |
query(net.mingsoft.base.entity.BaseEntity entity) |
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)
已过期,使用当前分类的categorys获取当前子类
查询当前分类下面的子分类的id
|
List<CategoryEntity> |
queryChilds(CategoryEntity category)
根据分类ID查询子分类
|
int |
saveCategory(CategoryEntity categoryEntity)
添加类别
有拓展表继承时使用
|
void |
setCategoryDao(ICategoryDao categoryDao) |
void |
updateCategory(CategoryEntity categoryEntity)
类别更新
有拓展表继承时使用
|
alterTable, alterTable, countBySQL, createTable, delete, deleteBySQL, deleteEntity, deleteEntity, dropTable, excuteSql, insertBySQL, queryAll, queryBySQL, queryBySQL, queryCount, saveBatch, saveEntity, updateBySQL, updateEntitypublic int count(CategoryEntity category)
ICategoryBizcount 在接口中 ICategoryBizcategory - 分类实体public void deleteCategory(int categoryId)
ICategoryBizdeleteCategory 在接口中 ICategoryBizcategoryId - 类别IDpublic ICategoryDao getCategoryDao()
protected net.mingsoft.base.dao.IBaseDao getDao()
getDao 在类中 net.mingsoft.base.biz.impl.BaseBizImplpublic net.mingsoft.base.entity.BaseEntity getEntity(net.mingsoft.base.entity.BaseEntity entity)
getEntity 在接口中 net.mingsoft.base.biz.IBaseBizgetEntity 在类中 net.mingsoft.base.biz.impl.BaseBizImplpublic net.mingsoft.base.entity.BaseEntity getEntity(int id)
getEntity 在接口中 net.mingsoft.base.biz.IBaseBizgetEntity 在类中 net.mingsoft.base.biz.impl.BaseBizImplpublic List query(net.mingsoft.base.entity.BaseEntity entity)
query 在接口中 net.mingsoft.base.biz.IBaseBizquery 在类中 net.mingsoft.base.biz.impl.BaseBizImplpublic List<CategoryEntity> queryBatchCategoryById(List<Integer> listId)
ICategoryBizqueryBatchCategoryById 在接口中 ICategoryBizlistId - ID集合public List<CategoryEntity> queryByAppIdOrModelId(Integer appId, Integer modelId)
ICategoryBizqueryByAppIdOrModelId 在接口中 ICategoryBizappId - 应用编号modelId - 模块编号public List queryByDictId(CategoryEntity category)
queryByDictId 在接口中 ICategoryBizcategory - public List<CategoryEntity> queryChildrenCategory(int categoryId, int appId, int modelId)
ICategoryBizqueryChildrenCategory 在接口中 ICategoryBizcategoryId - 当前分类编号appId - 应用编号public int[] queryChildrenCategoryIds(int categoryId,
int appId,
int modelId)
ICategoryBizqueryChildrenCategoryIds 在接口中 ICategoryBizcategoryId - 当前分类编号public List<CategoryEntity> queryChilds(CategoryEntity category)
ICategoryBizqueryChilds 在接口中 ICategoryBizcategory - 分类实体public int saveCategory(CategoryEntity categoryEntity)
ICategoryBizsaveCategory 在接口中 ICategoryBizcategoryEntity - 类别实体@Autowired public void setCategoryDao(ICategoryDao categoryDao)
public void updateCategory(CategoryEntity categoryEntity)
ICategoryBizupdateCategory 在接口中 ICategoryBizcategoryEntity - 类别实体Copyright © 2019. All rights reserved.