@Service(value="commentPictureService") public class CommentPictureServiceImpl extends Object implements CommentPictureService
| Constructor and Description |
|---|
CommentPictureServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
delete(Integer id)
根据主键删除
|
int |
deleteBatch(Integer[] ids)
根据主键批量删除
|
int |
deleteByCommentId(Integer commentId)
根据commentId删除
|
List<CommentPictureEntity> |
queryList(Map<String,Object> map)
分页查询
|
CommentPictureEntity |
queryObject(Integer id)
根据主键查询实体
|
int |
queryTotal(Map<String,Object> map)
分页统计总数
|
int |
save(CommentPictureEntity commentPicture)
保存实体
|
int |
update(CommentPictureEntity commentPicture)
根据主键更新实体
|
public CommentPictureEntity queryObject(Integer id)
CommentPictureServicequeryObject in interface CommentPictureServiceid - 主键public List<CommentPictureEntity> queryList(Map<String,Object> map)
CommentPictureServicequeryList in interface CommentPictureServicemap - 参数public int queryTotal(Map<String,Object> map)
CommentPictureServicequeryTotal in interface CommentPictureServicemap - 参数public int save(CommentPictureEntity commentPicture)
CommentPictureServicesave in interface CommentPictureServicecommentPicture - 实体public int update(CommentPictureEntity commentPicture)
CommentPictureServiceupdate in interface CommentPictureServicecommentPicture - 实体public int delete(Integer id)
CommentPictureServicedelete in interface CommentPictureServicepublic int deleteBatch(Integer[] ids)
CommentPictureServicedeleteBatch in interface CommentPictureServicepublic int deleteByCommentId(Integer commentId)
CommentPictureServicedeleteByCommentId in interface CommentPictureServiceCopyright © 2021. All rights reserved.