frame
parent
0bb49cbe6c
commit
bea0811eb8
|
@ -315,11 +315,11 @@ namespace IRaCIS.Core.Application.Services
|
||||||
if (item != null)
|
if (item != null)
|
||||||
{
|
{
|
||||||
item.SeriesInstanceUid = string.Empty;
|
item.SeriesInstanceUid = string.Empty;
|
||||||
|
|
||||||
|
item.InstanceList = thisRowinfo.Where(y => y.InstanceId != null).Select(y => y.InstanceId.Value).ToList();
|
||||||
|
|
||||||
|
var tempInstanceList = await _repository.Where<DicomInstance>(t => item.InstanceList.Contains(t.Id)).OrderBy(t => t.InstanceNumber)
|
||||||
var tempInstanceList = thisRowinfo.Where(y => y.InstanceId != null).Select(y => new { InstanceId = y.InstanceId.Value, y.Instance.Path, y.Instance.NumberOfFrames }).Distinct().ToList();
|
.Select(t => new { t.Path, t.NumberOfFrames }).ToListAsync();
|
||||||
|
|
||||||
item.InstanceList = tempInstanceList.Select(y => y.InstanceId).ToList();
|
|
||||||
|
|
||||||
|
|
||||||
item.InstancePathList = tempInstanceList.SelectMany(u =>
|
item.InstancePathList = tempInstanceList.SelectMany(u =>
|
||||||
|
|
Loading…
Reference in New Issue