From 7201205af85508421037119ba66b3a6a48de61ec Mon Sep 17 00:00:00 2001 From: guang <guang@guang.com> Date: 星期六, 06 五月 2023 11:58:57 +0800 Subject: [PATCH] 分布及druid --- src/main/java/com/hx/other/service/controller/admin/AdminQueryTempController.java | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/hx/other/service/controller/admin/AdminQueryTempController.java b/src/main/java/com/hx/other/service/controller/admin/AdminQueryTempController.java index f4cc76a..26dd6d8 100644 --- a/src/main/java/com/hx/other/service/controller/admin/AdminQueryTempController.java +++ b/src/main/java/com/hx/other/service/controller/admin/AdminQueryTempController.java @@ -47,12 +47,10 @@ baseVo.setPageNum(1); } - if(baseVo.getPageSize() == null || baseVo.getPageSize() <= 0 || baseVo.getPageSize() >= 100) + if(baseVo.getPageSize() == null || baseVo.getPageSize() <= 0 || baseVo.getPageSize() > 100) { baseVo.setPageSize(20); } - - log.info(baseVo.getPageNum() + " " + baseVo.getPageSize()); SqlSentence sqlSentence = new SqlSentence(); Map<String, Object> map = new HashMap<>(); -- Gitblit v1.8.0