feat(api,dal): исключения расписаний ЕСПП привязаны к JobGroup, удалены константы из настроек. Кол-во шаблонов в Job считается только used. В JobFieldFilter добавлено поле IsInverse.
This commit is contained in:
@@ -139,7 +139,7 @@ namespace PARR.EsppScheduleSync
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
logger.LogDebug("Для шаблона шаблона {templte}, {templateId} установлено исключений календаря \"{name}\", EsppValue: {esppValue}", template.Name, template.Id, template.Job.Group.ScheduleExcludeTypeCalendar.Name, template.Job.Group.ScheduleExcludeTypeCalendar.EsppValue);
|
||||
logger.LogDebug("Для шаблона шаблона {templte}, {templateId} установлено исключений календаря \"{name}\", EsppValue: {esppValue}", template.Name, template.Id, template.Job.Group.ScheduleExcludeTypeCalendar.Title, template.Job.Group.ScheduleExcludeTypeCalendar.EsppValue);
|
||||
|
||||
return template.Job.Group.ScheduleExcludeTypeCalendar.EsppValue;
|
||||
}
|
||||
@@ -160,7 +160,7 @@ namespace PARR.EsppScheduleSync
|
||||
return "NONE";
|
||||
}
|
||||
|
||||
logger.LogDebug("Для шаблона шаблона {templte}, {templateId} тип исключения \"{name}\", EsppValue: {esppValue}", template.Name, template.Id, template.Job.Group.ScheduleExcludeType.Name, template.Job.Group.ScheduleExcludeType.EsppValue);
|
||||
logger.LogDebug("Для шаблона шаблона {templte}, {templateId} тип исключения \"{name}\", EsppValue: {esppValue}", template.Name, template.Id, template.Job.Group.ScheduleExcludeType.Title, template.Job.Group.ScheduleExcludeType.EsppValue);
|
||||
|
||||
return template.Job.Group.ScheduleExcludeType.EsppValue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user