package yangtz.cs.liu.campus.mapper.resources;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import yangtz.cs.liu.campus.domain.resources.SchoolResourcesDetailsComment;
import yangtz.cs.liu.wechat.vo.schoolResource.SchoolResourcesDetailsCommentVo;

import java.util.List;

@Mapper
public interface SchoolResourcesDetailsCommentMapper extends BaseMapper<SchoolResourcesDetailsComment> {

    /**
     * 公众号：获取评论列表
     * @param detailsId
     * @return
     */
    List<SchoolResourcesDetailsCommentVo> getComment(@Param("detailsId") Long detailsId);
}
