From 26196805b7b61b0caaace961e616ffd10fbbdf92 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 09 八月 2024 14:15:51 +0800
Subject: [PATCH] 阈值生成工单接口重构、点位标签调整

---
 ycl-pojo/src/main/java/com/ycl/system/page/PageUtil.java |    4 ++--
 1 files changed, 2 insertions(+), 2 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..9ab11de 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
@@ -19,9 +19,9 @@
      * @param <Q> 鏌ヨ绫�
      * @return
      */
-    public static  <T extends AbsEntity, Q extends AbsQuery> IPage<T> getPage(Q q, Class<T> c) {
+    public static  <T , 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