fix(项目设置): 修复需求同步没更新下一次触发时间问题

This commit is contained in:
guoyuqi 2024-10-30 14:43:53 +08:00 committed by Craftsman
parent c45b1307c6
commit fa5bba19ac
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ public class BaseScheduleService {
}
private void doHandleSchedule(List<Schedule> schedules) {
List<String> resourceTypes = List.of(ScheduleResourceType.API_IMPORT.name(), ScheduleResourceType.API_SCENARIO.name(), ScheduleResourceType.TEST_PLAN.name(), ScheduleResourceType.BUG_SYNC.name());
List<String> 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()) {