소스 검색

点击错误

hubin 4 년 전
부모
커밋
7cad1e5be2
1개의 변경된 파일0개의 추가작업 그리고 21개의 파일을 삭제
  1. 0 21
      mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/plugins/pagination/Page.java

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

@@ -273,25 +273,4 @@ public class Page<T> implements IPage<T> {
         // 解决 github issues/3208
         return IPage.super.getPages();
     }
-
-    public static Page<T> of(long current, long size){
-        return this(current, size, 0);
-    }
-
-    public static Page<T> of(long current, long size, long total) {
-        this(current, size, total, true);
-    }
-
-    public static Page<T> of(long current, long size, boolean isSearchCount) {
-        this(current, size, 0, isSearchCount);
-    }
-
-    public static Page<T> of(long current, long size, long total, boolean isSearchCount) {
-        if (current > 1) {
-            this.current = current;
-        }
-        this.size = size;
-        this.total = total;
-        this.isSearchCount = isSearchCount;
-    }
 }