This commit is contained in:
he
2022-12-01 18:09:15 +08:00
parent 359aefe7f9
commit a8965f5231
2 changed files with 9 additions and 1 deletions
@@ -280,7 +280,13 @@ namespace IRaCIS.Core.Application.Service
medicalReviewInfo.TaskList.ForEach(x =>
{
x.OtherTaskId = otherTask.Where(y => y.SouceReadModuleId == x.SouceReadModuleId && y.SourceSubjectVisitId == x.SourceSubjectVisitId).Select(y => y.TaskId).FirstOrDefault();
var otherTaskInfo = otherTask.Where(y => y.SouceReadModuleId == x.SouceReadModuleId && y.SourceSubjectVisitId == x.SourceSubjectVisitId).FirstOrDefault();
if(otherTaskInfo!=null)
{
x.OtherTaskId = otherTaskInfo.TaskId;
x.OtherArmEnum = otherTaskInfo.ArmEnum;
}
});
}