lmstack 3 years ago
parent
commit
8c1e5b3d75

+ 1 - 1
src/main/java/cn/fastfun/controller/api/ApiAppDeviceLogController.java

@@ -142,7 +142,7 @@ public class ApiAppDeviceLogController {
         }
 
         if (!StringUtils.isEmpty(param.getOrderBy())) {
-            sql.append(" AND order by " + param.getOrderBy());
+            sql.append(" order by " + param.getOrderBy());
         }