Uat_Study
he 2023-05-22 17:09:15 +08:00
parent b0c3ba2a11
commit d4ffe2eadf
1 changed files with 1 additions and 1 deletions

View File

@ -1131,7 +1131,7 @@ namespace IRaCIS.Application.Services
}); });
var thisAnswer = tableAnswers.Where(x => x.QuestionId == item.Id).ToList(); var thisAnswer = tableAnswers.Where(x => x.QuestionId == item.Id).ToList();
var orders = thisAnswer.OrderBy(x => x.RowIndex).Select(x=>x.RowId).ToList(); var orders = thisAnswer.OrderBy(x => x.RowIndex).Select(x=>x.RowId).Distinct().ToList();
item.TableQuestions.Answers = new List<Dictionary<string, string>>(); item.TableQuestions.Answers = new List<Dictionary<string, string>>();