@@ -81,6 +81,8 @@ namespace IRaCIS.Core.Application.Contracts.Dicom.DTO
|
|||||||
|
|
||||||
public Guid? StudyId { get; set; }
|
public Guid? StudyId { get; set; }
|
||||||
|
|
||||||
|
public List<int?> KeyFramesList{ get; set; }
|
||||||
|
|
||||||
public Guid? SeriesId { get; set; }
|
public Guid? SeriesId { get; set; }
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
|
|||||||
@@ -586,7 +586,7 @@ namespace IRaCIS.Core.Application.Services
|
|||||||
|
|
||||||
var markInstanceIdList = rowInfoList.Where(y => y.InstanceId != null).OrderBy(x => x.ShowOrder).ThenBy(x => x.RowIndex).Select(y => y.InstanceId!.Value).Distinct().ToList();
|
var markInstanceIdList = rowInfoList.Where(y => y.InstanceId != null).OrderBy(x => x.ShowOrder).ThenBy(x => x.RowIndex).Select(y => y.InstanceId!.Value).Distinct().ToList();
|
||||||
|
|
||||||
item.InstanceInfoList = await _dicomInstanceRepository.Where(t => markInstanceIdList.Contains(t.Id)).OrderBy(t => t.InstanceNumber).Select(k =>
|
item.InstanceInfoList = await _dicomInstanceRepository.Where(t => markInstanceIdList.Contains(t.Id)).Select(k =>
|
||||||
new InstanceBasicInfo()
|
new InstanceBasicInfo()
|
||||||
{
|
{
|
||||||
Id = k.Id,
|
Id = k.Id,
|
||||||
@@ -601,6 +601,7 @@ namespace IRaCIS.Core.Application.Services
|
|||||||
item.InstanceInfoList.ForEach(x =>
|
item.InstanceInfoList.ForEach(x =>
|
||||||
{
|
{
|
||||||
|
|
||||||
|
x.KeyFramesList = rowInfoList.Where(y => y.InstanceId == x.Id).Select(y => y.NumberOfFrames).Distinct().ToList();
|
||||||
var item = rowInfoList.FirstOrDefault(y => y.InstanceId == x.Id);
|
var item = rowInfoList.FirstOrDefault(y => y.InstanceId == x.Id);
|
||||||
if (item != null)
|
if (item != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user