From d30093dfefed6d3aafbe495270f0486e763fec85 Mon Sep 17 00:00:00 2001 From: Mikhail Kuznetsov Date: Thu, 21 Aug 2025 15:23:46 +1000 Subject: [PATCH] =?UTF-8?q?fix(esppScheduleSync):=20=D0=B8=D1=81=D0=BF?= =?UTF-8?q?=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=20Id=20=D0=BE=D0=B1=D1=8A?= =?UTF-8?q?=D0=B5=D0=BA=D1=82=D0=B0=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B4=D0=B0?= =?UTF-8?q?=D0=B2=D0=B0=D0=B5=D0=BC=D0=BE=D0=B3=D0=BE=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20=D0=BF=D0=BE=D0=B8=D1=81=D0=BA=D0=B0=20=D1=80=D0=B0=D1=81?= =?UTF-8?q?=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B8=D1=8F,=20=D0=B2=D0=BC?= =?UTF-8?q?=D0=B5=D1=81=D1=82=D0=BE=20GroupId=20=D0=BF=D0=B5=D1=80=D0=B5?= =?UTF-8?q?=D0=B4=D0=B0=D0=B2=D0=B0=D0=BB=D0=B8=20JobId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PARR.EsppScheduleSync/ScheduleSyncher.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PARR.EsppScheduleSync/ScheduleSyncher.cs b/PARR.EsppScheduleSync/ScheduleSyncher.cs index 6a499c98..3b8bf0b1 100644 --- a/PARR.EsppScheduleSync/ScheduleSyncher.cs +++ b/PARR.EsppScheduleSync/ScheduleSyncher.cs @@ -133,7 +133,7 @@ namespace PARR.EsppScheduleSync if (esppSchTypeConfigService == null) throw new Exception($"Не найден сервис: {nameof(IEsppSchTypeConfigService)}"); - var esppSchedule = esppSchTypeConfigService.GetEsppScheduleDto(template.JobId); + var esppSchedule = esppSchTypeConfigService.GetEsppScheduleDto(template.Job!.GroupId); if (esppSchedule == null) { logger.LogError($"Не смог получить расписание из БД для шаблона templateId: {template.Id}, {template.Name}");