zs hace 8 meses
padre
commit
fb22103111
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/main/java/com/free/controller/ChatRecordController.java

+ 1 - 1
src/main/java/com/free/controller/ChatRecordController.java

@@ -116,7 +116,7 @@ public class ChatRecordController {
     Long skip = null, limit = null;
     Map map = new HashMap();
     QueryWrapper qw = new QueryWrapper<>();
-    qw.orderByAsc("time");
+    qw.orderByDesc("time");
     /** 参数处理处理 */
     for (String key : allParams.keySet()) {
       Object value = allParams.get(key);