PageHelper.startPage(criteria.getStartIndex() , criteria.getPageSize());
List<Article> articles = articleMapper.queryAll(criteria);
PageInfo<Article> pageInfo = new PageInfo<>(articles);
System.out.println("total = " + pageInfo.getTotal());
System.out.println("PageNum = " + pageInfo.getPageNum());
return articles;