Исправлена ошибка синхронизации
This commit is contained in:
@@ -101,12 +101,12 @@ namespace PARR.EsppTemplateSync.Services
|
|||||||
) continue;
|
) continue;
|
||||||
|
|
||||||
var parrValue = template.GetType().GetProperty(prop.Name)?.GetValue(template, null);
|
var parrValue = template.GetType().GetProperty(prop.Name)?.GetValue(template, null);
|
||||||
var esppValue = esppTemplate.GetType().GetProperty(prop.Name)?.GetValue(template, null);
|
var esppValue = esppTemplate.GetType().GetProperty(prop.Name)?.GetValue(esppTemplate, null);
|
||||||
|
|
||||||
if (parrValue == null || esppValue == null) continue;
|
if (parrValue == null || esppValue == null) continue;
|
||||||
|
|
||||||
if (parrValue!.ToString()!.ToLower().Equals(
|
if (parrValue!.ToString()!.ToLower() !=
|
||||||
esppValue!.ToString()!.ToLower())
|
esppValue!.ToString()!.ToLower()
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
isChanged = true;
|
isChanged = true;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user