public interface CommentService
| Modifier and Type | Method and Description |
|---|---|
int |
delete(Integer id)
根据主键删除
|
int |
deleteBatch(Integer[] ids)
根据主键批量删除
|
List<CommentEntity> |
queryList(Map<String,Object> map)
分页查询
|
CommentEntity |
queryObject(Integer id)
根据主键查询实体
|
int |
queryTotal(Map<String,Object> map)
分页统计总数
|
int |
save(CommentEntity comment)
保存实体
|
int |
toggleStatus(CommentEntity comment)
修改状态
|
int |
update(CommentEntity comment)
根据主键更新实体
|
CommentEntity queryObject(Integer id)
id - 主键List<CommentEntity> queryList(Map<String,Object> map)
map - 参数int save(CommentEntity comment)
comment - 实体int update(CommentEntity comment)
comment - 实体int delete(Integer id)
id - int deleteBatch(Integer[] ids)
ids - int toggleStatus(CommentEntity comment)
comment - Copyright © 2021. All rights reserved.