合并
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
hang 2025-02-13 16:16:18 +08:00
commit 9316c0814f
1 changed files with 20 additions and 10 deletions

View File

@ -261,8 +261,6 @@ namespace IRaCIS.Core.Application.Services
IsReading = k.IsReading, IsReading = k.IsReading,
IsDeleted = k.IsDeleted, IsDeleted = k.IsDeleted,
}).ToList(); }).ToList();
series.InstanceCount=series.InstanceInfoList.Count;
} }
); );
@ -527,6 +525,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 +727,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;