Uat_Study
parent
8fd47de594
commit
240ee32a6c
|
@ -514,9 +514,10 @@ namespace IRaCIS.Application.Services
|
||||||
var tableQuestion = x.Clone();
|
var tableQuestion = x.Clone();
|
||||||
tableQuestion.TrialId = inDto.TrialId;
|
tableQuestion.TrialId = inDto.TrialId;
|
||||||
tableQuestion.TrialCriterionId = trialCriterion.Id;
|
tableQuestion.TrialCriterionId = trialCriterion.Id;
|
||||||
|
|
||||||
tableQuestion.Id = NewId.NextGuid();
|
tableQuestion.Id = NewId.NextGuid();
|
||||||
|
|
||||||
|
tableQuestion.ReadingQuestionId = copyNewQuestionList.Where(y => y.ReadingQuestionSystemId == x.ReadingQuestionId).Select(y => y.Id).FirstOrDefault();
|
||||||
if (tableQuestion.ParentId != null)
|
if (tableQuestion.ParentId != null)
|
||||||
{
|
{
|
||||||
tableQuestion.ParentId = copyNewTrialTableQuestionList.Where(y => x.ParentId == y.OriginalId).Select(y => y.Id).FirstOrDefault();
|
tableQuestion.ParentId = copyNewTrialTableQuestionList.Where(y => x.ParentId == y.OriginalId).Select(y => y.Id).FirstOrDefault();
|
||||||
|
|
Loading…
Reference in New Issue