feat(dal, aihitSyncer, aihitLoader): добавлена ЗО для РГ. Обновлён список ЗО. Обновлена синхронизация из АИХИТ.
This commit is contained in:
@@ -87,7 +87,7 @@ namespace PARR.AIHITLoader
|
||||
{
|
||||
//var vrt = aihitData.Where(ek => ek.EKFindCode!.StartsWith("ВРТ", true, CultureInfo.GetCultureInfo("ru-RU"))).ToList();
|
||||
|
||||
var vrt = aihitData.Where(ek =>
|
||||
var vrt = aihitData.Where(ek =>
|
||||
ek.EKFindCode!.StartsWith("ВРТ", true, CultureInfo.GetCultureInfo("ru-RU"))
|
||||
|| ek.EKFindCode!.StartsWith("ХСТ", true, CultureInfo.GetCultureInfo("ru-RU"))
|
||||
).ToList();
|
||||
@@ -123,8 +123,11 @@ namespace PARR.AIHITLoader
|
||||
SM = ek.MonitoringServerType,
|
||||
OS = ek.OSType,
|
||||
WorkGroup = ek.WorkGroup,
|
||||
Status = (ek.Status == "00-ГВЦ") ? "99-ГВЦ" : ek.Status!,
|
||||
ResponseArea = ek.ResponseArea!
|
||||
//Status = (ek.Status == "00-ГВЦ") ? "99-ГВЦ" : ek.Status!,
|
||||
//ResponseArea = ek.ResponseArea!
|
||||
Status = ek.Status!,
|
||||
ResponseArea = (ek.ResponseArea == "00-ГВЦ") ? "99-ГВЦ" : ek.ResponseArea!,
|
||||
WorkGroupResponseArea = (ek.WorkGroupResponseArea == "00-ГВЦ") ? "99-ГВЦ" : ek.WorkGroupResponseArea!
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -96,5 +96,7 @@ namespace PARR.AIHITLoader.Models
|
||||
public string? MonitoringServerType { get; set; }
|
||||
[Column("ОС")]
|
||||
public string? OSType { get; set; }
|
||||
[Column("ЗО_РГ")]
|
||||
public string? WorkGroupResponseArea { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user