|
@@ -1,9 +1,11 @@
|
|
package com.qmth.teachcloud.report.business.bean.dto.excel;
|
|
package com.qmth.teachcloud.report.business.bean.dto.excel;
|
|
|
|
|
|
import com.qmth.teachcloud.common.annotation.ExcelProperty;
|
|
import com.qmth.teachcloud.common.annotation.ExcelProperty;
|
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
import java.math.BigDecimal;
|
|
import java.math.BigDecimal;
|
|
|
|
+import java.util.Objects;
|
|
|
|
|
|
/**
|
|
/**
|
|
* @Description: TAExamCourseDto
|
|
* @Description: TAExamCourseDto
|
|
@@ -21,7 +23,7 @@ public class TAExamCourseDto implements Serializable {
|
|
private String teachCollegeName;
|
|
private String teachCollegeName;
|
|
|
|
|
|
@ExcelProperty(name = "考查学院", width = 30, index = 3)
|
|
@ExcelProperty(name = "考查学院", width = 30, index = 3)
|
|
- private String inspectCollegeName;
|
|
|
|
|
|
+ private Integer inspectCollegeCount;
|
|
|
|
|
|
@ExcelProperty(name = "有效人数", width = 30, index = 4)
|
|
@ExcelProperty(name = "有效人数", width = 30, index = 4)
|
|
private Integer realityCount;
|
|
private Integer realityCount;
|
|
@@ -47,28 +49,67 @@ public class TAExamCourseDto implements Serializable {
|
|
@ExcelProperty(name = "应届不及格率(人数)", width = 50, index = 11)
|
|
@ExcelProperty(name = "应届不及格率(人数)", width = 50, index = 11)
|
|
private String currentNotPassRate;
|
|
private String currentNotPassRate;
|
|
|
|
|
|
- public TAExamCourseDto() {
|
|
|
|
|
|
+ @ApiModelProperty(value = "科目编码")
|
|
|
|
+ private String courseCode;
|
|
|
|
|
|
|
|
+ @ApiModelProperty(value = "科目名称")
|
|
|
|
+ private String courseName;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "应届实际考试人数")
|
|
|
|
+ private Integer currentRealityCount;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "不通过人数")
|
|
|
|
+ private Integer notPassCount;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "应届不通过人数")
|
|
|
|
+ private Integer currentNotPassCount;
|
|
|
|
+
|
|
|
|
+ public Integer getNotPassCount() {
|
|
|
|
+ return notPassCount;
|
|
}
|
|
}
|
|
|
|
|
|
- public TAExamCourseDto(String courseCodeName, String teachCollegeName, String inspectCollegeName, Integer realityCount,
|
|
|
|
- String currentRealityRate, String pastRealityRate, BigDecimal avgScore, String notPassRate,
|
|
|
|
- Integer absentCount, BigDecimal paperCurrentAvgScore, String currentNotPassRate) {
|
|
|
|
- this.courseCodeName = courseCodeName;
|
|
|
|
- this.teachCollegeName = teachCollegeName;
|
|
|
|
- this.inspectCollegeName = inspectCollegeName;
|
|
|
|
- this.realityCount = realityCount;
|
|
|
|
- this.currentRealityRate = currentRealityRate;
|
|
|
|
- this.pastRealityRate = pastRealityRate;
|
|
|
|
- this.avgScore = avgScore;
|
|
|
|
- this.notPassRate = notPassRate;
|
|
|
|
- this.absentCount = absentCount;
|
|
|
|
- this.paperCurrentAvgScore = paperCurrentAvgScore;
|
|
|
|
- this.currentNotPassRate = currentNotPassRate;
|
|
|
|
|
|
+ public void setNotPassCount(Integer notPassCount) {
|
|
|
|
+ this.notPassCount = notPassCount;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Integer getCurrentNotPassCount() {
|
|
|
|
+ return currentNotPassCount;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setCurrentNotPassCount(Integer currentNotPassCount) {
|
|
|
|
+ this.currentNotPassCount = currentNotPassCount;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Integer getCurrentRealityCount() {
|
|
|
|
+ return currentRealityCount;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setCurrentRealityCount(Integer currentRealityCount) {
|
|
|
|
+ this.currentRealityCount = currentRealityCount;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getCourseCode() {
|
|
|
|
+ return courseCode;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setCourseCode(String courseCode) {
|
|
|
|
+ this.courseCode = courseCode;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getCourseName() {
|
|
|
|
+ return courseName;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setCourseName(String courseName) {
|
|
|
|
+ this.courseName = courseName;
|
|
}
|
|
}
|
|
|
|
|
|
public String getCourseCodeName() {
|
|
public String getCourseCodeName() {
|
|
- return courseCodeName;
|
|
|
|
|
|
+ if (Objects.nonNull(courseCode) && Objects.nonNull(courseName)) {
|
|
|
|
+ return courseCode + "(" + courseName + ")";
|
|
|
|
+ } else {
|
|
|
|
+ return courseCodeName;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
public void setCourseCodeName(String courseCodeName) {
|
|
public void setCourseCodeName(String courseCodeName) {
|
|
@@ -83,12 +124,12 @@ public class TAExamCourseDto implements Serializable {
|
|
this.teachCollegeName = teachCollegeName;
|
|
this.teachCollegeName = teachCollegeName;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getInspectCollegeName() {
|
|
|
|
- return inspectCollegeName;
|
|
|
|
|
|
+ public Integer getInspectCollegeCount() {
|
|
|
|
+ return inspectCollegeCount;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setInspectCollegeName(String inspectCollegeName) {
|
|
|
|
- this.inspectCollegeName = inspectCollegeName;
|
|
|
|
|
|
+ public void setInspectCollegeCount(Integer inspectCollegeCount) {
|
|
|
|
+ this.inspectCollegeCount = inspectCollegeCount;
|
|
}
|
|
}
|
|
|
|
|
|
public Integer getRealityCount() {
|
|
public Integer getRealityCount() {
|
|
@@ -100,7 +141,7 @@ public class TAExamCourseDto implements Serializable {
|
|
}
|
|
}
|
|
|
|
|
|
public String getCurrentRealityRate() {
|
|
public String getCurrentRealityRate() {
|
|
- return currentRealityRate;
|
|
|
|
|
|
+ return currentRealityRate + "(" + currentRealityCount + ")";
|
|
}
|
|
}
|
|
|
|
|
|
public void setCurrentRealityRate(String currentRealityRate) {
|
|
public void setCurrentRealityRate(String currentRealityRate) {
|
|
@@ -108,7 +149,7 @@ public class TAExamCourseDto implements Serializable {
|
|
}
|
|
}
|
|
|
|
|
|
public String getPastRealityRate() {
|
|
public String getPastRealityRate() {
|
|
- return pastRealityRate;
|
|
|
|
|
|
+ return pastRealityRate + "(" + pastRealityRate + ")";
|
|
}
|
|
}
|
|
|
|
|
|
public void setPastRealityRate(String pastRealityRate) {
|
|
public void setPastRealityRate(String pastRealityRate) {
|
|
@@ -124,7 +165,7 @@ public class TAExamCourseDto implements Serializable {
|
|
}
|
|
}
|
|
|
|
|
|
public String getNotPassRate() {
|
|
public String getNotPassRate() {
|
|
- return notPassRate;
|
|
|
|
|
|
+ return notPassRate + "(" + notPassCount + ")";
|
|
}
|
|
}
|
|
|
|
|
|
public void setNotPassRate(String notPassRate) {
|
|
public void setNotPassRate(String notPassRate) {
|
|
@@ -148,7 +189,7 @@ public class TAExamCourseDto implements Serializable {
|
|
}
|
|
}
|
|
|
|
|
|
public String getCurrentNotPassRate() {
|
|
public String getCurrentNotPassRate() {
|
|
- return currentNotPassRate;
|
|
|
|
|
|
+ return currentNotPassRate + "(" + currentNotPassCount + ")";
|
|
}
|
|
}
|
|
|
|
|
|
public void setCurrentNotPassRate(String currentNotPassRate) {
|
|
public void setCurrentNotPassRate(String currentNotPassRate) {
|