@Service(value="keywordsService") public class KeywordsServiceImpl extends Object implements KeywordsService
| Constructor and Description |
|---|
KeywordsServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
delete(Integer id)
根据主键删除
|
int |
deleteBatch(Integer[] ids)
根据主键批量删除
|
List<KeywordsEntity> |
queryList(Map<String,Object> map)
分页查询
|
KeywordsEntity |
queryObject(Integer id)
根据主键查询实体
|
int |
queryTotal(Map<String,Object> map)
分页统计总数
|
int |
save(KeywordsEntity keywords)
保存实体
|
int |
update(KeywordsEntity keywords)
根据主键更新实体
|
public KeywordsEntity queryObject(Integer id)
KeywordsServicequeryObject in interface KeywordsServiceid - 主键public List<KeywordsEntity> queryList(Map<String,Object> map)
KeywordsServicequeryList in interface KeywordsServicemap - 参数public int queryTotal(Map<String,Object> map)
KeywordsServicequeryTotal in interface KeywordsServicemap - 参数public int save(KeywordsEntity keywords)
KeywordsServicesave in interface KeywordsServicekeywords - 实体public int update(KeywordsEntity keywords)
KeywordsServiceupdate in interface KeywordsServicekeywords - 实体public int delete(Integer id)
KeywordsServicedelete in interface KeywordsServicepublic int deleteBatch(Integer[] ids)
KeywordsServicedeleteBatch in interface KeywordsServiceCopyright © 2021. All rights reserved.