修改时间查询
continuous-integration/drone/push Build is passing Details

Test_HIR_Net8
hang 2025-03-25 09:25:28 +08:00
parent ecd33d969b
commit 445ee00840
1 changed files with 6 additions and 2 deletions

View File

@ -3071,14 +3071,18 @@ namespace IRaCIS.Application.Services
}; };
//看当前前端有没有传递modality有的话以前端为准没有的话以配置为准 构造同样数量的请求 //看当前前端有没有传递modality有的话以前端为准没有的话以配置为准 构造同样数量的请求
var requestModalityList = (inQuery.ModalitiesInStudyList != null && inQuery.ModalitiesInStudyList.Count > 0) ? inQuery.ModalitiesInStudyList : find.ModalityList; var requestModalityList = (inQuery.ModalitiesInStudyList != null && inQuery.ModalitiesInStudyList.Count > 0) ? inQuery.ModalitiesInStudyList : find.ModalityList;
//支持多模态的Pacs
var modality = string.Join($"\\", requestModalityList); var modality = string.Join($"\\", requestModalityList);
if (inQuery.TrialId == null) if (inQuery.TrialId == null)
{ {
//判断前段有没有传递时间 //判断前段有没有传递时间
if (find.PacsSearchMaxDays != 0) if (find.PacsSearchMaxDays != 0)
{ {
@ -3143,7 +3147,7 @@ namespace IRaCIS.Application.Services
} }
var request = CreateStudyRequest(cloneInQuery, modality); var request = CreateStudyRequest(cloneInQuery, "");
request.OnResponseReceived += responseDelegate; request.OnResponseReceived += responseDelegate;
await client.AddRequestAsync(request); await client.AddRequestAsync(request);