Uat_Study
he 2022-08-26 16:53:18 +08:00
parent 8fd47de594
commit 240ee32a6c
1 changed files with 2 additions and 1 deletions

View File

@ -514,9 +514,10 @@ namespace IRaCIS.Application.Services
var tableQuestion = x.Clone();
tableQuestion.TrialId = inDto.TrialId;
tableQuestion.TrialCriterionId = trialCriterion.Id;
tableQuestion.Id = NewId.NextGuid();
tableQuestion.ReadingQuestionId = copyNewQuestionList.Where(y => y.ReadingQuestionSystemId == x.ReadingQuestionId).Select(y => y.Id).FirstOrDefault();
if (tableQuestion.ParentId != null)
{
tableQuestion.ParentId = copyNewTrialTableQuestionList.Where(y => x.ParentId == y.OriginalId).Select(y => y.Id).FirstOrDefault();