|
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.annotation.JsonInclude;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
+import java.math.BigDecimal;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
@@ -17,6 +18,9 @@ import java.util.Map;
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
|
public class ReportExamStudentUsualScoreDto implements Serializable {
|
|
|
|
|
|
+ @ApiModelProperty(value = "权重")
|
|
|
+ private BigDecimal targetWeight;
|
|
|
+
|
|
|
@ApiModelProperty(value = "平时成绩对象集合")
|
|
|
private Map<Long, List<ReportExamStudentUsualScoreObjDto>> scoreMap;
|
|
|
|
|
@@ -27,17 +31,27 @@ public class ReportExamStudentUsualScoreDto implements Serializable {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ public ReportExamStudentUsualScoreDto(BigDecimal targetSumWeight, List<ReportExamStudentUsualScoreObjDto> scoreList) {
|
|
|
+ this.targetWeight = targetSumWeight;
|
|
|
+ this.scoreList = scoreList;
|
|
|
+ }
|
|
|
+
|
|
|
public ReportExamStudentUsualScoreDto(ReportExamStudentUsualScoreDto reportExamStudentUsualScoreDto) {
|
|
|
+ this.targetWeight = reportExamStudentUsualScoreDto.getTargetWeight();
|
|
|
this.scoreMap = reportExamStudentUsualScoreDto.getScoreMap();
|
|
|
this.scoreList = reportExamStudentUsualScoreDto.getScoreList();
|
|
|
}
|
|
|
|
|
|
- public ReportExamStudentUsualScoreDto(Map<Long, List<ReportExamStudentUsualScoreObjDto>> scoreMap) {
|
|
|
- this.scoreMap = scoreMap;
|
|
|
+ public BigDecimal getTargetWeight() {
|
|
|
+ return targetWeight;
|
|
|
}
|
|
|
|
|
|
- public ReportExamStudentUsualScoreDto(List<ReportExamStudentUsualScoreObjDto> scoreList) {
|
|
|
- this.scoreList = scoreList;
|
|
|
+ public void setTargetWeight(BigDecimal targetWeight) {
|
|
|
+ this.targetWeight = targetWeight;
|
|
|
+ }
|
|
|
+
|
|
|
+ public ReportExamStudentUsualScoreDto(Map<Long, List<ReportExamStudentUsualScoreObjDto>> scoreMap) {
|
|
|
+ this.scoreMap = scoreMap;
|
|
|
}
|
|
|
|
|
|
public Map<Long, List<ReportExamStudentUsualScoreObjDto>> getScoreMap() {
|