// 设置分页参数
serviceInformationCriteria.setPageSize(pageSize);
serviceInformationCriteria.setStartIndex((currentPage - 1) * pageSize);
List<ServiceInformation> items = serviceInformationMapper.selectByCriteria(serviceInformationCriteria);
int totalCount = (int) serviceInformationMapper.selectCountByCriteria(serviceInformationCriteria);
return new Pagination(pageSize, currentPage, totalCount, items);
}