From 4bc39717f80af51e3d670a9d0ae5110a2a113578 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 12 四月 2024 16:16:22 +0800 Subject: [PATCH] 运维阈值修改接口。删除新增、删除接口 --- ycl-pojo/src/main/java/com/ycl/system/page/PageUtil.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ycl-pojo/src/main/java/com/ycl/system/page/PageUtil.java b/ycl-pojo/src/main/java/com/ycl/system/page/PageUtil.java index 35eebc3..7f1defe 100644 --- a/ycl-pojo/src/main/java/com/ycl/system/page/PageUtil.java +++ b/ycl-pojo/src/main/java/com/ycl/system/page/PageUtil.java @@ -21,7 +21,7 @@ */ public static <T extends AbsEntity, Q extends AbsQuery> IPage<T> getPage(Q q, Class<T> c) { Page<T> page = new Page<T>() - .setCurrent(q.getCurrentPage()) + .setCurrent(q.getPageNum()) .setSize(q.getPageSize()); return page; } -- Gitblit v1.8.0