Commit 92a18ae3 authored by liudong1993's avatar liudong1993

1

parent 974644a5
......@@ -143,6 +143,11 @@ namespace EduSpider.Model.Extend
/// </summary>
public int ExamScoreId { get; set; }
/// <summary>
/// 考试类型
/// </summary>
public int ExamType { get; set; }
/// <summary>
/// 教师姓名
/// </summary>
......
......@@ -42,6 +42,11 @@ namespace EduSpider.Model.Extend
/// 一试排名
/// </summary>
public int ARank { get; set; }
/// <summary>
/// 考试类型
/// </summary>
public int ExamType { get; set; }
}
/// <summary>
......
......@@ -24,7 +24,7 @@ namespace EduSpider.Repository
{
StringBuilder builder = new();
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
WHERE 1=1 and B.Status =0
");
......
......@@ -152,6 +152,7 @@ namespace EduSpider.Services
ExamRankRate = item.RankRate,
ExamId = item.ExamId,
ExamScoreId = item.Id,
ExamType = item.ExamType
});
}
}
......@@ -188,6 +189,7 @@ namespace EduSpider.Services
item.ExamRankRate,
item.ExamId,
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