Commit f89723f9 authored by 王国存's avatar 王国存

问卷管理-评分提交添加

parent 3aeff8e0
...@@ -8,6 +8,8 @@ public class Answer {//上报数据表(每条上报记录的详细数据表) ...@@ -8,6 +8,8 @@ public class Answer {//上报数据表(每条上报记录的详细数据表)
private int recordId;//上报记录id private int recordId;//上报记录id
private String remark;//备注 private String remark;//备注
private int score;//分数
public String getRemark() { public String getRemark() {
return remark; return remark;
} }
...@@ -56,14 +58,23 @@ public class Answer {//上报数据表(每条上报记录的详细数据表) ...@@ -56,14 +58,23 @@ public class Answer {//上报数据表(每条上报记录的详细数据表)
this.recordId = recordId; this.recordId = recordId;
} }
public int getScore() {
return score;
}
public void setScore(int score) {
this.score = score;
}
public Answer() { public Answer() {
} }
public Answer(Long id, Long optionsId, String value, int group, int recordId) { public Answer(Long id, Long optionsId, String value, int group, int recordId, int score) {
this.id = id; this.id = id;
this.optionsId = optionsId; this.optionsId = optionsId;
this.value = value; this.value = value;
this.group = group; this.group = group;
this.recordId = recordId; this.recordId = recordId;
this.score = score;
} }
} }
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