From bf9e8a6758a73370e7d202946f99dd40352902a6 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Thu, 24 Apr 2025 09:36:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ReadingCalculate/MRECISTHCCCalculateService.cs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/IRaCIS.Core.Application/Service/ReadingCalculate/MRECISTHCCCalculateService.cs b/IRaCIS.Core.Application/Service/ReadingCalculate/MRECISTHCCCalculateService.cs index e22a6be72..fb52e89e6 100644 --- a/IRaCIS.Core.Application/Service/ReadingCalculate/MRECISTHCCCalculateService.cs +++ b/IRaCIS.Core.Application/Service/ReadingCalculate/MRECISTHCCCalculateService.cs @@ -835,10 +835,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate rowInfo.VisitTaskId = visitTaskId; rowInfo.IsCurrentTaskAdd = true; rowInfo.Id = NewId.NextGuid(); - rowInfo.SeriesId = null; - rowInfo.InstanceId = null; - rowInfo.MeasureData = string.Empty; - rowInfo.PicturePath = string.Empty; + rowInfo.QuestionId = question == null ? default(Guid) : question.Id; rowInfo.RowMark = question?.OrderMark + rowInfo.RowIndex.GetLesionMark(); } @@ -863,11 +860,11 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate item.TableQuestionId = tableQuestionList.Where(x => x.ReadingQuestionId == item.QuestionId && x.QuestionMark == item.QuestionMark).Select(x => x.Id).FirstOrDefault(); } + recistTableAnswers = recistTableAnswers.Where(x => x.TableQuestionId != default(Guid)).ToList(); + List notNeedCopyMarks = new List() { - QuestionMark.MajorAxis, - QuestionMark.ShortAxis, - QuestionMark.State, + }; var tableAnswers = recistTableAnswers.Select(x => new ReadingTableQuestionAnswer {