This commit is contained in:
he
2022-10-14 17:14:31 +08:00
parent 2a005f538f
commit 5cc70ca317
@@ -29,7 +29,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
{CriterionType.RECIST1Pointt1,typeof(RECIST1Point1CalculateService) } //RECIST1.1
};
private readonly IEnumerable<ICriterionCalculateService> CriterionServices;
private readonly IEnumerable<ICriterionCalculateService> _criterionServices;
private readonly IRepository<VisitTask> _visitTaskRepository;
@@ -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 == nameof(thisServiceType) + "Proxy");
if (criterionType == null)
{