Исправлена ошибка синхронизации
This commit is contained in:
@@ -101,12 +101,12 @@ namespace PARR.EsppTemplateSync.Services
|
||||
) continue;
|
||||
|
||||
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(
|
||||
esppValue!.ToString()!.ToLower())
|
||||
if (parrValue!.ToString()!.ToLower() !=
|
||||
esppValue!.ToString()!.ToLower()
|
||||
)
|
||||
{
|
||||
isChanged = true;
|
||||
|
||||
Reference in New Issue
Block a user