From fa5bba19acecdae9cfc23be1ae5a508783797a7d Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Wed, 30 Oct 2024 14:43:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=9C=80=E6=B1=82=E5=90=8C=E6=AD=A5=E6=B2=A1?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=8B=E4=B8=80=E6=AC=A1=E8=A7=A6=E5=8F=91?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/metersphere/system/service/BaseScheduleService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/service/BaseScheduleService.java b/backend/services/system-setting/src/main/java/io/metersphere/system/service/BaseScheduleService.java index 82e9475bf2..777c98acee 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/service/BaseScheduleService.java +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/service/BaseScheduleService.java @@ -40,7 +40,7 @@ public class BaseScheduleService { } private void doHandleSchedule(List schedules) { - List resourceTypes = List.of(ScheduleResourceType.API_IMPORT.name(), ScheduleResourceType.API_SCENARIO.name(), ScheduleResourceType.TEST_PLAN.name(), ScheduleResourceType.BUG_SYNC.name()); + List resourceTypes = List.of(ScheduleResourceType.API_IMPORT.name(), ScheduleResourceType.API_SCENARIO.name(), ScheduleResourceType.TEST_PLAN.name(), ScheduleResourceType.BUG_SYNC.name(), ScheduleResourceType.DEMAND_SYNC.name()); schedules.forEach(schedule -> { try { if (schedule.getEnable()) {