feat(dal): Добавлена генерация кодового обозначения в подробное описание шаблона, чтобы можно было отследить наряды от агента

This commit is contained in:
Mikhail Kuznetsov
2025-08-19 14:08:25 +10:00
parent 88e71d779c
commit a81f188cb7
2 changed files with 18 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ namespace PARR.TemplateGeneratorWorker
if (!await templateService.CreateAsync(template) || !await templateService.CommitAsync(new HistoryInitiator { InitiatorComment = "Запрос на генерацию с тестового шаблона", InitiatorParrComponentId = ParrComponentsEnum.TemplateGenerator }))
{
logger.LogError($"Ошибка при создании шаблона: Name: {template.Name}, {nameof(template.Job)}: {template.Job}, {nameof(template.Unit)}: {template.UnitId}");
logger.LogError($"Ошибка при создании шаблона: Name: {template.Name}, {nameof(template.Job)}: {template.JobId}, {nameof(template.Unit)}: {template.UnitId}");
}
else
{