From 55bf59e667eadc89aa9844023126c9c624257c16 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Fri, 25 Nov 2022 21:58:09 +0800 Subject: [PATCH] x --- .../Service/Allocation/TaskConsistentRuleService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IRaCIS.Core.Application/Service/Allocation/TaskConsistentRuleService.cs b/IRaCIS.Core.Application/Service/Allocation/TaskConsistentRuleService.cs index 7bcd4cce..f08703c2 100644 --- a/IRaCIS.Core.Application/Service/Allocation/TaskConsistentRuleService.cs +++ b/IRaCIS.Core.Application/Service/Allocation/TaskConsistentRuleService.cs @@ -127,6 +127,8 @@ namespace IRaCIS.Core.Application.Service [UnitOfWork] public async Task ConfirmGenerateSelfConsistentTask(ConsistentConfirmGenerateCommand inCommand, [FromServices] IVisitTaskHelpeService _visitTaskCommonService) { + + var filterObj = await _taskConsistentRuleRepository.FirstOrDefaultAsync(t => t.Id == inCommand.TaskConsistentRuleId); var doctorUserId = inCommand.DoctorUserId; var trialReadingCriterionId = filterObj.TrialReadingCriterionId;