@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)
KeywordsService
queryObject
in interface KeywordsService
id
- 主键public List<KeywordsEntity> queryList(Map<String,Object> map)
KeywordsService
queryList
in interface KeywordsService
map
- 参数public int queryTotal(Map<String,Object> map)
KeywordsService
queryTotal
in interface KeywordsService
map
- 参数public int save(KeywordsEntity keywords)
KeywordsService
save
in interface KeywordsService
keywords
- 实体public int update(KeywordsEntity keywords)
KeywordsService
update
in interface KeywordsService
keywords
- 实体public int delete(Integer id)
KeywordsService
delete
in interface KeywordsService
public int deleteBatch(Integer[] ids)
KeywordsService
deleteBatch
in interface KeywordsService
Copyright © 2021. All rights reserved.