fix(aihitSyncer): при получении Host добавлен include рабочей группы, во время сравнения поля WorkGroup объекта из АИХ ИТ в ПАРР значение было null
This commit is contained in:
@@ -40,7 +40,11 @@ namespace PARR.DAL.Services.Implementations
|
|||||||
|
|
||||||
private IQueryable<Host> GetHostWithIncludeApps()
|
private IQueryable<Host> GetHostWithIncludeApps()
|
||||||
{
|
{
|
||||||
return EntitySet.Include(t => t.ApplicationsInHosts).ThenInclude(a => a.Application).ThenInclude(t => t!.ApplicationType);
|
return EntitySet
|
||||||
|
.Include(t => t.ApplicationsInHosts)
|
||||||
|
.ThenInclude(a => a.Application)
|
||||||
|
.ThenInclude(t => t!.ApplicationType)
|
||||||
|
.Include(t => t.WorkGroup);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user