From 9e240f22b67f8c1635d0f9aad63f1e9b701539ff Mon Sep 17 00:00:00 2001 From: lifenlong Date: Thu, 8 Jul 2021 09:59:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=94=AE=E5=90=8E=E5=8D=95?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E7=9A=84=E6=8E=92=E5=BA=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/application.yml | 8 ++++---- .../order/order/entity/vo/AfterSaleSearchParams.java | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/config/application.yml b/config/application.yml index 10cc791b..2193b51f 100644 --- a/config/application.yml +++ b/config/application.yml @@ -121,7 +121,7 @@ spring: props: #是否打印逻辑SQL语句和实际SQL语句,建议调试时打印,在生产环境关闭 sql: - show: false + show: true # 忽略鉴权url ignored: @@ -196,9 +196,9 @@ logging: # 输出级别 level: cn.lili: info - org.hibernate: debug - org.springframework: debug - org.springframework.data.mongodb.core: debug +# org.hibernate: debug +# org.springframework: debug +# org.springframework.data.mongodb.core: debug file: # 指定路径 path: lili-logs diff --git a/framework/src/main/java/cn/lili/modules/order/order/entity/vo/AfterSaleSearchParams.java b/framework/src/main/java/cn/lili/modules/order/order/entity/vo/AfterSaleSearchParams.java index 36001982..2de3d6ec 100644 --- a/framework/src/main/java/cn/lili/modules/order/order/entity/vo/AfterSaleSearchParams.java +++ b/framework/src/main/java/cn/lili/modules/order/order/entity/vo/AfterSaleSearchParams.java @@ -111,8 +111,6 @@ public class AfterSaleSearchParams extends PageVO { } this.betweenWrapper(queryWrapper); queryWrapper.eq("delete_flag", false); - - queryWrapper.orderByDesc("create_time"); return queryWrapper; }