多模态过滤
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
374f024f85
commit
8378e8f2d6
|
@ -3078,7 +3078,7 @@ namespace IRaCIS.Application.Services
|
|||
//看当前前端有没有传递modality,有的话以前端为准,没有的话以配置为准 构造同样数量的请求
|
||||
var requestModalityList = (inQuery.ModalitiesInStudyList != null && inQuery.ModalitiesInStudyList.Count > 0) ? inQuery.ModalitiesInStudyList : find.ModalityList;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (inQuery.TrialId == null)
|
||||
|
@ -3119,7 +3119,7 @@ namespace IRaCIS.Application.Services
|
|||
await client.AddRequestAsync(request);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
await client.SendAsync();
|
||||
}
|
||||
else
|
||||
|
@ -3227,6 +3227,11 @@ namespace IRaCIS.Application.Services
|
|||
result = result.Where(t => t.IsStudyExist == false).ToList();
|
||||
}
|
||||
|
||||
//查询的时候不支持多模态的可以去重一下,支持多模态的本身处理了分组过滤也不影响
|
||||
|
||||
result = result.GroupBy(t => t.StudyInstanceUID).Select(g => g.First()).ToList();
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue