| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springblade.core.secure.utils.AuthUtil; |
| | | import org.springblade.modules.article.entity.ArticleCommentEntity; |
| | | import org.springblade.modules.article.mapper.ArticleCommentMapper; |
| | | import org.springblade.modules.article.service.IArticleCommentService; |
| | |
| | | |
| | | @Override |
| | | public IPage<ArticleCommentVO> selectArticleCommentPage(IPage<ArticleCommentVO> page, ArticleCommentVO noticeComment) { |
| | | noticeComment.setUserId(AuthUtil.getUserId()); |
| | | return page.setRecords(baseMapper.selectArticleCommentPage(page, noticeComment)); |
| | | } |
| | | |