|
@@ -4,11 +4,13 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
+import com.qmth.teachcloud.common.contant.SystemConstant;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
import java.math.BigDecimal;
|
|
|
+import java.util.Objects;
|
|
|
|
|
|
/**
|
|
|
* <p>
|
|
@@ -63,6 +65,10 @@ public class TAExamCourse implements Serializable {
|
|
|
@TableField(value = "inspect_college_count")
|
|
|
private Integer inspectCollegeCount;
|
|
|
|
|
|
+ @ApiModelProperty(value = "考查学院名称(','隔开)")
|
|
|
+ @TableField(value = "inspect_college_names")
|
|
|
+ private String inspectCollegeNames;
|
|
|
+
|
|
|
@ApiModelProperty(value = "总体平均分")
|
|
|
@TableField(value = "avg_score")
|
|
|
private BigDecimal avgScore;
|
|
@@ -191,6 +197,54 @@ public class TAExamCourse implements Serializable {
|
|
|
@TableField(value = "coefficient")
|
|
|
private BigDecimal coefficient;
|
|
|
|
|
|
+ @ApiModelProperty(value = "不及格率")
|
|
|
+ @TableField(exist = false)
|
|
|
+ private String notPassRate;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "应届不及格率")
|
|
|
+ @TableField(exist = false)
|
|
|
+ private String currentNotPassRate;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "不及格率人数")
|
|
|
+ @TableField(exist = false)
|
|
|
+ private Integer notPassCount;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "应届不及格人数")
|
|
|
+ @TableField(exist = false)
|
|
|
+ private Integer currentNotPassCount;
|
|
|
+
|
|
|
+ public String getCurrentNotPassRate() {
|
|
|
+ return currentNotPassRate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCurrentNotPassRate(String currentNotPassRate) {
|
|
|
+ this.currentNotPassRate = currentNotPassRate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getNotPassCount() {
|
|
|
+ return notPassCount;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setNotPassCount(Integer notPassCount) {
|
|
|
+ this.notPassCount = notPassCount;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getCurrentNotPassCount() {
|
|
|
+ return currentNotPassCount;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCurrentNotPassCount(Integer currentNotPassCount) {
|
|
|
+ this.currentNotPassCount = currentNotPassCount;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getNotPassRate() {
|
|
|
+ return notPassRate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setNotPassRate(String notPassRate) {
|
|
|
+ this.notPassRate = notPassRate;
|
|
|
+ }
|
|
|
+
|
|
|
public static long getSerialVersionUID() {
|
|
|
return serialVersionUID;
|
|
|
}
|
|
@@ -268,7 +322,11 @@ public class TAExamCourse implements Serializable {
|
|
|
}
|
|
|
|
|
|
public BigDecimal getAvgScore() {
|
|
|
- return avgScore;
|
|
|
+ if (Objects.nonNull(avgScore)) {
|
|
|
+ return avgScore.setScale(SystemConstant.FINAL_SCALE, BigDecimal.ROUND_HALF_UP);
|
|
|
+ } else {
|
|
|
+ return avgScore;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void setAvgScore(BigDecimal avgScore) {
|
|
@@ -300,7 +358,11 @@ public class TAExamCourse implements Serializable {
|
|
|
}
|
|
|
|
|
|
public BigDecimal getCurrentPassRate() {
|
|
|
- return currentPassRate;
|
|
|
+ if (Objects.nonNull(currentPassRate)) {
|
|
|
+ return currentPassRate.setScale(SystemConstant.FINAL_SCALE, BigDecimal.ROUND_HALF_UP);
|
|
|
+ } else {
|
|
|
+ return currentPassRate;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void setCurrentPassRate(BigDecimal currentPassRate) {
|
|
@@ -308,7 +370,11 @@ public class TAExamCourse implements Serializable {
|
|
|
}
|
|
|
|
|
|
public BigDecimal getTotalScore() {
|
|
|
- return totalScore;
|
|
|
+ if (Objects.nonNull(totalScore)) {
|
|
|
+ return totalScore.setScale(SystemConstant.FINAL_SCALE, BigDecimal.ROUND_HALF_UP);
|
|
|
+ } else {
|
|
|
+ return totalScore;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void setTotalScore(BigDecimal totalScore) {
|
|
@@ -340,7 +406,11 @@ public class TAExamCourse implements Serializable {
|
|
|
}
|
|
|
|
|
|
public BigDecimal getCurrentMinScore() {
|
|
|
- return currentMinScore;
|
|
|
+ if (Objects.nonNull(currentMinScore)) {
|
|
|
+ return currentMinScore.setScale(SystemConstant.FINAL_SCALE, BigDecimal.ROUND_HALF_UP);
|
|
|
+ } else {
|
|
|
+ return currentMinScore;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void setCurrentMinScore(BigDecimal currentMinScore) {
|
|
@@ -348,7 +418,11 @@ public class TAExamCourse implements Serializable {
|
|
|
}
|
|
|
|
|
|
public BigDecimal getCurrentMaxScore() {
|
|
|
- return currentMaxScore;
|
|
|
+ if (Objects.nonNull(currentMaxScore)) {
|
|
|
+ return currentMaxScore.setScale(SystemConstant.FINAL_SCALE, BigDecimal.ROUND_HALF_UP);
|
|
|
+ } else {
|
|
|
+ return currentMaxScore;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void setCurrentMaxScore(BigDecimal currentMaxScore) {
|
|
@@ -356,7 +430,11 @@ public class TAExamCourse implements Serializable {
|
|
|
}
|
|
|
|
|
|
public BigDecimal getCurrentAvgScore() {
|
|
|
- return currentAvgScore;
|
|
|
+ if (Objects.nonNull(currentAvgScore)) {
|
|
|
+ return currentAvgScore.setScale(SystemConstant.FINAL_SCALE, BigDecimal.ROUND_HALF_UP);
|
|
|
+ } else {
|
|
|
+ return currentAvgScore;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void setCurrentAvgScore(BigDecimal currentAvgScore) {
|
|
@@ -364,7 +442,11 @@ public class TAExamCourse implements Serializable {
|
|
|
}
|
|
|
|
|
|
public BigDecimal getCurrentScoreRate() {
|
|
|
- return currentScoreRate;
|
|
|
+ if (Objects.nonNull(currentScoreRate)) {
|
|
|
+ return currentScoreRate.setScale(SystemConstant.FINAL_SCALE, BigDecimal.ROUND_HALF_UP);
|
|
|
+ } else {
|
|
|
+ return currentScoreRate;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void setCurrentScoreRate(BigDecimal currentScoreRate) {
|
|
@@ -396,7 +478,11 @@ public class TAExamCourse implements Serializable {
|
|
|
}
|
|
|
|
|
|
public BigDecimal getCurrentRealityRate() {
|
|
|
- return currentRealityRate;
|
|
|
+ if (Objects.nonNull(currentRealityRate)) {
|
|
|
+ return currentRealityRate.setScale(SystemConstant.FINAL_SCALE, BigDecimal.ROUND_HALF_UP);
|
|
|
+ } else {
|
|
|
+ return currentRealityRate;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void setCurrentRealityRate(BigDecimal currentRealityRate) {
|
|
@@ -428,7 +514,11 @@ public class TAExamCourse implements Serializable {
|
|
|
}
|
|
|
|
|
|
public BigDecimal getPastRealityRate() {
|
|
|
- return pastRealityRate;
|
|
|
+ if (Objects.nonNull(pastRealityRate)) {
|
|
|
+ return pastRealityRate.setScale(SystemConstant.FINAL_SCALE, BigDecimal.ROUND_HALF_UP);
|
|
|
+ } else {
|
|
|
+ return pastRealityRate;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void setPastRealityRate(BigDecimal pastRealityRate) {
|
|
@@ -436,7 +526,11 @@ public class TAExamCourse implements Serializable {
|
|
|
}
|
|
|
|
|
|
public BigDecimal getCurrentUpperQuartile() {
|
|
|
- return currentUpperQuartile;
|
|
|
+ if (Objects.nonNull(currentUpperQuartile)) {
|
|
|
+ return currentUpperQuartile.setScale(SystemConstant.FINAL_SCALE, BigDecimal.ROUND_HALF_UP);
|
|
|
+ } else {
|
|
|
+ return currentUpperQuartile;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void setCurrentUpperQuartile(BigDecimal currentUpperQuartile) {
|
|
@@ -444,7 +538,11 @@ public class TAExamCourse implements Serializable {
|
|
|
}
|
|
|
|
|
|
public BigDecimal getCurrentMedian() {
|
|
|
- return currentMedian;
|
|
|
+ if (Objects.nonNull(currentMedian)) {
|
|
|
+ return currentMedian.setScale(SystemConstant.FINAL_SCALE, BigDecimal.ROUND_HALF_UP);
|
|
|
+ } else {
|
|
|
+ return currentMedian;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void setCurrentMedian(BigDecimal currentMedian) {
|
|
@@ -452,7 +550,11 @@ public class TAExamCourse implements Serializable {
|
|
|
}
|
|
|
|
|
|
public BigDecimal getCurrentLowerQuartile() {
|
|
|
- return currentLowerQuartile;
|
|
|
+ if (Objects.nonNull(currentLowerQuartile)) {
|
|
|
+ return currentLowerQuartile.setScale(SystemConstant.FINAL_SCALE, BigDecimal.ROUND_HALF_UP);
|
|
|
+ } else {
|
|
|
+ return currentLowerQuartile;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void setCurrentLowerQuartile(BigDecimal currentLowerQuartile) {
|
|
@@ -468,7 +570,11 @@ public class TAExamCourse implements Serializable {
|
|
|
}
|
|
|
|
|
|
public BigDecimal getCurrentStandardDeviation() {
|
|
|
- return currentStandardDeviation;
|
|
|
+ if (Objects.nonNull(currentStandardDeviation)) {
|
|
|
+ return currentStandardDeviation.setScale(SystemConstant.FINAL_SCALE, BigDecimal.ROUND_HALF_UP);
|
|
|
+ } else {
|
|
|
+ return currentStandardDeviation;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void setCurrentStandardDeviation(BigDecimal currentStandardDeviation) {
|
|
@@ -484,7 +590,11 @@ public class TAExamCourse implements Serializable {
|
|
|
}
|
|
|
|
|
|
public BigDecimal getPaperAvgScore() {
|
|
|
- return paperAvgScore;
|
|
|
+ if (Objects.nonNull(paperAvgScore)) {
|
|
|
+ return paperAvgScore.setScale(SystemConstant.FINAL_SCALE, BigDecimal.ROUND_HALF_UP);
|
|
|
+ } else {
|
|
|
+ return paperAvgScore;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void setPaperAvgScore(BigDecimal paperAvgScore) {
|
|
@@ -492,7 +602,11 @@ public class TAExamCourse implements Serializable {
|
|
|
}
|
|
|
|
|
|
public BigDecimal getPaperCurrentAvgScore() {
|
|
|
- return paperCurrentAvgScore;
|
|
|
+ if (Objects.nonNull(paperCurrentAvgScore)) {
|
|
|
+ return paperCurrentAvgScore.setScale(SystemConstant.FINAL_SCALE, BigDecimal.ROUND_HALF_UP);
|
|
|
+ } else {
|
|
|
+ return paperCurrentAvgScore;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void setPaperCurrentAvgScore(BigDecimal paperCurrentAvgScore) {
|
|
@@ -500,7 +614,11 @@ public class TAExamCourse implements Serializable {
|
|
|
}
|
|
|
|
|
|
public BigDecimal getPaperPassRate() {
|
|
|
- return paperPassRate;
|
|
|
+ if (Objects.nonNull(paperPassRate)) {
|
|
|
+ return paperPassRate.setScale(SystemConstant.FINAL_SCALE, BigDecimal.ROUND_HALF_UP);
|
|
|
+ } else {
|
|
|
+ return paperPassRate;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void setPaperPassRate(BigDecimal paperPassRate) {
|
|
@@ -508,7 +626,11 @@ public class TAExamCourse implements Serializable {
|
|
|
}
|
|
|
|
|
|
public BigDecimal getPaperCurrentPassRate() {
|
|
|
- return paperCurrentPassRate;
|
|
|
+ if (Objects.nonNull(paperCurrentPassRate)) {
|
|
|
+ return paperCurrentPassRate.setScale(SystemConstant.FINAL_SCALE, BigDecimal.ROUND_HALF_UP);
|
|
|
+ } else {
|
|
|
+ return paperCurrentPassRate;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void setPaperCurrentPassRate(BigDecimal paperCurrentPassRate) {
|
|
@@ -516,10 +638,22 @@ public class TAExamCourse implements Serializable {
|
|
|
}
|
|
|
|
|
|
public BigDecimal getCoefficient() {
|
|
|
- return coefficient;
|
|
|
+ if (Objects.nonNull(coefficient)) {
|
|
|
+ return coefficient.setScale(SystemConstant.FINAL_SCALE, BigDecimal.ROUND_HALF_UP);
|
|
|
+ } else {
|
|
|
+ return coefficient;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void setCoefficient(BigDecimal coefficient) {
|
|
|
this.coefficient = coefficient;
|
|
|
}
|
|
|
+
|
|
|
+ public String getInspectCollegeNames() {
|
|
|
+ return inspectCollegeNames;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setInspectCollegeNames(String inspectCollegeNames) {
|
|
|
+ this.inspectCollegeNames = inspectCollegeNames;
|
|
|
+ }
|
|
|
}
|