Commit e0c09993 authored by alex yao's avatar alex yao

feat: 智能出题

parent 831f1dcb
......@@ -194,6 +194,8 @@ public class ExaminationServiceImpl implements ExaminationService {
ExaminationEntity examinationEntity = new ExaminationEntity();
examinationEntity.setExaminationId(item.getExaminationId());
examinationEntity.setTitle(item.getTitle());
examinationEntity.setTotalScore(item.getTotalScore());
examinationEntity.setPositions(item.getPositions());
examinationEntity.setN(item.getN());
examinationEntity.setLevel(item.getLevel());
examinationEntity.setDate(item.getModifiedTime());
......
......@@ -25,6 +25,26 @@ public class ExaminationDto {
private Date date;
private Integer totalScore;
private String positions;
public Integer getTotalScore() {
return totalScore;
}
public void setTotalScore(Integer totalScore) {
this.totalScore = totalScore;
}
public String getPositions() {
return positions;
}
public void setPositions(String positions) {
this.positions = positions;
}
private List<ExaminationDetail> examinationDetails;
public List<ExaminationDetail> getExaminationDetails() {
......
......@@ -19,8 +19,28 @@ public class ExaminationEntity {
private Date date;
private Integer totalScore;
private String positions;
private List<ExaminationDetail> examinationDetails;
public Integer getTotalScore() {
return totalScore;
}
public void setTotalScore(Integer totalScore) {
this.totalScore = totalScore;
}
public String getPositions() {
return positions;
}
public void setPositions(String positions) {
this.positions = positions;
}
public List<ExaminationDetail> getExaminationDetails() {
return examinationDetails;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment