@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user