From d1e30de4ca5e1c198df2edd0394779f93ae80f64 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 29 八月 2024 14:59:10 +0800 Subject: [PATCH] 定时任务注释解开 --- ycl-pojo/src/main/java/com/ycl/platform/base/AbsQuery.java | 8 +++++--- 1 files changed, 5 insertions(+), 3 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 09bf614..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,17 +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 Long getSkipNum() { + public Integer getSkipNum() { return (pageNum - 1) * pageSize; } } -- Gitblit v1.8.0