@@ -569,6 +569,7 @@ namespace IRaCIS.Core.Application.Services
|
||||
StudyId = x.StudyId,
|
||||
InstanceId = x.InstanceId,
|
||||
NumberOfFrames = x.NumberOfFrames,
|
||||
CreateTime=x.CreateTime,
|
||||
}).ToListAsync();
|
||||
|
||||
|
||||
@@ -581,6 +582,7 @@ namespace IRaCIS.Core.Application.Services
|
||||
StudyId = x.StudyId,
|
||||
InstanceId = x.InstanceId,
|
||||
NumberOfFrames = x.NumberOfFrames,
|
||||
CreateTime = x.CreateTime,
|
||||
}).ToListAsync();
|
||||
|
||||
rowInfoList.AddRange(customoList);
|
||||
@@ -627,7 +629,7 @@ namespace IRaCIS.Core.Application.Services
|
||||
|
||||
item.InstanceInfoList.ForEach(x =>
|
||||
{
|
||||
|
||||
x.RowDate = rowInfoList.FirstOrDefault(y => y.InstanceId == x.Id)?.CreateTime ?? DateTime.Now;
|
||||
var keyFramesList = rowInfoList.Where(y => y.InstanceId == x.Id && y.NumberOfFrames != 0 && y.NumberOfFrames != null).Select(y => y.NumberOfFrames).Distinct().ToList();
|
||||
|
||||
if (keyFramesList.Count() > 0)
|
||||
@@ -644,7 +646,7 @@ namespace IRaCIS.Core.Application.Services
|
||||
|
||||
});
|
||||
|
||||
item.InstanceInfoList.OrderBy(x => x.ShowOrder).ThenBy(x => x.RowIndex).ToList();
|
||||
item.InstanceInfoList = item.InstanceInfoList.OrderBy(x => x.RowDate).ToList();
|
||||
|
||||
|
||||
item.InstanceCount = item.InstanceInfoList.Count;
|
||||
|
||||
Reference in New Issue
Block a user