From 71f61d13531b3e2a0099ba5afe3f268c99c5bacf Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期四, 29 五月 2025 18:13:33 +0800
Subject: [PATCH] 修改大屏录像可用率指标,点位在线指标,数据中心录像可用率,

---
 ycl-pojo/src/main/java/com/ycl/platform/base/AbsQuery.java |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/ycl-pojo/src/main/java/com/ycl/platform/base/AbsQuery.java b/ycl-pojo/src/main/java/com/ycl/platform/base/AbsQuery.java
index 69eb752..c0213c9 100644
--- a/ycl-pojo/src/main/java/com/ycl/platform/base/AbsQuery.java
+++ b/ycl-pojo/src/main/java/com/ycl/platform/base/AbsQuery.java
@@ -13,9 +13,19 @@
 public class AbsQuery {
 
     @ApiModelProperty(value = "褰撳墠椤�", required = true)
-    private Long pageNum = 1L;
+    private Integer pageNum = 1;
 
     @ApiModelProperty(value = "姣忛〉鏉℃暟", required = true)
-    private Long pageSize = 10L;
+    private Integer pageSize = 10;
 
+    private Integer startNum;
+
+    /**
+     * 鑾峰彇mongo鍒嗛〉skip璺宠繃鐨勬潯鏁�
+     *
+     * @return
+     */
+    public Integer getSkipNum() {
+        return (pageNum - 1) * pageSize;
+    }
 }

--
Gitblit v1.8.0