返回默认值

This commit is contained in:
2025-12-23 16:03:09 +08:00
parent ed1b6b2ecf
commit a05d8083bc
10 changed files with 24 additions and 15 deletions

View File

@@ -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体获取