From 8962d20ff8cf20123a5bb2aa3c6f0d08df155e3f Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Fri, 14 Oct 2022 18:01:10 +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/ReadingCalculate/ReadingCalculateService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/ReadingCalculate/ReadingCalculateService.cs b/IRaCIS.Core.Application/Service/ReadingCalculate/ReadingCalculateService.cs index 4f072aa6c..70e8f8432 100644 --- a/IRaCIS.Core.Application/Service/ReadingCalculate/ReadingCalculateService.cs +++ b/IRaCIS.Core.Application/Service/ReadingCalculate/ReadingCalculateService.cs @@ -71,7 +71,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate { CriterionType thisCriterionType = criterionType.Value; Type thisServiceType = CalculateServiceDic[thisCriterionType]; - _useCriterion = _criterionServices.FirstOrDefault(x => x.GetType().Name == nameof(thisServiceType) + "Proxy"); + _useCriterion = _criterionServices.FirstOrDefault(x => x.GetType().Name == thisServiceType.GetType().Name + "Proxy"); if (criterionType == null) {