Uat_Study
parent
2d659bc1c9
commit
77ae724aea
|
@ -151,7 +151,7 @@ namespace IRaCIS.Core.Application.Service.Inspection
|
||||||
ObjectRelationParentId = data.ObjectRelationParentId,
|
ObjectRelationParentId = data.ObjectRelationParentId,
|
||||||
GeneralId = data.GeneralId,
|
GeneralId = data.GeneralId,
|
||||||
|
|
||||||
//TrialReadingCriterionName= leftCriterion.CriterionName
|
//TrialReadingCriterionName = data.TrialReadingCriterion.CriterionName
|
||||||
};
|
};
|
||||||
|
|
||||||
query = query.WhereIf(dto.SiteId != null, x => x.SiteId == dto.SiteId)
|
query = query.WhereIf(dto.SiteId != null, x => x.SiteId == dto.SiteId)
|
||||||
|
@ -175,7 +175,7 @@ namespace IRaCIS.Core.Application.Service.Inspection
|
||||||
#endregion
|
#endregion
|
||||||
.WhereIf(dto.BatchId != null, x => x.BatchId == dto.BatchId)
|
.WhereIf(dto.BatchId != null, x => x.BatchId == dto.BatchId)
|
||||||
.WhereIf(dto.BatchId == null && dto.GeneralId != null, x => x.GeneralId == dto.GeneralId)
|
.WhereIf(dto.BatchId == null && dto.GeneralId != null, x => x.GeneralId == dto.GeneralId)
|
||||||
.WhereIf(dto.TrialReadingCriterionId == null, x => x.TrialReadingCriterionId == dto.TrialReadingCriterionId)
|
.WhereIf(dto.TrialReadingCriterionId != null, x => x.TrialReadingCriterionId == dto.TrialReadingCriterionId)
|
||||||
|
|
||||||
|
|
||||||
.WhereIf(!dto.SubjectInfo.IsNullOrEmpty(), x => x.SubjectCode.Contains(dto.SubjectInfo))
|
.WhereIf(!dto.SubjectInfo.IsNullOrEmpty(), x => x.SubjectCode.Contains(dto.SubjectInfo))
|
||||||
|
|
|
@ -152,6 +152,8 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
|
|
||||||
public Guid? DoctorUserId { get; set; }
|
public Guid? DoctorUserId { get; set; }
|
||||||
|
|
||||||
|
[ForeignKey("TrialReadingCriterionId")]
|
||||||
|
public ReadingQuestionCriterionTrial TrialReadingCriterion { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue