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