package com.ruoyi.system.service; import com.ruoyi.system.domain.communityNews.CommentContent; import java.util.List; /** * 社区资讯评论内容Service接口 * * @author boman * @date 2025-02-25 */ public interface ICommentContentService { /** * 查询社区资讯评论内容 * * @param contentId 社区资讯评论内容主键 * @return 社区资讯评论内容 */ public CommentContent selectCommentContentByContentId(Long contentId); /** * 查询社区资讯评论内容列表 * * @param commentContent 社区资讯评论内容 * @return 社区资讯评论内容集合 */ public List selectCommentContentList(CommentContent commentContent); /** * 新增社区资讯评论内容 * * @param commentContent 社区资讯评论内容 * @return 结果 */ public int insertCommentContent(CommentContent commentContent); /** * 修改社区资讯评论内容 * * @param commentContent 社区资讯评论内容 * @return 结果 */ public int updateCommentContent(CommentContent commentContent); /** * 批量删除社区资讯评论内容 * * @param contentIds 需要删除的社区资讯评论内容主键集合 * @return 结果 */ public int deleteCommentContentByContentIds(Long[] contentIds); /** * 删除社区资讯评论内容信息 * * @param contentId 社区资讯评论内容主键 * @return 结果 */ public int deleteCommentContentByContentId(Long contentId); }