| File was renamed from src/main/java/org/springblade/modules/notice/service/impl/NoticeCommentServiceImpl.java |
| | |
| | | * this software without specific prior written permission. |
| | | * Author: Chill 庄骞 (smallchill@163.com) |
| | | */ |
| | | package org.springblade.modules.notice.service.impl; |
| | | package org.springblade.modules.article.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springblade.modules.notice.entity.NoticeCommentEntity; |
| | | import org.springblade.modules.notice.vo.NoticeCommentVO; |
| | | import org.springblade.modules.notice.mapper.NoticeCommentMapper; |
| | | import org.springblade.modules.notice.service.INoticeCommentService; |
| | | import org.springblade.core.mp.base.BaseServiceImpl; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springblade.modules.article.entity.ArticleCommentEntity; |
| | | import org.springblade.modules.article.mapper.ArticleCommentMapper; |
| | | import org.springblade.modules.article.service.IArticleCommentService; |
| | | import org.springblade.modules.article.vo.ArticleCommentVO; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * 通知评论表 服务实现类 |
| | |
| | | * @since 2023-11-08 |
| | | */ |
| | | @Service |
| | | public class NoticeCommentServiceImpl extends ServiceImpl<NoticeCommentMapper, NoticeCommentEntity> implements INoticeCommentService { |
| | | public class ArticleCommentServiceImpl extends ServiceImpl<ArticleCommentMapper, ArticleCommentEntity> implements IArticleCommentService { |
| | | |
| | | @Override |
| | | public IPage<NoticeCommentVO> selectNoticeCommentPage(IPage<NoticeCommentVO> page, NoticeCommentVO noticeComment) { |
| | | return page.setRecords(baseMapper.selectNoticeCommentPage(page, noticeComment)); |
| | | public IPage<ArticleCommentVO> selectArticleCommentPage(IPage<ArticleCommentVO> page, ArticleCommentVO noticeComment) { |
| | | return page.setRecords(baseMapper.selectArticleCommentPage(page, noticeComment)); |
| | | } |
| | | |
| | | |