feat(api, dal, activator, distributor): RobotConfigurationService - добавлена логика, статус Updating шаблону можно поставить если у него есть ScheduleEsppId.
This commit is contained in:
@@ -75,7 +75,8 @@ namespace PARR.TemplateDistributor
|
||||
|
||||
// ставим задание роботу - обновить расписания
|
||||
var config = robotConfigurationService.GetFromTemplateByRobotCode(RobotsEnum.ScheduleOrder, templateDb);
|
||||
robotConfigurationService.ChangeTaskStatus(TaskStatusEnum.Updating, config);
|
||||
//robotConfigurationService.ChangeTaskStatus(TaskStatusEnum.Updating, config);
|
||||
robotConfigurationService.SetUpdateTaskStatusIfAllow(config);
|
||||
|
||||
updatedCount++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user