From c59880d518cb1630e9de66cec9327547f6229cab Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Wed, 7 Sep 2022 16:58:42 +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 --- .../Service/Reading/ReadingCalculateService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingCalculateService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingCalculateService.cs index a81a67c2..c82b343e 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingCalculateService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingCalculateService.cs @@ -173,7 +173,7 @@ namespace IRaCIS.Core.Application.Service var needAddList = new List(); // 循环找要计算的值进行计算 - foreach (var item in inDto.QuestionInfo.Where(x => x.QuestionType != null)) + foreach (var item in inDto.QuestionInfo.Where(x => x.QuestionType != null).Where(x=> !needFirstCalculateTypes.Contains(x.QuestionType))) { switch (item.QuestionType) {