public interface IBasicBiz
extends com.mingsoft.base.biz.IBaseBiz
| 限定符和类型 | 方法和说明 |
|---|---|
int |
count(int categoryId)
根据分类统计总数
|
int |
count(int categoryId,
String keyWord)
根据分类与关键子统计总数
|
void |
deleteBasic(int basicId)
删除基本信息实体
|
void |
deletes(String[] basicIds)
根据id集合删除
|
BasicEntity |
getBasicEntity(int basicId)
获取基本信息实体
|
List<BasicEntity> |
getPreviousAndNext(int basicId)
获取当前文章basicId的上一篇与下一篇
|
List<BasicEntity> |
query(int categoryId)
根据分类查询
|
List<BasicEntity> |
query(Integer appId,
Integer categoryId,
String keyWord,
com.mingsoft.util.PageUtil page,
Integer modelId,
Map where)
根据分类与关键子统计总数
|
List<BasicEntity> |
query(int categoryId,
String keyWord)
根据分类与关键子统计总数
|
int |
saveBasic(BasicEntity basic)
保存基本信息实体
|
void |
updateBasic(BasicEntity basic)
更新基本信息实体
|
void |
updateHit(int basicId,
Integer num)
根据点击次数
|
int saveBasic(BasicEntity basic)
basic - basic实体void updateBasic(BasicEntity basic)
basic - basic实体void deleteBasic(int basicId)
basicId - 信息编号BasicEntity getBasicEntity(int basicId)
basicId - 信息编号void updateHit(int basicId,
Integer num)
basicId - 信息编号num - null:为递增int count(int categoryId)
categoryId - 分类编号int count(int categoryId,
String keyWord)
categoryId - 分类编号keyWord - 关键字List<BasicEntity> query(int categoryId)
categoryId - 分类编号List<BasicEntity> query(int categoryId, String keyWord)
categoryId - 分类编号keyWord - 关键字List<BasicEntity> query(Integer appId, Integer categoryId, String keyWord, com.mingsoft.util.PageUtil page, Integer modelId, Map where)
appId - 应用编号categoryId - 分类编号keyWord - 关键字page - 分页modelId - 模块编号where - 条件List<BasicEntity> getPreviousAndNext(int basicId)
basicId - 当前文章void deletes(String[] basicIds)
basicIds - 基本信息实体id集合Copyright © 2016. All rights reserved.