Przeglądaj źródła

解决售后单列表的排序问题

lifenlong 4 lat temu
rodzic
commit
9e240f22b6

+ 4 - 4
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

+ 0 - 2
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;
     }