package com.ly.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.ly.dao.CommentDao;

import com.ly.domain.Comment;
import com.ly.service.CommentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CommentServiceImpl extends ServiceImpl<CommentDao, Comment> implements CommentService {
    @Resource
    private CommentDao commentDao;
    @Override
    public List<Comment> findCommentDetail(Integer articleId) {
        return   commentDao.findCommentDetail(articleId);

    }
}
