Commit 62862732 authored by 黄奎's avatar 黄奎

页面修改

parent 73ad67db
...@@ -1329,6 +1329,8 @@ namespace Edu.Module.Exam ...@@ -1329,6 +1329,8 @@ namespace Edu.Module.Exam
foreach (var sItem in stuTempList) foreach (var sItem in stuTempList)
{ {
var questionModel = gItem?.DetailsList.Where(qitem => qitem.Id == sItem.DetailsId)?.FirstOrDefault(); var questionModel = gItem?.DetailsList.Where(qitem => qitem.Id == sItem.DetailsId)?.FirstOrDefault();
if (questionModel != null)
{
ExamScore += questionModel.Score; ExamScore += questionModel.Score;
var QuestionContentObj = new object(); var QuestionContentObj = new object();
if (isShowAnswer) if (isShowAnswer)
...@@ -1424,6 +1426,7 @@ namespace Edu.Module.Exam ...@@ -1424,6 +1426,7 @@ namespace Edu.Module.Exam
questionList.Add(qObj); questionList.Add(qObj);
} }
} }
}
else else
{ {
var tempDetailsList = new List<RB_Examination_Details_ViewModel>(); var tempDetailsList = new List<RB_Examination_Details_ViewModel>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment