未验证 提交 088a5a47 编写于 作者: Z zwZjut 提交者: GitHub

add default constructor (#6780)

Co-authored-by: Nhonghuo.zw <honghuo.zw@alibaba-inc.com>
上级 9113817b
......@@ -51,6 +51,10 @@ public class PageInfo<T> {
*/
private Integer pageNo;
public PageInfo() {
}
public PageInfo(Integer currentPage, Integer pageSize) {
if (currentPage == null) {
currentPage = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册