Commit 84304040 authored by 黄奎's avatar 黄奎

页面修改

parent 8c47de91
...@@ -552,12 +552,13 @@ namespace Edu.Module.Exam ...@@ -552,12 +552,13 @@ namespace Edu.Module.Exam
LevelType = qItem.LevelType, LevelType = qItem.LevelType,
Score = item.QuestionScore / subTempQuestionList.Count() Score = item.QuestionScore / subTempQuestionList.Count()
}; };
string msg = analysisQuestion.CheckQuestion(detailsModel.QuestionTypeKey, detailsModel.QuestionContent, detailsModel.Answer, out string newAnswer); string msg = analysisQuestion.CheckQuestion(detailsModel.QuestionTypeKey, detailsModel.QuestionContent, detailsModel.Answer, out string newAnswer, IsRequire: false);
if (!string.IsNullOrEmpty(newAnswer)) if (!string.IsNullOrEmpty(newAnswer))
{ {
detailsModel.Answer = newAnswer; detailsModel.Answer = newAnswer;
} }
Q_SortNum++; Q_SortNum++;
var newDetailsId = examination_DetailsRepository.Insert(detailsModel); var newDetailsId = examination_DetailsRepository.Insert(detailsModel);
detailsModel.Id = newDetailsId; detailsModel.Id = newDetailsId;
flag = newDetailsId > 0; flag = newDetailsId > 0;
......
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