From 6808b86bbdd8d24de3011ee6a104b005bc2cf49d Mon Sep 17 00:00:00 2001 From: xjm Date: Mon, 14 Oct 2024 14:10:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=88=E4=BB=B6=E6=95=B0=E9=87=8F=E8=B6=8B?= =?UTF-8?q?=E5=8A=BF=E7=BB=9F=E8=AE=A1=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project/xyt/controller/PersonnelPlanLogController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gunshi/project/xyt/controller/PersonnelPlanLogController.java b/src/main/java/com/gunshi/project/xyt/controller/PersonnelPlanLogController.java index 922c4d6..84831c0 100644 --- a/src/main/java/com/gunshi/project/xyt/controller/PersonnelPlanLogController.java +++ b/src/main/java/com/gunshi/project/xyt/controller/PersonnelPlanLogController.java @@ -184,7 +184,7 @@ public class PersonnelPlanLogController extends AbstractCommonFileController{ .filter(item -> { calendar.setTime(item.getPlanDate()); - return calendar.get(Calendar.MONTH) == finalI; + return calendar.get(Calendar.MONTH) + 1 == finalI; }) .toList(); @@ -216,7 +216,7 @@ public class PersonnelPlanLogController extends AbstractCommonFileController{ .filter(item -> { calendar.setTime(item.getStm()); - return calendar.get(Calendar.MONTH) == finalI; + return calendar.get(Calendar.MONTH) + 1 == finalI; }).toList(); echartsData1.setMonth(finalI)