参考:https://www.liangzl.com/get-article-detail-17667.html
1.分页查询,并按照某个字段排序
QueryWrapper<Aiticles> queryWrapper = new QueryWrapper<>(); queryWrapper.lambda() .orderByDesc(Aiticles::getId); IPage<Aiticles> yongHuIPage=new Page<>(page,limit);
aiticlesService.page(yongHuIPage,queryWrapper)