From d2662fd1e5aeb3a866a0fa5dcbaa0ab68f0717a7 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Wed, 21 Sep 2022 17:51:06 +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/ReadingCalculateService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingCalculateService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingCalculateService.cs index baaa637c6..630990c21 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingCalculateService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingCalculateService.cs @@ -630,12 +630,12 @@ namespace IRaCIS.Core.Application.Service { if (inDto.IsBaseLine) { - return nameof(ExistOrNA.NA); + return ExistOrNA.NA.GetEnumInt(); } var result = inDto.QuestionInfo.Any(x => x.QuestionType == QuestionType.TargetLesion && x.Answer.EqEnum(TargetAssessment.NE)); - return result ? nameof(ExistOrNA.Exist) : nameof(ExistOrNA.NotExist); + return result ? ExistOrNA.Exist.GetEnumInt() : ExistOrNA.NotExist.GetEnumInt(); } #endregion