From db75b45e9a7ce347162b8d3a36e4a7f46cfe199e Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期一, 10 二月 2025 15:30:18 +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 cb599c4..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 currentPage = 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