diff --git a/IRaCIS.Core.Application/Service/Allocation/TaskConsistentRuleService.cs b/IRaCIS.Core.Application/Service/Allocation/TaskConsistentRuleService.cs index 11b13840d..5920e2129 100644 --- a/IRaCIS.Core.Application/Service/Allocation/TaskConsistentRuleService.cs +++ b/IRaCIS.Core.Application/Service/Allocation/TaskConsistentRuleService.cs @@ -397,12 +397,12 @@ namespace IRaCIS.Core.Application.Service existGlobal = new VisitTaskSimpleDTO() { SubjectId = lastTask.SubjectId, - TrialId = lastTask.TrialId, - ArmEnum = lastTask.ArmEnum, + TrialId = lastTask.TrialId, ReadingCategory = ReadingCategory.Global }; } + existGlobal.ArmEnum = Arm.GroupConsistentArm; existGlobal.TaskName = (int)existGlobal.VisitTaskNum + "Global"; existGlobal.TaskBlindName = (int)existGlobal.VisitTaskNum + "Global"; existGlobal.DoctorUserId = needAddDoctorUserId;