序列返回窗宽床位
This commit is contained in:
@@ -400,7 +400,7 @@ namespace IRaCIS.Core.Application.Services
|
||||
var studyIds = studyList.Select(t => t.StudyId).ToList();
|
||||
|
||||
var instanceList = await _repository.Where<DicomInstance>(t => studyIds.Contains(t.StudyId))
|
||||
.Select(t => new { t.SeriesId, t.Id, t.InstanceNumber, t.Path, t.NumberOfFrames }).ToListAsync();
|
||||
.Select(t => new { t.SeriesId, t.Id, t.InstanceNumber, t.Path, t.NumberOfFrames,t.WindowCenter,t.WindowWidth }).ToListAsync();
|
||||
|
||||
|
||||
|
||||
@@ -441,6 +441,9 @@ namespace IRaCIS.Core.Application.Services
|
||||
}
|
||||
})
|
||||
.ToList();
|
||||
|
||||
series.WindowWidth = instanceList.FirstOrDefault()?.WindowWidth;
|
||||
series.WindowCenter = instanceList.FirstOrDefault()?.WindowCenter;
|
||||
});
|
||||
|
||||
//设置为阅片与否 不更改数据库检查 的instance数量 和 SeriesCount 所以这里要实时统计
|
||||
|
||||
Reference in New Issue
Block a user