package com.quinn.mapper;

import com.quinn.pojo.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.quinn.pojo.CommentWithUser;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author limqsh
 * @since 2020-06-30
 */
public interface CommentMapper extends BaseMapper<Comment> {

    List<CommentWithUser> getSourceCommentList(String topicId);

    List<CommentWithUser> getBlogCommentList(String topicId);
}
