feat(esppSync, esppTemplateSync, esppScheduleSync): обновлена логика синхронизации полей. Если объект в БД деактивирован, то с ЕСПП сравниваются только поля isActive и название объекта.

This commit is contained in:
Mikhail Trubnikov
2024-02-28 10:17:01 +10:00
parent 9e2350374f
commit efc91584b6
4 changed files with 47 additions and 4 deletions

View File

@@ -66,7 +66,6 @@ namespace PARR.EsppTemplateSync
/// </summary>
/// <param name="template"></param>
/// <returns></returns>
/// <exception cref="NotImplementedException"></exception>
private EsppObjectTemplate ConvertDbObjToEsppObj(Template template)
{
var templateFromDb = new EsppObjectTemplate
@@ -95,7 +94,6 @@ namespace PARR.EsppTemplateSync
/// </summary>
/// <param name="str"></param>
/// <returns></returns>
/// <exception cref="NotImplementedException"></exception>
private EsppObjectTemplate? ParseStrToEsppObject(string str)
{
var splittedContent = str.Split(globalSettings.ParsingSeparator);