From 47d63c39daff897089c903de5673c44b2326c55a Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Mon, 4 Jul 2022 14:55:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Reading/Dto/ReadingMedicalReviewDto.cs | 2 +- .../Service/Reading/ReadingMedicalReviewService.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicalReviewDto.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicalReviewDto.cs index 9106e2658..aa754e246 100644 --- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicalReviewDto.cs +++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicalReviewDto.cs @@ -198,7 +198,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto public class TaskInfo { - public Guid TaskId { get; set; } + public Guid? TaskId { get; set; } /// /// 是否是当前任务 diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs index 2edb9c537..38aa3dd62 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs @@ -138,6 +138,7 @@ namespace IRaCIS.Core.Application.Service medicalReviewInfo.TaskList.ForEach(x => { + x.OtherTaskId = otherTask.Where(y => y.SouceReadModuleId == x.SouceReadModuleId && y.SourceSubjectVisitId == x.SourceSubjectVisitId).Select(y => y.TaskId).FirstOrDefault(); }); } @@ -266,5 +267,7 @@ namespace IRaCIS.Core.Application.Service return ResponseOutput.Result(result); } + + } }