Compare commits

...

2 Commits

Author SHA1 Message Date
he 61780a3fe8 Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing Details
2024-09-04 09:50:54 +08:00
he 35d7202fc3 代码修改 2024-09-04 09:50:51 +08:00
3 changed files with 9 additions and 4 deletions

View File

@ -365,6 +365,8 @@ namespace IRaCIS.Core.Application.Contracts.DTO
public Guid StudyId { get; set; }
public Guid SubjectVisitId { get; set; }
public int StudyStatus { get; set; }
public string StudyCode { get; set; } = string.Empty;

View File

@ -216,7 +216,7 @@ namespace IRaCIS.Application.Services
var query = _readingClinicalDataRepository.AsQueryable();
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
{

View File

@ -172,11 +172,14 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
{
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; }