From fa924736a8c92fef52b6ca202bb1dce8d935fcfa Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Mon, 11 Apr 2022 16:14:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9C=80=E6=99=9A=E6=9C=80?= =?UTF-8?q?=E6=97=A9=E6=8B=8D=E7=89=87=E6=97=A5=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs | 2 ++ IRaCIS.Core.Application/Service/QC/QCListService.cs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs b/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs index a29ca59f8..778623c2c 100644 --- a/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs +++ b/IRaCIS.Core.Application/Service/QC/DTO/QARecordViewModel.cs @@ -312,7 +312,9 @@ namespace IRaCIS.Core.Application.Contracts.DTO public int SubjectAge { get; set; } public string SubjectSex { get; set; } = String.Empty; + public DateTime? EarliestScanDate { get; set; } + public DateTime? LatestScanDate { get; set; } public decimal VisitNum { get; set; } public string VisitName { get; set; } = string.Empty; //public DateTime? SVSTDTC { get; set; } diff --git a/IRaCIS.Core.Application/Service/QC/QCListService.cs b/IRaCIS.Core.Application/Service/QC/QCListService.cs index 2e1e0d226..9cd4b65da 100644 --- a/IRaCIS.Core.Application/Service/QC/QCListService.cs +++ b/IRaCIS.Core.Application/Service/QC/QCListService.cs @@ -523,7 +523,7 @@ namespace IRaCIS.Core.Application.Image.QA [HttpGet("{subjectVisitId:guid}/{trialQCProcess:int}/{currentQCType:int}")] public async Task GetVisitQCInfo(Guid subjectVisitId, [FromRoute] TrialQCProcess trialQCProcess, [FromRoute] CurrentQC currentQCType) { - var sv = await _subjectVisitRepository.FirstOrDefaultAsync(t => t.Id == subjectVisitId).IfNullThrowException(); + var sv = (await _subjectVisitRepository.FirstOrDefaultAsync(t => t.Id == subjectVisitId)).IfNullThrowException(); if (currentQCType == CurrentQC.First) {