瀏覽代碼

multi(records,total)方法改成公有的

lixing 3 年之前
父節點
當前提交
f4f1f48bee
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apm-common/src/main/java/com/persagy/apm/common/utils/ResultHelper.java

+ 1 - 1
apm-common/src/main/java/com/persagy/apm/common/utils/ResultHelper.java

@@ -90,7 +90,7 @@ public class ResultHelper {
      * @param <T>
      * @return
      */
-    private static <T> CommonResult<PageList<T>> multi(List<T> records, long total) {
+    public static <T> CommonResult<PageList<T>> multi(List<T> records, long total) {
         PageList<T> pageList = new PageList<>(records, total);
         return new CommonResult(ResponseCode.A00000.getCode(), ResponseCode.A00000.getDesc(), pageList);
     }