fix(esppTemplateSync): при синхронизации сравнивать инициатора

This commit is contained in:
Mikhail Trubnikov
2024-08-14 11:00:32 +10:00
parent ec49097661
commit 0f3def4b3a
2 changed files with 4 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ namespace PARR.EsppTemplateSync.Domain
public required string ResponseArea { get; set; } public required string ResponseArea { get; set; }
public required string Duration { get; set; } public required string Duration { get; set; }
public required string EK { get; set; } public required string EK { get; set; }
//public required string Initiator { get; set; } public required string Initiator { get; set; }
public required string FullDescription { get; set; } public required string FullDescription { get; set; }
//public required string ClosingCode { get; set; } //public required string ClosingCode { get; set; }
public required string Solution { get; set; } public required string Solution { get; set; }

View File

@@ -86,7 +86,8 @@ namespace PARR.EsppTemplateSync
Process = template.ApplicationsInWork.Work!.Tnk!.Subprocess!.Process!.Name, Process = template.ApplicationsInWork.Work!.Tnk!.Subprocess!.Process!.Name,
SubProcess = template.ApplicationsInWork.Work.Tnk.Subprocess.Name, SubProcess = template.ApplicationsInWork.Work.Tnk.Subprocess.Name,
TNK = template.ApplicationsInWork.Work.Tnk.Name.ApplyShortcode(Constants.Shortcode.Shortcodes.EK, template.Host.Ek), TNK = template.ApplicationsInWork.Work.Tnk.Name.ApplyShortcode(Constants.Shortcode.Shortcodes.EK, template.Host.Ek),
Work = template.ApplicationsInWork.Work.Name.ApplyShortcode(Constants.Shortcode.Shortcodes.EK, template.Host.Ek) Work = template.ApplicationsInWork.Work.Name.ApplyShortcode(Constants.Shortcode.Shortcodes.EK, template.Host.Ek),
Initiator = settingsFromDb.Initiator
}; };
return templateFromDb; return templateFromDb;
@@ -147,7 +148,7 @@ namespace PARR.EsppTemplateSync
ResponseArea = responseArea, ResponseArea = responseArea,
Duration = duration, Duration = duration,
EK = ek, EK = ek,
//Initiator = initiator, Initiator = initiator,
FullDescription = Normalize(fullDescription), FullDescription = Normalize(fullDescription),
//ClosingCode = closingCode, //ClosingCode = closingCode,
Solution = Normalize(solution), Solution = Normalize(solution),