@Service(value="topicCategoryService") public class TopicCategoryServiceImpl extends Object implements TopicCategoryService
Constructor and Description |
---|
TopicCategoryServiceImpl() |
Modifier and Type | Method and Description |
---|---|
int |
delete(Integer id)
根据主键删除
|
int |
deleteBatch(Integer[] ids)
根据主键批量删除
|
List<TopicCategoryEntity> |
queryList(Map<String,Object> map)
分页查询
|
TopicCategoryEntity |
queryObject(Integer id)
根据主键查询实体
|
int |
queryTotal(Map<String,Object> map)
分页统计总数
|
int |
save(TopicCategoryEntity topicCategory)
保存实体
|
int |
update(TopicCategoryEntity topicCategory)
根据主键更新实体
|
public TopicCategoryEntity queryObject(Integer id)
TopicCategoryService
queryObject
in interface TopicCategoryService
id
- 主键public List<TopicCategoryEntity> queryList(Map<String,Object> map)
TopicCategoryService
queryList
in interface TopicCategoryService
map
- 参数public int queryTotal(Map<String,Object> map)
TopicCategoryService
queryTotal
in interface TopicCategoryService
map
- 参数public int save(TopicCategoryEntity topicCategory)
TopicCategoryService
save
in interface TopicCategoryService
topicCategory
- 实体public int update(TopicCategoryEntity topicCategory)
TopicCategoryService
update
in interface TopicCategoryService
topicCategory
- 实体public int delete(Integer id)
TopicCategoryService
delete
in interface TopicCategoryService
public int deleteBatch(Integer[] ids)
TopicCategoryService
deleteBatch
in interface TopicCategoryService
Copyright © 2021. All rights reserved.