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); } + + } }