miemie 3 年之前
父節點
當前提交
a28e1e1d27

+ 3 - 3
mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/plugins/pagination/Page.java

@@ -74,15 +74,15 @@ public class Page<T> implements IPage<T> {
     @Setter
     protected boolean optimizeJoinOfCountSql = true;
     /**
-     * countId
+     * 单页分页条数限制
      */
     @Setter
-    protected String countId;
+    protected Long maxLimit;
     /**
      * countId
      */
     @Setter
-    protected Long maxLimit;
+    protected String countId;
 
     public Page() {
     }