lin
2024-04-17 8236752800e2b7a6013d05db30659f6450666bda
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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);
    }
 
 
}