Compare commits

..

No commits in common. "9316c0814febff748df5ce0b896a64c475890d66" and "2a170cc97ec7445c85992577ab2e2fe40c0f1a8f" have entirely different histories.

1 changed files with 10 additions and 20 deletions

View File

@ -261,6 +261,8 @@ namespace IRaCIS.Core.Application.Services
IsReading=k.IsReading,
IsDeleted=k.IsDeleted,
}).ToList();
series.InstanceCount=series.InstanceInfoList.Count;
}
);
@ -525,9 +527,6 @@ namespace IRaCIS.Core.Application.Services
}).ToList();
// 设置阅片 不阅片,数字要要重新统计
series.InstanceCount = series.InstanceInfoList.Count;
//series.WindowWidth = instanceList.FirstOrDefault()!.WindowWidth;
//series.WindowCenter = instanceList.FirstOrDefault()!.WindowCenter;
});
@ -727,18 +726,9 @@ namespace IRaCIS.Core.Application.Services
#endregion
#region 过滤空序列得检查 过滤空instance得序列
foreach (var study in studyList)
{
study.SeriesList = study.SeriesList.Where(t => t.InstanceCount > 0).ToList();
}
var result = studyList.Where(x => x.SeriesCount > 0).ToList();
#endregion
return result;