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

Test_HIR_Net8
hang 2024-12-19 10:03:56 +08:00
parent 982bd80898
commit 364b84fd1c
1 changed files with 11 additions and 1 deletions

View File

@ -3008,6 +3008,16 @@ namespace IRaCIS.Application.Services
};
//判断前段有没有传递时间
if (find.PacsSearchMaxDays != 0)
{
//0 天 + 前端不传递就是不限制
inQuery.StudyDate = inQuery.StudyDate.IsNullOrEmpty() ? $"{DateTime.Now.AddDays(-(find.PacsSearchMaxDays - 1)).ToString("yyyyMMdd")}-{DateTime.Now.ToString("yyyyMMdd")}" : "";
}
//看当前前端有没有传递modality有的话以前端为准没有的话以配置为准 构造同样数量的请求
@ -3051,7 +3061,7 @@ namespace IRaCIS.Application.Services
public async Task<Dictionary<string, object>> CMoveVerify(SCUCmoveCommand inCommand)
{
var existStudyIdList = _studyRepository.Where(t => inCommand.StudyInstanceUIDList.Contains(t.StudyInstanceUid))
.Select(t => new { t.StudyInstanceUid, t.StudyId, PatientId = t.PatientIdStr, t.AccessionNumber,t.PatientName }).ToList();
.Select(t => new { t.StudyInstanceUid, t.StudyId, PatientId = t.PatientIdStr, t.AccessionNumber, t.PatientName }).ToList();
var dic = new Dictionary<string, object>();
foreach (var item in inCommand.StudyInstanceUIDList)