查询增加 subject退出状态
This commit is contained in:
+4
@@ -30,6 +30,8 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||
public string TrialSiteCode { get; set; }
|
||||
public SubjectStatus SubjectStatus { get; set; }
|
||||
|
||||
public bool IsSubjectQuit { get; set; }
|
||||
|
||||
public List<EvaluationInfo> FinalEvaluationList { get; set; } = new List<EvaluationInfo>();
|
||||
|
||||
|
||||
@@ -66,6 +68,8 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||
public bool? IsImageFiltering { get; set; }
|
||||
|
||||
public bool? IsJoinEvaluation { get; set; }
|
||||
|
||||
public bool? IsSubjectQuit { get; set; }
|
||||
}
|
||||
|
||||
///<summary> SubjectCriteriaEvaluationAddOrEdit 列表查询参数模型</summary>
|
||||
|
||||
+2
@@ -78,6 +78,7 @@ namespace IRaCIS.Core.Application.Service
|
||||
.WhereIf(!string.IsNullOrWhiteSpace(inQuery.SubjectCode), t => t.Code.Contains(inQuery.SubjectCode))
|
||||
.WhereIf(!string.IsNullOrWhiteSpace(inQuery.TrialSiteCode), t => t.TrialSite.TrialSiteCode.Contains(inQuery.TrialSiteCode))
|
||||
.WhereIf(inQuery.SubjectStatus != null, t => t.Status == inQuery.SubjectStatus)
|
||||
.WhereIf(inQuery.IsSubjectQuit != null, t => t.IsSubjectQuit == inQuery.IsSubjectQuit)
|
||||
|
||||
join subjectCriteriaEvaluation in _subjectCriteriaEvaluationRepository
|
||||
.Where(t => t.TrialReadingCriterionId == inQuery.TrialReadingCriterionId)
|
||||
@@ -90,6 +91,7 @@ namespace IRaCIS.Core.Application.Service
|
||||
SubjectCode = subject.Code,
|
||||
SubjectId = subject.Id,
|
||||
SubjectStatus = subject.Status,
|
||||
IsSubjectQuit = subject.IsSubjectQuit,
|
||||
TrialSiteCode = subject.TrialSite.TrialSiteCode,
|
||||
|
||||
Id = subjectCriteriaEvaluation.Id,
|
||||
|
||||
Reference in New Issue
Block a user