修改阅片看到得instance 序列
continuous-integration/drone/push Build is failing Details

Uat_IRC_Net8
hang 2025-02-13 16:13:52 +08:00
parent ae14a8a530
commit 8bdd9e29ab
1 changed files with 22 additions and 10 deletions

View File

@ -527,6 +527,9 @@ namespace IRaCIS.Core.Application.Services
}).ToList(); }).ToList();
// 设置阅片 不阅片,数字要要重新统计
series.InstanceCount = series.InstanceInfoList.Count;
//series.WindowWidth = instanceList.FirstOrDefault()!.WindowWidth; //series.WindowWidth = instanceList.FirstOrDefault()!.WindowWidth;
//series.WindowCenter = instanceList.FirstOrDefault()!.WindowCenter; //series.WindowCenter = instanceList.FirstOrDefault()!.WindowCenter;
}); });
@ -726,9 +729,18 @@ namespace IRaCIS.Core.Application.Services
#endregion #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(); var result = studyList.Where(x => x.SeriesCount > 0).ToList();
#endregion
return result; return result;