From bb28c2f09f7fa36b8b80f9d19f23631623b80d1c Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期六, 01 三月 2025 16:59:46 +0800
Subject: [PATCH] #
---
zy-asrs-common/src/main/java/com/zy/asrs/common/domain/param/PageParam.java | 112 ++++++++++++++++++++++++++++----------------------------
1 files changed, 56 insertions(+), 56 deletions(-)
diff --git a/zy-asrs-common/src/main/java/com/zy/asrs/common/domain/param/PageParam.java b/zy-asrs-common/src/main/java/com/zy/asrs/common/domain/param/PageParam.java
index 9cee25c..da953cf 100644
--- a/zy-asrs-common/src/main/java/com/zy/asrs/common/domain/param/PageParam.java
+++ b/zy-asrs-common/src/main/java/com/zy/asrs/common/domain/param/PageParam.java
@@ -1,56 +1,56 @@
-package com.zy.asrs.common.domain.param;
-
-import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
-
-/**
- * 鍒嗛〉銆佹帓搴忋�佹悳绱㈠弬鏁板皝瑁�
- *
- * @author vincent
- * @since 2019-04-26 10:34:35
- */
-public class PageParam<T, U extends BaseParam> extends Page<T> {
-
- private static final long serialVersionUID = 1L;
-
- /**
- * 绉熸埛id瀛楁鍚嶇О
- */
- private static final String TENANT_ID_FIELD = "tenantId";
-
- /**
- * 鏌ヨ鏉′欢
- */
- private final U where;
-
- /**
- * 鏄惁鎶婂瓧娈靛悕绉伴┘宄拌浆涓嬪垝绾�
- */
- private final boolean isToUnderlineCase;
-
- public PageParam() {
- this(null);
- }
-
- public PageParam(U where) {
- this(where, true);
- }
-
- public PageParam(U where, boolean isToUnderlineCase) {
- super();
- this.where = where;
- this.isToUnderlineCase = isToUnderlineCase;
- if (where != null) {
- // 鑾峰彇鍒嗛〉椤电爜
- if (where.getCurr() != null) {
- setCurrent(where.getCurr());
- }
- // 鑾峰彇鍒嗛〉姣忛〉鏁伴噺
- if (where.getLimit() != null) {
- setSize(where.getLimit());
- }
- }
- }
-
-
-
-}
+package com.zy.asrs.common.domain.param;
+
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+
+/**
+ * 鍒嗛〉銆佹帓搴忋�佹悳绱㈠弬鏁板皝瑁�
+ *
+ * @author vincent
+ * @since 2019-04-26 10:34:35
+ */
+public class PageParam<T, U extends BaseParam> extends Page<T> {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 绉熸埛id瀛楁鍚嶇О
+ */
+ private static final String TENANT_ID_FIELD = "tenantId";
+
+ /**
+ * 鏌ヨ鏉′欢
+ */
+ private final U where;
+
+ /**
+ * 鏄惁鎶婂瓧娈靛悕绉伴┘宄拌浆涓嬪垝绾�
+ */
+ private final boolean isToUnderlineCase;
+
+ public PageParam() {
+ this(null);
+ }
+
+ public PageParam(U where) {
+ this(where, true);
+ }
+
+ public PageParam(U where, boolean isToUnderlineCase) {
+ super();
+ this.where = where;
+ this.isToUnderlineCase = isToUnderlineCase;
+ if (where != null) {
+ // 鑾峰彇鍒嗛〉椤电爜
+ if (where.getCurr() != null) {
+ setCurrent(where.getCurr());
+ }
+ // 鑾峰彇鍒嗛〉姣忛〉鏁伴噺
+ if (where.getLimit() != null) {
+ setSize(where.getLimit());
+ }
+ }
+ }
+
+
+
+}
--
Gitblit v1.9.1