Commit 0bec0b98 authored by 黄奎's avatar 黄奎

页面修改

parent 27f3b25e
...@@ -126,5 +126,10 @@ namespace EduSpider.Model.Extend ...@@ -126,5 +126,10 @@ namespace EduSpider.Model.Extend
/// 考试领先度 /// 考试领先度
/// </summary> /// </summary>
public decimal ExamRankRate { get; set; } public decimal ExamRankRate { get; set; }
/// <summary>
/// 教师姓名
/// </summary>
public string ThName { get; set; }
} }
} }
...@@ -78,6 +78,7 @@ WHERE 1=1 ...@@ -78,6 +78,7 @@ WHERE 1=1
ScoreType = item.score_type, ScoreType = item.score_type,
Score_Value = item.Score_value, Score_Value = item.Score_value,
HomeWorkStatus = item.status, HomeWorkStatus = item.status,
ThName=item.th_name,
}); });
RowNum++; RowNum++;
} }
...@@ -97,7 +98,7 @@ WHERE 1=1 ...@@ -97,7 +98,7 @@ WHERE 1=1
{ {
CreateTime = firstList.LastOrDefault().CreateTime.AddMinutes(1), CreateTime = firstList.LastOrDefault().CreateTime.AddMinutes(1),
ResultType = 3, ResultType = 3,
Title = "第一阶段评语", Title = firstList.LastOrDefault().ThName+ "老师的评语",
Comment = commentModel?.Info Comment = commentModel?.Info
}; };
...@@ -111,7 +112,7 @@ WHERE 1=1 ...@@ -111,7 +112,7 @@ WHERE 1=1
{ {
CreateTime = secondList.LastOrDefault().CreateTime.AddMinutes(1), CreateTime = secondList.LastOrDefault().CreateTime.AddMinutes(1),
ResultType = 3, ResultType = 3,
Title = "第二阶段评语", Title = secondList.LastOrDefault().ThName + "老师的评语",
Comment = commentModel?.Info Comment = commentModel?.Info
}; };
} }
...@@ -124,7 +125,7 @@ WHERE 1=1 ...@@ -124,7 +125,7 @@ WHERE 1=1
{ {
CreateTime = thirdList.LastOrDefault().CreateTime.AddMinutes(1), CreateTime = thirdList.LastOrDefault().CreateTime.AddMinutes(1),
ResultType = 3, ResultType = 3,
Title = "第三阶段评语", Title = thirdList.LastOrDefault().ThName + "老师的评语",
Comment = commentModel?.Info Comment = commentModel?.Info
}; };
} }
......
...@@ -127,7 +127,7 @@ namespace EduSpider.Services ...@@ -127,7 +127,7 @@ namespace EduSpider.Services
obj = new obj = new
{ {
item.Score, item.Score,
item.Score_p, Score_p = item.Score_p * 100,
item.ScoreType, item.ScoreType,
item.ScoreTypeStr, item.ScoreTypeStr,
item.Score_Value, item.Score_Value,
...@@ -141,7 +141,7 @@ namespace EduSpider.Services ...@@ -141,7 +141,7 @@ namespace EduSpider.Services
obj = new obj = new
{ {
item.Score, item.Score,
item.Score_p, Score_p = item.Score_p * 100,
item.ExamRank, item.ExamRank,
item.ExamRankRate, item.ExamRankRate,
}; };
......
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