From b386e4e7c5f84240cd507409c82547e2163538ae Mon Sep 17 00:00:00 2001 From: maven <2163098428@qq.com> Date: 星期三, 16 七月 2025 16:37:08 +0800 Subject: [PATCH] yys 增加筛选条件 --- src/main/java/com/ruoyi/framework/web/page/PageDomain.java | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/ruoyi/framework/web/page/PageDomain.java b/src/main/java/com/ruoyi/framework/web/page/PageDomain.java index 86093ae..af24e6a 100644 --- a/src/main/java/com/ruoyi/framework/web/page/PageDomain.java +++ b/src/main/java/com/ruoyi/framework/web/page/PageDomain.java @@ -22,7 +22,7 @@ private String isAsc = "asc"; /** 鍒嗛〉鍙傛暟鍚堢悊鍖� */ - private Boolean reasonable = false; + private Boolean reasonable = true; public String getOrderBy() { @@ -87,6 +87,10 @@ public Boolean getReasonable() { + if (StringUtils.isNull(reasonable)) + { + return Boolean.TRUE; + } return reasonable; } -- Gitblit v1.9.3