浏览代码

标签添加字段

zhoutg 6 年之前
父节点
当前提交
42acdaa4b3

+ 2 - 0
icss-service/src/main/java/com/diagbot/dto/QuestionDTO.java

@@ -36,6 +36,8 @@ public class QuestionDTO {
     private Integer exclusionType; //互斥类型
     private String judgeType; //判断类型(0:本身异常;1:本身正常;2:数字范围;3:计算公式;9:无需判断)
     private String copyType;//是否复制
+    private Integer showInfo; //是否显示i
+    private String joint;     //标签后的连接符
     private List<QuestionDetail> questionDetailList = new ArrayList<>(); //标签明细表
     private List<QuestionDTO> questionMapping = new ArrayList<>();     //下级标签
     private String remark;//备注

+ 10 - 0
icss-service/src/main/java/com/diagbot/entity/QuestionInfo.java

@@ -116,6 +116,16 @@ public class QuestionInfo implements Serializable {
      */
     private Integer showAdd;
 
+    /**
+     * 是否显示 i
+     */
+    private Integer showInfo;
+
+    /**
+     * 标签后的连接符
+     */
+    private String joint;
+
     /**
      * 备注
      */

+ 3 - 0
icss-service/src/main/resources/mapper/QuestionInfoMapper.xml

@@ -21,6 +21,9 @@
         <result column="max_value" property="maxValue" />
         <result column="judge_type" property="judgeType" />
         <result column="copy_type" property="copyType" />
+        <result column="show_add" property="showAdd" />
+        <result column="show_info" property="showInfo" />
+        <result column="joint" property="joint" />
         <result column="remark" property="remark" />
     </resultMap>
 

+ 10 - 0
icssman-service/src/main/java/com/diagbot/entity/QuestionInfo.java

@@ -145,6 +145,16 @@ public class QuestionInfo implements Serializable {
      */
     private Integer showAdd;
 
+    /**
+     * 是否显示 i
+     */
+    private Integer showInfo;
+
+    /**
+     * 标签后的连接符
+     */
+    private String joint;
+
     /**
      * 备注
      */

+ 2 - 0
icssman-service/src/main/resources/mapper/QuestionInfoMapper.xml

@@ -27,6 +27,8 @@
         <result column="text_generate" property="textGenerate" />
         <result column="copy_type" property="copyType" />
         <result column="show_add" property="showAdd" />
+        <result column="show_info" property="showInfo" />
+        <result column="joint" property="joint" />
         <result column="remark" property="remark" />
     </resultMap>