为什么数据库中查到数据,部分丢失了


@Override
    public Result listArticle(PageParams pageParams) {
        Page<Article> page = new Page<>(pageParams.getPage(), pageParams.getPageSize());
        LambdaQueryWrapper<Article> queryWrapper = new LambdaQueryWrapper<>();
        queryWrapper.orderByDesc( Article::getCreate_date);
        Page<Article> articlePage = articleMapper.selectPage(page, queryWrapper);
        List<Article> articleList = articlePage.getRecords();
        List<ArticleVo> articleVoList = copyList(articleList, true, true);
        return Result.success(articleVoList);
    }
 private List<ArticleVo> copyList(List<Article> articleList, boolean isTag, boolean isAuthor) {
        List<ArticleVo> articleVoList = new ArrayList<>();
        for (Article article : articleList) {
            System.out.println(article);
            System.out.println(article.getCreate_date());
            articleVoList.add(copy(article, isTag, isAuthor));
        }
        return articleVoList;
    }

img

分页大小10 当前就只有一条数据 集合里面肯定就一个对象其他为null散

img

哪一部分丢失了,我怎么没看出来
不是显示total 1吗,一共就查出一行数据,不是已经显示了吗
什么东西丢失了

create_date字段值是空的,System.out.println(article.getCreate_date());输出自然就是空的,最后一个null,你看看copy方法里面是不是有输出代码。