1.代码分页
List<TbAjltData> pageViewList = list.stream().skip((pageDomain.getPageNum() - 1) * pageDomain.getPageSize()).limit(pageDomain.getPageSize()).collect(Collectors.toList());
2.
@Overridepublic List<TbAjk> selectTbAjkList(TbAjk tbAjk, PageDomain pageDomain) {PageHelper.startPage(pageDomain.getPageNum(), pageDomain.getPageSize());List<TbAjk> tbAjkList = tbAjkMapper.selectTbAjkList(tbAjk);return tbAjkList;}