|
@@ -2,7 +2,6 @@ package com.qmth.distributed.print.business.entity;
|
|
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
-import com.qmth.distributed.print.business.enums.StatisticsStatusEnum;
|
|
|
|
import com.qmth.teachcloud.common.base.BaseEntity;
|
|
import com.qmth.teachcloud.common.base.BaseEntity;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
@@ -22,9 +21,22 @@ public class TCStatistics extends BaseEntity implements Serializable {
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
- @ApiModelProperty(value = "主键")
|
|
|
|
|
|
+ @ApiModelProperty(value = "开课学院id")
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
- private Long id;
|
|
|
|
|
|
+ private Long collegeId;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "开课学院名称")
|
|
|
|
+ private String collegeName;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "开课部门id")
|
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
|
+ private Long teachingRoomId;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "开课部门名称")
|
|
|
|
+ private String teachingRoomName;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "课程名称")
|
|
|
|
+ private String courseName;
|
|
|
|
|
|
@ApiModelProperty(value = "课程代码")
|
|
@ApiModelProperty(value = "课程代码")
|
|
private String courseCode;
|
|
private String courseCode;
|
|
@@ -36,6 +48,9 @@ public class TCStatistics extends BaseEntity implements Serializable {
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
private Long clazzId;
|
|
private Long clazzId;
|
|
|
|
|
|
|
|
+ @ApiModelProperty(value = "班级名称")
|
|
|
|
+ private String clazzName;
|
|
|
|
+
|
|
@ApiModelProperty(value = "试卷编号")
|
|
@ApiModelProperty(value = "试卷编号")
|
|
private String paperNumber;
|
|
private String paperNumber;
|
|
|
|
|
|
@@ -43,24 +58,159 @@ public class TCStatistics extends BaseEntity implements Serializable {
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
private Long printPlanId;
|
|
private Long printPlanId;
|
|
|
|
|
|
- @ApiModelProperty(value = "总印份数")
|
|
|
|
- private Integer printSum;
|
|
|
|
|
|
+ @ApiModelProperty(name = "考务数据明细id")
|
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
|
+ Long examDetailCourseId;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(name = "命题任务明细id")
|
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
|
+ Long examTaskDetailId;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "批次号")
|
|
|
|
+ private String batchNo;
|
|
|
|
+
|
|
|
|
+ public TCStatistics() {
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public TCStatistics(Long collegeId,
|
|
|
|
+ String collegeName,
|
|
|
|
+ Long teachingRoomId,
|
|
|
|
+ String teachingRoomName,
|
|
|
|
+ String courseName,
|
|
|
|
+ String courseCode,
|
|
|
|
+ String teacherName,
|
|
|
|
+ Long clazzId,
|
|
|
|
+ String clazzName,
|
|
|
|
+ String batchNo,
|
|
|
|
+ Long userId) {
|
|
|
|
+ insertInfo(userId);
|
|
|
|
+ this.collegeId = collegeId;
|
|
|
|
+ this.collegeName = collegeName;
|
|
|
|
+ this.teachingRoomId = teachingRoomId;
|
|
|
|
+ this.teachingRoomName = teachingRoomName;
|
|
|
|
+ this.courseName = courseName;
|
|
|
|
+ this.courseCode = courseCode;
|
|
|
|
+ this.teacherName = teacherName;
|
|
|
|
+ this.clazzId = clazzId;
|
|
|
|
+ this.clazzName = clazzName;
|
|
|
|
+ this.batchNo = batchNo;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public TCStatistics(Long collegeId,
|
|
|
|
+ String collegeName,
|
|
|
|
+ Long teachingRoomId,
|
|
|
|
+ String teachingRoomName,
|
|
|
|
+ String courseName,
|
|
|
|
+ String courseCode,
|
|
|
|
+ String teacherName,
|
|
|
|
+ Long clazzId,
|
|
|
|
+ String clazzName,
|
|
|
|
+ String batchNo,
|
|
|
|
+ String paperNumber,
|
|
|
|
+ Long printPlanId,
|
|
|
|
+ Long examDetailCourseId,
|
|
|
|
+ Long examTaskDetailId,
|
|
|
|
+ Long userId) {
|
|
|
|
+ insertInfo(userId);
|
|
|
|
+ this.collegeId = collegeId;
|
|
|
|
+ this.collegeName = collegeName;
|
|
|
|
+ this.teachingRoomId = teachingRoomId;
|
|
|
|
+ this.teachingRoomName = teachingRoomName;
|
|
|
|
+ this.courseName = courseName;
|
|
|
|
+ this.courseCode = courseCode;
|
|
|
|
+ this.teacherName = teacherName;
|
|
|
|
+ this.clazzId = clazzId;
|
|
|
|
+ this.clazzName = clazzName;
|
|
|
|
+ this.batchNo = batchNo;
|
|
|
|
+ this.paperNumber = paperNumber;
|
|
|
|
+ this.printPlanId = printPlanId;
|
|
|
|
+ this.examDetailCourseId = examDetailCourseId;
|
|
|
|
+ this.examTaskDetailId = examTaskDetailId;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void updateInfo(Long userId, TCStatistics t) {
|
|
|
|
+ this.paperNumber = t.getPaperNumber();
|
|
|
|
+ this.printPlanId = t.getPrintPlanId();
|
|
|
|
+ this.examDetailCourseId = t.getExamDetailCourseId();
|
|
|
|
+ this.examTaskDetailId = t.getExamTaskDetailId();
|
|
|
|
+ updateInfo(userId);
|
|
|
|
+ }
|
|
|
|
|
|
- @ApiModelProperty(value = "完成状态,FINISH:已完成,UN_FINISH:未完成")
|
|
|
|
- private StatisticsStatusEnum status;
|
|
|
|
|
|
+ public Long getCollegeId() {
|
|
|
|
+ return collegeId;
|
|
|
|
+ }
|
|
|
|
|
|
- public static long getSerialVersionUID() {
|
|
|
|
- return serialVersionUID;
|
|
|
|
|
|
+ public void setCollegeId(Long collegeId) {
|
|
|
|
+ this.collegeId = collegeId;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getCollegeName() {
|
|
|
|
+ return collegeName;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setCollegeName(String collegeName) {
|
|
|
|
+ this.collegeName = collegeName;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Long getTeachingRoomId() {
|
|
|
|
+ return teachingRoomId;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setTeachingRoomId(Long teachingRoomId) {
|
|
|
|
+ this.teachingRoomId = teachingRoomId;
|
|
}
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
|
- public Long getId() {
|
|
|
|
- return id;
|
|
|
|
|
|
+ public String getTeachingRoomName() {
|
|
|
|
+ return teachingRoomName;
|
|
}
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
|
- public void setId(Long id) {
|
|
|
|
- this.id = id;
|
|
|
|
|
|
+ public void setTeachingRoomName(String teachingRoomName) {
|
|
|
|
+ this.teachingRoomName = teachingRoomName;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getCourseName() {
|
|
|
|
+ return courseName;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setCourseName(String courseName) {
|
|
|
|
+ this.courseName = courseName;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getClazzName() {
|
|
|
|
+ return clazzName;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setClazzName(String clazzName) {
|
|
|
|
+ this.clazzName = clazzName;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Long getExamDetailCourseId() {
|
|
|
|
+ return examDetailCourseId;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setExamDetailCourseId(Long examDetailCourseId) {
|
|
|
|
+ this.examDetailCourseId = examDetailCourseId;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Long getExamTaskDetailId() {
|
|
|
|
+ return examTaskDetailId;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setExamTaskDetailId(Long examTaskDetailId) {
|
|
|
|
+ this.examTaskDetailId = examTaskDetailId;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getBatchNo() {
|
|
|
|
+ return batchNo;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setBatchNo(String batchNo) {
|
|
|
|
+ this.batchNo = batchNo;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public static long getSerialVersionUID() {
|
|
|
|
+ return serialVersionUID;
|
|
}
|
|
}
|
|
|
|
|
|
public String getCourseCode() {
|
|
public String getCourseCode() {
|
|
@@ -102,20 +252,4 @@ public class TCStatistics extends BaseEntity implements Serializable {
|
|
public void setPrintPlanId(Long printPlanId) {
|
|
public void setPrintPlanId(Long printPlanId) {
|
|
this.printPlanId = printPlanId;
|
|
this.printPlanId = printPlanId;
|
|
}
|
|
}
|
|
-
|
|
|
|
- public Integer getPrintSum() {
|
|
|
|
- return printSum;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setPrintSum(Integer printSum) {
|
|
|
|
- this.printSum = printSum;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public StatisticsStatusEnum getStatus() {
|
|
|
|
- return status;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setStatus(StatisticsStatusEnum status) {
|
|
|
|
- this.status = status;
|
|
|
|
- }
|
|
|
|
}
|
|
}
|