Browse Source

add set tq_id for out tq

161250169 6 years ago
parent
commit
b5eddb85b1
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/main/java/com/es/demo/back/ChoiceQuestion.java

+ 4 - 0
src/main/java/com/es/demo/back/ChoiceQuestion.java

@@ -62,6 +62,10 @@ public class ChoiceQuestion {
         return id;
         return id;
     }
     }
 
 
+    public void setTqId(Integer id) {
+        this.id=id;
+    }
+
     public void initProblem(Integer id, String type, String stem, HashMap options){
     public void initProblem(Integer id, String type, String stem, HashMap options){
         this.id=id;
         this.id=id;
         this.type=type;
         this.type=type;