Uat_Study
he 2022-08-29 09:49:54 +08:00
parent 3e440d9256
commit a5d2f04f1f
1 changed files with 2 additions and 1 deletions

View File

@ -476,7 +476,8 @@ namespace IRaCIS.Application.Services
newData.ReadingQuestionSystemId = x.ReadingQuestionSystemId; newData.ReadingQuestionSystemId = x.ReadingQuestionSystemId;
question = newData.Clone(); question = newData.Clone();
} }
// 最大问题数
question.MaxQuestionCount= x.MaxQuestionCount;
if (question.ParentId != null) if (question.ParentId != null)
{ {
question.ParentId = copyNewQuestionList.Where(y => x.ParentId == y.ReadingQuestionSystemId).Select(y => y.Id).FirstOrDefault(); question.ParentId = copyNewQuestionList.Where(y => x.ParentId == y.ReadingQuestionSystemId).Select(y => y.Id).FirstOrDefault();