|
@@ -1,8 +1,16 @@
|
|
package cn.com.qmth.stmms.biz.report.model;
|
|
package cn.com.qmth.stmms.biz.report.model;
|
|
|
|
|
|
-import javax.persistence.*;
|
|
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
|
|
|
|
|
|
+import javax.persistence.Column;
|
|
|
|
+import javax.persistence.Entity;
|
|
|
|
+import javax.persistence.GeneratedValue;
|
|
|
|
+import javax.persistence.Id;
|
|
|
|
+import javax.persistence.Index;
|
|
|
|
+import javax.persistence.Table;
|
|
|
|
+
|
|
|
|
+import cn.com.qmth.stmms.common.annotation.ExcelField;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 课程任课老师班级成绩分析
|
|
* 课程任课老师班级成绩分析
|
|
*
|
|
*
|
|
@@ -10,7 +18,7 @@ import java.io.Serializable;
|
|
* @date 2019-04-12
|
|
* @date 2019-04-12
|
|
*/
|
|
*/
|
|
@Entity
|
|
@Entity
|
|
-@Table(name = "s_basic_subject_teacher_class", indexes = {@Index(columnList = "exam_id,subject_code,teacher_name")})
|
|
|
|
|
|
+@Table(name = "s_basic_subject_teacher_class", indexes = { @Index(columnList = "exam_id,subject_code,teacher_name") })
|
|
public class ReportSubjectTeacherClass implements Serializable {
|
|
public class ReportSubjectTeacherClass implements Serializable {
|
|
|
|
|
|
private static final long serialVersionUID = 711106040799843384L;
|
|
private static final long serialVersionUID = 711106040799843384L;
|
|
@@ -31,77 +39,91 @@ public class ReportSubjectTeacherClass implements Serializable {
|
|
/**
|
|
/**
|
|
* 课程编号
|
|
* 课程编号
|
|
*/
|
|
*/
|
|
|
|
+ @ExcelField(title = "课程代码", align = 2, sort = 10)
|
|
@Column(name = "subject_code")
|
|
@Column(name = "subject_code")
|
|
private String subjectCode;
|
|
private String subjectCode;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 课程名称
|
|
* 课程名称
|
|
*/
|
|
*/
|
|
|
|
+ @ExcelField(title = "课程名称", align = 2, sort = 20)
|
|
@Column(name = "subject_name")
|
|
@Column(name = "subject_name")
|
|
private String subjectName;
|
|
private String subjectName;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 教师
|
|
* 教师
|
|
*/
|
|
*/
|
|
|
|
+ @ExcelField(title = "任课老师", align = 2, sort = 30)
|
|
@Column(name = "teacher_name")
|
|
@Column(name = "teacher_name")
|
|
private String teacherName;
|
|
private String teacherName;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 班级
|
|
* 班级
|
|
*/
|
|
*/
|
|
|
|
+ @ExcelField(title = "班级", align = 2, sort = 40)
|
|
@Column(name = "class_name")
|
|
@Column(name = "class_name")
|
|
private String className;
|
|
private String className;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 实考人数
|
|
* 实考人数
|
|
*/
|
|
*/
|
|
|
|
+ @ExcelField(title = "实考人数", align = 2, sort = 50)
|
|
@Column(name = "reality_count")
|
|
@Column(name = "reality_count")
|
|
private int realityCount;
|
|
private int realityCount;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 最高分
|
|
* 最高分
|
|
*/
|
|
*/
|
|
|
|
+ @ExcelField(title = "最高分", align = 2, sort = 60)
|
|
@Column(name = "max_score")
|
|
@Column(name = "max_score")
|
|
private Double maxScore;
|
|
private Double maxScore;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 最低分
|
|
* 最低分
|
|
*/
|
|
*/
|
|
|
|
+ @ExcelField(title = "最低分", align = 2, sort = 70)
|
|
@Column(name = "min_score")
|
|
@Column(name = "min_score")
|
|
private Double minScore;
|
|
private Double minScore;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 及格人数
|
|
* 及格人数
|
|
*/
|
|
*/
|
|
|
|
+ @ExcelField(title = "及格人数", align = 2, sort = 80)
|
|
@Column(name = "pass_count")
|
|
@Column(name = "pass_count")
|
|
private int passCount;
|
|
private int passCount;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 及格率
|
|
* 及格率
|
|
*/
|
|
*/
|
|
|
|
+ @ExcelField(title = "及格率", align = 2, sort = 90)
|
|
@Column(name = "pass_rate")
|
|
@Column(name = "pass_rate")
|
|
private Double passRate;
|
|
private Double passRate;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 优秀数
|
|
* 优秀数
|
|
*/
|
|
*/
|
|
|
|
+ @ExcelField(title = "优秀人数", align = 2, sort = 100)
|
|
@Column(name = "excellent_count")
|
|
@Column(name = "excellent_count")
|
|
private int excellentCount;
|
|
private int excellentCount;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 优秀率
|
|
* 优秀率
|
|
*/
|
|
*/
|
|
|
|
+ @ExcelField(title = "优秀率", align = 2, sort = 110)
|
|
@Column(name = "excellent_rate")
|
|
@Column(name = "excellent_rate")
|
|
private Double excellentRate;
|
|
private Double excellentRate;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 平均分
|
|
* 平均分
|
|
*/
|
|
*/
|
|
|
|
+ @ExcelField(title = "平均分", align = 2, sort = 120)
|
|
@Column(name = "avg_score")
|
|
@Column(name = "avg_score")
|
|
private Double avgScore;
|
|
private Double avgScore;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 相对平均分
|
|
* 相对平均分
|
|
*/
|
|
*/
|
|
|
|
+ @ExcelField(title = "相对平均分", align = 2, sort = 130)
|
|
@Column(name = "relative_avg_score")
|
|
@Column(name = "relative_avg_score")
|
|
private Double relativeAvgScore;
|
|
private Double relativeAvgScore;
|
|
|
|
|