瀏覽代碼

修改题目和答案数据结构提交

zsy 1 年之前
父節點
當前提交
82161b123e

+ 3 - 0
src/main/java/com/rf/kjb/chat/dao/domain/ChatAnswerEntity.java

@@ -28,6 +28,9 @@ public class ChatAnswerEntity extends BaseEntry {
     @Column(name = "next_question_no",columnDefinition = "varchar(50) not null comment '下一个问题编号'")
     @Column(name = "next_question_no",columnDefinition = "varchar(50) not null comment '下一个问题编号'")
     private String nextQuestionNo;
     private String nextQuestionNo;
 
 
+    @Column(name = "question_type",columnDefinition = "varchar(2) not null comment '题目类型:0 选择题 1填空题 2跳转路由'")
+    private String questionType;
+
     @Column(name = "answer",columnDefinition = "varchar(200) not null comment '答案信息'")
     @Column(name = "answer",columnDefinition = "varchar(200) not null comment '答案信息'")
     private String answer;
     private String answer;
 
 

+ 1 - 1
src/main/java/com/rf/kjb/chat/dao/domain/ChatQuestionEntity.java

@@ -28,7 +28,7 @@ public class ChatQuestionEntity   {
     @Column(name = "next_question_no",columnDefinition = "varchar(50) not null comment '下一个问题编号'")
     @Column(name = "next_question_no",columnDefinition = "varchar(50) not null comment '下一个问题编号'")
     private String nextQuestionNo;
     private String nextQuestionNo;
 
 
-    @Column(name = "question_type",columnDefinition = "varchar(200) not null comment '答案信息'")
+    @Column(name = "question_type",columnDefinition = "varchar(200) not null comment '题目类型:0 选择题 1填空题 2跳转路由'")
     private String questionType;
     private String questionType;
 
 
     @Id
     @Id