diff --git a/gather-app/src/main/java/com/ruoyi/database/controller/PeopleVehicleHourFlowController.java b/gather-app/src/main/java/com/ruoyi/database/controller/PeopleVehicleHourFlowController.java index d9e2625..f75db80 100644 --- a/gather-app/src/main/java/com/ruoyi/database/controller/PeopleVehicleHourFlowController.java +++ b/gather-app/src/main/java/com/ruoyi/database/controller/PeopleVehicleHourFlowController.java @@ -40,7 +40,7 @@ public class PeopleVehicleHourFlowController extends BaseController { String countString = flow.getStatisticCount(); String timeString = flow.getStatisticTime(); // 将时间字符串转换为 LocalDate - LocalDate time = LocalDate.parse(timeString, DateTimeFormatter.ofPattern("yyyy-MM-dd")); + LocalDate time = LocalDate.parse(timeString, DateTimeFormatter.ofPattern("yyyy-MM-dd 00:00")); // 将计数字符串转换为 Long Long count = Long.parseLong(countString);