🔨 执行命令.

This commit is contained in:
lijiahang
2024-03-15 19:32:22 +08:00
parent 87bbcfa845
commit 03c334a507
28 changed files with 791 additions and 202 deletions

View File

@@ -106,6 +106,10 @@ public class DataQuery<T> {
return then;
}
public DataQuery<T> limit(IPageRequest page) {
return this.last(Pager.of(page).getSql());
}
public DataQuery<T> limit(int limit) {
return this.last(Const.LIMIT + Const.SPACE + limit);
}