Uat_Study
he 2023-05-22 16:07:07 +08:00
parent b8ecc5e591
commit ecb4854c78
1 changed files with 3 additions and 2 deletions

View File

@ -1141,14 +1141,15 @@ namespace IRaCIS.Application.Services
QuestionMark.Part,
};
orders.ForEach(x =>
foreach (var x in orders)
{
Dictionary<string, string> answers = new Dictionary<string, string>();
var rowInfo = tableAnsweRowInfos.Where(y => y.RowIndex == x && y.QuestionId == item.Id).FirstOrDefault();
if (rowInfo == null)
{
continue;
continue;
}
var rowAnswer = thisAnswer.Where(y => y.RowId == rowInfo.Id).OrderBy(y => y.ShowOrder).ToList();
var organInfo = organInfos.Where(x => x.Id == rowInfo.OrganInfoId).FirstOrDefault();