返回默认值
This commit is contained in:
@@ -62,6 +62,15 @@ public class PageUtil {
|
||||
return new Page<>(pageNum, pageSize);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取空Page对象
|
||||
*/
|
||||
public <T> Page<T> emptyPage() {
|
||||
return Page.of(1,10,0) ;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 构造排序QueryWrapper
|
||||
* 从param体获取
|
||||
|
||||
Reference in New Issue
Block a user