From 268903df3e55bb0e09ab13901cf17bf0a14d05ff Mon Sep 17 00:00:00 2001 From: AlexBob Date: Fri, 23 Feb 2024 11:29:40 +0800 Subject: [PATCH] boot api token update set login user details --- .../java/com/platform/boot/commons/query/CriteriaUtils.java | 2 +- boot/platform/src/main/resources/application-local.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boot/platform/src/main/java/com/platform/boot/commons/query/CriteriaUtils.java b/boot/platform/src/main/java/com/platform/boot/commons/query/CriteriaUtils.java index bea45bf5..beef90b4 100644 --- a/boot/platform/src/main/java/com/platform/boot/commons/query/CriteriaUtils.java +++ b/boot/platform/src/main/java/com/platform/boot/commons/query/CriteriaUtils.java @@ -19,7 +19,7 @@ public final class CriteriaUtils { public static final Set SKIP_CRITERIA_KEYS = Set.of("extend", "createdTime", "updatedTime"); public static String applyPage(Pageable pageable) { - return applySort(pageable.getSort(), null); + return applyPage(pageable, null); } public static String applyPage(Pageable pageable, String prefix) { diff --git a/boot/platform/src/main/resources/application-local.yml b/boot/platform/src/main/resources/application-local.yml index 6d703ccd..d00a0783 100644 --- a/boot/platform/src/main/resources/application-local.yml +++ b/boot/platform/src/main/resources/application-local.yml @@ -4,7 +4,7 @@ logging: web: debug com.platform.boot.*: debug org.springframework.r2dbc: debug - io.r2dbc.postgresql.QUERY: debug + #io.r2dbc.postgresql.QUERY: debug io.r2dbc.postgresql.PARAM: debug server.port: 8080