Commit 702e333b authored by 黄奎's avatar 黄奎

页面修改

parent 1a7b8519
...@@ -74,30 +74,30 @@ namespace Edu.Module.Exam ...@@ -74,30 +74,30 @@ namespace Edu.Module.Exam
var titleRandomNum = Common.ConvertHelper.CreateRandomNum(); var titleRandomNum = Common.ConvertHelper.CreateRandomNum();
var tempWords = reviewList[i]; var tempWords = reviewList[i];
var count = totalList?.Where(qitem => qitem.Id != tempWords.Id)?.Count()??0; var count = totalList?.Where(qitem => qitem.Id != tempWords.Id)?.Count()??0;
reviewGroupList.Add(CreateSingleModule(tempWords,totalList)); //reviewGroupList.Add(CreateSingleModule(tempWords,totalList));
//选择题 //选择题
//if (titleRandomNum % 2 == 0) if (titleRandomNum % 2 == 0)
//{ {
// if (count > 2) if (count > 2)
// { {
// reviewGroupList.Add(CreateSingleModule(tempWords, totalList)); reviewGroupList.Add(CreateSingleModule(tempWords, totalList));
// } }
// else else
// { {
// if (!string.IsNullOrEmpty(tempWords.ChineseMean) || !string.IsNullOrEmpty(tempWords.WordWrite)) if (!string.IsNullOrEmpty(tempWords.ChineseMean) || !string.IsNullOrEmpty(tempWords.WordWrite))
// { {
// reviewGroupList.Add(CreateFillInModule(tempWords)); reviewGroupList.Add(CreateFillInModule(tempWords));
// } }
// } }
//} }
////填空题 //填空题
//else else
//{ {
// if (!string.IsNullOrEmpty(tempWords.ChineseMean) || !string.IsNullOrEmpty(tempWords.WordWrite)) if (!string.IsNullOrEmpty(tempWords.ChineseMean) || !string.IsNullOrEmpty(tempWords.WordWrite))
// { {
// reviewGroupList.Add(CreateFillInModule(tempWords)); reviewGroupList.Add(CreateFillInModule(tempWords));
// } }
//} }
} }
} }
......
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