修改组间一致性分析导表
continuous-integration/drone/push Build is passing Details

IRC_NewDev
hang 2024-11-06 16:56:12 +08:00
parent 4c41a5a579
commit db363a7daa
1 changed files with 6 additions and 4 deletions

View File

@ -1763,8 +1763,9 @@ namespace IRaCIS.Core.Application.Service.Common
//非一致性分析任务 //非一致性分析任务
var cloneObj = subjectVisitTaskArm.Clone(); var cloneObj = subjectVisitTaskArm.Clone();
var otherTaskQuestionAnserList = otherTask.QuestionAnswerList.Clone();
foreach (var qItem in otherTask.QuestionAnswerList) foreach (var qItem in otherTaskQuestionAnserList)
{ {
qItem.QuestionName = qItem.QuestionName + $"{(_userInfo.IsEn_Us ? "(Again)" : "()")}"; qItem.QuestionName = qItem.QuestionName + $"{(_userInfo.IsEn_Us ? "(Again)" : "()")}";
} }
@ -1776,7 +1777,7 @@ namespace IRaCIS.Core.Application.Service.Common
addQuestionList.Add(new CommonQuesionInfo() { QuestionName = _userInfo.IsEn_Us ? "Reviwer Role(Again)" : "阅片人角色(再次)", QuestionValue = ((int)otherTask.ArmEnum).ToString(), TranslateDicName = "ArmEnum" }); addQuestionList.Add(new CommonQuesionInfo() { QuestionName = _userInfo.IsEn_Us ? "Reviwer Role(Again)" : "阅片人角色(再次)", QuestionValue = ((int)otherTask.ArmEnum).ToString(), TranslateDicName = "ArmEnum" });
cloneObj.QuestionAnswerList = cloneObj.QuestionAnswerList.Union(otherTask.QuestionAnswerList).ToList(); cloneObj.QuestionAnswerList = cloneObj.QuestionAnswerList.Union(addQuestionList).Union(otherTaskQuestionAnserList).ToList();
cloneObj.IsGroupAnalysisDiffToOriginalData = cloneObj.ArmEnum == Arm.DoubleReadingArm1 ? otherTask.IsGroupDiffArm1 : otherTask.IsGroupDiffArm2; cloneObj.IsGroupAnalysisDiffToOriginalData = cloneObj.ArmEnum == Arm.DoubleReadingArm1 ? otherTask.IsGroupDiffArm1 : otherTask.IsGroupDiffArm2;
@ -1785,6 +1786,7 @@ namespace IRaCIS.Core.Application.Service.Common
} }
} }
} }
translateDicNameList.Add("ArmEnum");
list = newList; list = newList;