Эх сурвалжийг харах

修改内部状态查询定时任务

785834757 2 жил өмнө
parent
commit
6d8a83dc18

+ 2 - 2
src/main/java/com/ydtech/modules/xxl/handler/QueryStatusHandler.java

@@ -114,8 +114,8 @@ public class QueryStatusHandler {
         LocalDateTime previous24Hours = currentTime.minus(Duration.ofHours(24));
         DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
         LocalDateTime current = LocalDateTime.now();
-        components.put("startTime",current.format(formatter));
-        components.put("endTime",previous24Hours.format(formatter));
+        components.put("startTime",previous24Hours.format(formatter));
+        components.put("endTime",current.format(formatter));
         return components;
     }
 }