@Service(value="basicBiz") public class BasicBizImpl extends net.mingsoft.base.biz.impl.BaseBizImpl implements IBasicBiz
| 构造器和说明 |
|---|
BasicBizImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deleteBasic(int basicId)
级联删除
|
void |
deleteBasic(int[] basicIds)
批量级联删除
|
BasicEntity |
getBasic(int basicId)
获取基本信息实
|
protected net.mingsoft.base.dao.IBaseDao |
getDao()
获取基本信息持久化层
|
List<BasicEntity> |
query(int categoryId)
根据分类查询
|
int |
saveBasic(BasicEntity basic)
保存基本信息实体
|
void |
update(int basicId,
Integer num,
String field)
更新basic收藏、评论、分享数
|
void |
updateBasic(BasicEntity basic)
更新基本信息实体
|
void |
updateHit(int basicId,
Integer num)
根据点击次数
|
alterTable, alterTable, countBySQL, createTable, delete, deleteBySQL, deleteEntity, deleteEntity, dropTable, excuteSql, getEntity, getEntity, insertBySQL, query, queryAll, queryBySQL, queryBySQL, queryCount, saveBatch, saveEntity, updateBySQL, updateEntitypublic void deleteBasic(int basicId)
IBasicBizdeleteBasic 在接口中 IBasicBizbasicId - 信息编号public void deleteBasic(int[] basicIds)
IBasicBizdeleteBasic 在接口中 IBasicBizbasicIds - 基本信息实体basicIds集合public BasicEntity getBasic(int basicId)
IBasicBizprotected net.mingsoft.base.dao.IBaseDao getDao()
getDao 在类中 net.mingsoft.base.biz.impl.BaseBizImplpublic List<BasicEntity> query(int categoryId)
IBasicBizpublic int saveBasic(BasicEntity basic)
IBasicBizpublic void updateBasic(BasicEntity basic)
IBasicBizupdateBasic 在接口中 IBasicBizbasic - basic实体Copyright © 2019. All rights reserved.