From 24ec6b21d5e3e17c3bc9a10ee6b66b38d228bd2d Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Mon, 14 Jul 2025 15:08:14 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=A0=87=E8=AE=B0=E4=BF=AE=E6=94=B9"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fd52011be990f040356ccc7b81d73deaf4686d7d. --- .../Reading/ReadingImageTask/ReadingImageTaskService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs index e5d6dd88d..cbc12c959 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs @@ -1987,6 +1987,9 @@ namespace IRaCIS.Core.Application.Service // 当 param == -10 时,为自定义标准 需要区分 绑定 更改 标记 if (param == "-10") { + // 自定义这边 移除标记 还是会传过来 不过 MeasureData 为空字符串 + inDto.QuestionMarkInfoList = inDto.QuestionMarkInfoList.Where(x => x.MeasureData.IsNotNullOrEmpty()).ToList(); + var questionMarkList = inDto.QuestionMarkInfoList.Select(x => x.QuestionId).ToList(); @@ -2122,9 +2125,6 @@ namespace IRaCIS.Core.Application.Service case CriterionType.SelfDefine: // 先找到需要删除的 - - var notnullQuestionIds = inDto.QuestionMarkInfoList.Where(x=>x.MeasureData.IsNotNullOrEmpty()).Select(y => (Guid?)y.QuestionId).ToList(); - var needDeleteMarkQuestionIds = questionList.Except(markquestionId).ToList(); foreach (var item in needDeleteMarkQuestionIds) {