修改对接bug
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-14 09:45:29 +08:00
parent 849f48db25
commit 0fdcc7c56e
5 changed files with 12 additions and 10 deletions
@@ -382,7 +382,7 @@ namespace IRaCIS.Core.Application.Contracts
public string HtmlPath { get; set; } = string.Empty;
public long FileSize { get; set; }
public long FileSize { get; set; }
}
public class CRCUploadTaskQuery
@@ -578,7 +578,7 @@ namespace IRaCIS.Core.Application.Contracts
}
public class TrialIamgeDownQuery:PageInput
public class TrialIamgeDownQuery : PageInput
{
[NotDefault]
public Guid TrialId { get; set; }
@@ -595,6 +595,8 @@ namespace IRaCIS.Core.Application.Contracts
public DateTime? DownloadEndTime { get; set; }
public string? IP { get; set; }
public string? Name { get; set}
}
public class SubjectVisitTaskInfo
@@ -997,6 +997,7 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
var query = _trialImageDownloadRepository.Where(t => t.TrialId == inQuery.TrialId)
.WhereIf(inQuery.SubjectCode.IsNotNullOrEmpty(), t => t.SubjectCode.Contains(inQuery.SubjectCode))
.WhereIf(inQuery.IP.IsNotNullOrEmpty(), t => t.IP.Contains(inQuery.IP))
.WhereIf(inQuery.Name.IsNotNullOrEmpty(), t => t.CreateUser.UserName.Contains(inQuery.Name) || t.CreateUser.FullName.Contains(inQuery.Name))
.WhereIf(inQuery.ImageType != null, t => t.ImageType == inQuery.ImageType)
.WhereIf(inQuery.UserType != null, t => t.CreateUser.UserTypeEnum == inQuery.UserType)
.WhereIf(inQuery.IsSuccess != null, t => t.IsSuccess == inQuery.IsSuccess)