Skip to content

build: v1.4.5 release (^.^)YYa!!

Choose a tag to compare

@llllllxy llllllxy released this 26 Oct 06:03
· 319 commits to master since this release

1、优化paginate方法,现在可以直接传入 Page对象作为参数了,比如 new Page(1, 10)

// 示例如下,分页查询id=3的项目信息,第一页,每页10个

Criteria criteria = new Criteria().eq("id", 3L);
Page<Project> page = projectDao.paginate(criteria, new Page<Project>(1, 10));