@Service(value="topicService") public class TopicServiceImpl extends Object implements TopicService
| Constructor and Description |
|---|
TopicServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
delete(Integer id)
根据主键删除
|
int |
deleteBatch(Integer[] ids)
根据主键批量删除
|
List<TopicEntity> |
queryList(Map<String,Object> map)
分页查询
|
TopicEntity |
queryObject(Integer id)
根据主键查询实体
|
int |
queryTotal(Map<String,Object> map)
分页统计总数
|
int |
save(TopicEntity topic)
保存实体
|
int |
update(TopicEntity topic)
根据主键更新实体
|
public TopicEntity queryObject(Integer id)
TopicServicequeryObject in interface TopicServiceid - 主键public List<TopicEntity> queryList(Map<String,Object> map)
TopicServicequeryList in interface TopicServicemap - 参数public int queryTotal(Map<String,Object> map)
TopicServicequeryTotal in interface TopicServicemap - 参数public int save(TopicEntity topic)
TopicServicesave in interface TopicServicetopic - 实体public int update(TopicEntity topic)
TopicServiceupdate in interface TopicServicetopic - 实体public int delete(Integer id)
TopicServicedelete in interface TopicServicepublic int deleteBatch(Integer[] ids)
TopicServicedeleteBatch in interface TopicServiceCopyright © 2021. All rights reserved.