Commit 92a18ae3 authored by liudong1993's avatar liudong1993

1

parent 974644a5
...@@ -143,6 +143,11 @@ namespace EduSpider.Model.Extend ...@@ -143,6 +143,11 @@ namespace EduSpider.Model.Extend
/// </summary> /// </summary>
public int ExamScoreId { get; set; } public int ExamScoreId { get; set; }
/// <summary>
/// 考试类型
/// </summary>
public int ExamType { get; set; }
/// <summary> /// <summary>
/// 教师姓名 /// 教师姓名
/// </summary> /// </summary>
......
...@@ -42,6 +42,11 @@ namespace EduSpider.Model.Extend ...@@ -42,6 +42,11 @@ namespace EduSpider.Model.Extend
/// 一试排名 /// 一试排名
/// </summary> /// </summary>
public int ARank { get; set; } public int ARank { get; set; }
/// <summary>
/// 考试类型
/// </summary>
public int ExamType { get; set; }
} }
/// <summary> /// <summary>
......
...@@ -24,7 +24,7 @@ namespace EduSpider.Repository ...@@ -24,7 +24,7 @@ namespace EduSpider.Repository
{ {
StringBuilder builder = new(); StringBuilder builder = new();
builder.AppendFormat(@" builder.AppendFormat(@"
SELECT A.*,B.ExamName,B.CreateTime AS ExamCreateTime SELECT A.*,B.ExamName,B.CreateTime AS ExamCreateTime,B.Type as ExamType
FROM RB_Exam_Score AS A INNER JOIN rb_exam AS B ON A.ExamId=B.ExamId FROM RB_Exam_Score AS A INNER JOIN rb_exam AS B ON A.ExamId=B.ExamId
WHERE 1=1 and B.Status =0 WHERE 1=1 and B.Status =0
"); ");
......
...@@ -152,6 +152,7 @@ namespace EduSpider.Services ...@@ -152,6 +152,7 @@ namespace EduSpider.Services
ExamRankRate = item.RankRate, ExamRankRate = item.RankRate,
ExamId = item.ExamId, ExamId = item.ExamId,
ExamScoreId = item.Id, ExamScoreId = item.Id,
ExamType = item.ExamType
}); });
} }
} }
...@@ -188,6 +189,7 @@ namespace EduSpider.Services ...@@ -188,6 +189,7 @@ namespace EduSpider.Services
item.ExamRankRate, item.ExamRankRate,
item.ExamId, item.ExamId,
item.ExamScoreId, item.ExamScoreId,
item.ExamType
}; };
} }
//评语 //评语
......
This diff is collapsed.
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