|
|
@@ -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;
|
|
|
}
|
|
|
}
|