fix(esppTemplateSync): при синхронизации сравнивать инициатора
This commit is contained in:
@@ -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; }
|
||||||
|
|||||||
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user