无论是page还是Ipage获取到的都为空值
@Test
public void selectPage() {
Page<User> page = new Page<User>(1, 2);
QueryWrapper<User> queryWrapper = new QueryWrapper<User>();
queryWrapper.ge("age", 26);
Page<User> selectPage = mapper.selectPage(page, queryWrapper);
System.err.println("总页数"+selectPage.getPages());
System.err.println("总记录数"+selectPage.getTotal());
List<User> records = selectPage.getRecords();
records.forEach(System.err::println);
}