package com.ruoyi.mall.mapper; import java.util.List; import com.ruoyi.mall.domain.BusinessArticleComment; import com.ruoyi.mall.domain.Vo.QueryArtilceCommentListResponse; import com.ruoyi.mall.domain.Vo.QueryArtilceReplyListResponse; /** * 帖子评论Mapper接口 * * @author ruoyi * @date 2023-10-18 */ public interface BusinessArticleCommentMapper { /** * 查询帖子评论 API * @author: long * @date 2023/6/30 * */ List queryArtilceCommentOrReplyList(Long artilceId); /** * 查询帖子 子级评论列表 API * @param commentId * @return */ List queryArtilceReplyList(Long commentId); /** * 查询帖子评论 * * @param commentId 帖子评论主键 * @return 帖子评论 */ public BusinessArticleComment selectBusinessArticleCommentByCommentId(Long commentId); /** * 查询帖子评论列表 * * @param businessArticleComment 帖子评论 * @return 帖子评论集合 */ public List selectBusinessArticleCommentList(BusinessArticleComment businessArticleComment); /** * 新增帖子评论 * * @param businessArticleComment 帖子评论 * @return 结果 */ public int insertBusinessArticleComment(BusinessArticleComment businessArticleComment); /** * 修改帖子评论 * * @param businessArticleComment 帖子评论 * @return 结果 */ public int updateBusinessArticleComment(BusinessArticleComment businessArticleComment); /** * 删除帖子评论 * * @param commentId 帖子评论主键 * @return 结果 */ public int deleteBusinessArticleCommentByCommentId(Long commentId); /** * 批量删除帖子评论 * * @param commentIds 需要删除的数据主键集合 * @return 结果 */ public int deleteBusinessArticleCommentByCommentIds(Long[] commentIds); }