From 49f101308f903a784235c09192de63c8c385e2a0 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期六, 25 五月 2024 10:05:56 +0800 Subject: [PATCH] !543 回退 'Pull Request !542 : 更新SnailJob版本到1.0.0-beta2' Merge pull request !543 from 疯狂的狮子Li/revert-merge-542-dev --- ruoyi-common/ruoyi-common-mybatis/src/main/java/org/dromara/common/mybatis/core/page/PageQuery.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/ruoyi-common-mybatis/src/main/java/org/dromara/common/mybatis/core/page/PageQuery.java b/ruoyi-common/ruoyi-common-mybatis/src/main/java/org/dromara/common/mybatis/core/page/PageQuery.java index 8ef4a57..40b7530 100644 --- a/ruoyi-common/ruoyi-common-mybatis/src/main/java/org/dromara/common/mybatis/core/page/PageQuery.java +++ b/ruoyi-common/ruoyi-common-mybatis/src/main/java/org/dromara/common/mybatis/core/page/PageQuery.java @@ -111,4 +111,8 @@ return list; } + public Integer getFirstNum() { + return (pageNum - 1) * pageSize; + } + } -- Gitblit v1.9.3