@@ -195,8 +195,8 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
|
||||
Modalities = t.Modalities,
|
||||
SeriesCount = t.SeriesCount,
|
||||
|
||||
ReadingInstanceCount=t.InstanceList.Where(t=>t.IsReading && t.DicomSerie.IsReading).Count(),
|
||||
ReadingSeriesCount= t.SeriesList.Where(t => t.IsReading).Count(),
|
||||
ReadingInstanceCount = t.InstanceList.Where(t => t.IsReading && t.DicomSerie.IsReading).Count(),
|
||||
ReadingSeriesCount = t.SeriesList.Where(t => t.IsReading).Count(),
|
||||
}).ToList(),
|
||||
|
||||
UploadStudyList = u.TaskStudyList.Select(t => new StudyBasicInfo()
|
||||
@@ -731,7 +731,7 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
|
||||
Path = t.Path
|
||||
}).ToList(),
|
||||
|
||||
ReadingFileCount= ns.FileCount,
|
||||
ReadingFileCount = ns.FileCount,
|
||||
|
||||
};
|
||||
|
||||
@@ -1126,7 +1126,7 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
|
||||
HtmlPath = k.HtmlPath,
|
||||
Path = k.Path,
|
||||
InstanceNumber = k.InstanceNumber,
|
||||
FileSize=k.FileSize,
|
||||
FileSize = k.FileSize,
|
||||
}).ToList()
|
||||
})
|
||||
});
|
||||
@@ -1228,9 +1228,9 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
|
||||
//DicomImageSize = t.StudyList.SelectMany(t => t.InstanceList).Sum(t => t.FileSize),
|
||||
//NoneDicomImageSize = t.NoneDicomStudyList.SelectMany(t => t.NoneDicomFileList).Sum(t => t.FileSize)
|
||||
});
|
||||
var defalutSortArray = new string[] { nameof(TrialVisitImageStatView.TrialSiteCode), nameof(QCCRCVisitViewModel.SubjectCode), nameof(QCCRCVisitViewModel.VisitNum) };
|
||||
|
||||
|
||||
var pagelist = await query.Where(t => t.TotalImageCount > 0).ToPagedListAsync(inQuery);
|
||||
var pagelist = await query.Where(t => t.TotalImageCount > 0).ToPagedListAsync(inQuery, defalutSortArray);
|
||||
|
||||
return ResponseOutput.Ok(pagelist);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user