Commit 2dbba6a2 authored by 黄奎's avatar 黄奎

页面修改

parent 58db7150
...@@ -147,7 +147,7 @@ WHERE 1=1 ...@@ -147,7 +147,7 @@ WHERE 1=1
{ {
var tempList = homeworkList.Where(qitem => qitem.student_uid == item.StuUid).ToList(); var tempList = homeworkList.Where(qitem => qitem.student_uid == item.StuUid).ToList();
item.CreateTime = tempList.LastOrDefault().add_time.AddSeconds(1); item.CreateTime = tempList.LastOrDefault().add_time.AddSeconds(1);
var Score = tempList.Sum(qitem => qitem.score_p) * 100; var Score = tempList.Average(qitem => qitem.score_p) * 100;
string info = ""; string info = "";
if (IsDefault == 1) if (IsDefault == 1)
{ {
......
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