package com.stylefeng.guns.modular.system.service.impl;
|
|
import com.stylefeng.guns.modular.system.dto.CommentQuery;
|
import com.stylefeng.guns.modular.system.model.FindComment;
|
import com.stylefeng.guns.modular.system.dao.FindCommentMapper;
|
import com.stylefeng.guns.modular.system.service.IFindCommentService;
|
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
|
import com.stylefeng.guns.modular.system.vo.CommentVO;
|
import net.bytebuddy.asm.Advice;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* 发现评论 服务实现类
|
* </p>
|
*
|
* @author 无关风月
|
* @since 2024-02-06
|
*/
|
@Service
|
public class FindCommentServiceImpl extends ServiceImpl<FindCommentMapper, FindComment> implements IFindCommentService {
|
@Autowired
|
private FindCommentMapper commentMapper;
|
@Override
|
public List<CommentVO> getCommentOne(CommentQuery id) {
|
return commentMapper.getCommentOne(id);
|
|
}
|
|
@Override
|
public List<CommentVO> getCommentTwo(Integer id) {
|
return commentMapper.getCommentTwo(id);
|
}
|
|
@Override
|
public List<CommentVO> getCommentThree(CommentQuery id) {
|
return commentMapper.getCommentThree(id);
|
}
|
}
|