| New file |
| | |
| | | package org.springblade.modules.article.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springblade.modules.article.entity.ArticleIntegralEntity; |
| | | import org.springblade.modules.article.vo.ArticleIntegralVO; |
| | | import org.springblade.modules.article.mapper.ArticleIntegralMapper; |
| | | import org.springblade.modules.article.service.IArticleIntegralService; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 文章浏览积分表 服务实现类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2024-03-23 |
| | | */ |
| | | @Service |
| | | public class ArticleIntegralServiceImpl extends ServiceImpl<ArticleIntegralMapper, ArticleIntegralEntity> implements IArticleIntegralService { |
| | | |
| | | @Override |
| | | public IPage<ArticleIntegralVO> selectArticleIntegralPage(IPage<ArticleIntegralVO> page, ArticleIntegralVO articleIntegral) { |
| | | List<ArticleIntegralVO> articleIntegralVOS = baseMapper.selectArticleIntegralPage(page, articleIntegral); |
| | | return page.setRecords(articleIntegralVOS); |
| | | } |
| | | |
| | | |
| | | } |