代码修改
parent
327874d396
commit
35d7202fc3
|
@ -365,6 +365,8 @@ namespace IRaCIS.Core.Application.Contracts.DTO
|
||||||
|
|
||||||
public Guid StudyId { get; set; }
|
public Guid StudyId { get; set; }
|
||||||
|
|
||||||
|
public Guid SubjectVisitId { get; set; }
|
||||||
|
|
||||||
public int StudyStatus { get; set; }
|
public int StudyStatus { get; set; }
|
||||||
|
|
||||||
public string StudyCode { get; set; } = string.Empty;
|
public string StudyCode { get; set; } = string.Empty;
|
||||||
|
|
|
@ -216,7 +216,7 @@ namespace IRaCIS.Application.Services
|
||||||
var query = _readingClinicalDataRepository.AsQueryable();
|
var query = _readingClinicalDataRepository.AsQueryable();
|
||||||
if (inDto.StudyId != null)
|
if (inDto.StudyId != null)
|
||||||
{
|
{
|
||||||
query = query.Where(x => x.StudyId == inDto.StudyId.Value && x.TrialId == inDto.TrialId && x.SubjectId == inDto.SubjectId);
|
query = query.Where(x => x.StudyId == inDto.StudyId.Value && x.ReadingId == inDto.SubjectVisitId);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -172,11 +172,14 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
{
|
{
|
||||||
public Guid SubjectVisitId { get; set; }
|
public Guid SubjectVisitId { get; set; }
|
||||||
|
|
||||||
public Guid TrialId { get; set; }
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
public Guid SubjectId { get; set; }
|
//public Guid TrialId { get; set; }
|
||||||
|
|
||||||
public bool IsBaseline { get; set; }
|
public Guid SubjectId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
public bool IsBaseline { get; set; }
|
||||||
|
|
||||||
public Guid? StudyId { get; set; }
|
public Guid? StudyId { get; set; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue