瀏覽代碼

标签添加字段标识,是否主类型

zhoutg 6 年之前
父節點
當前提交
25f4b98619

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

@@ -22,7 +22,8 @@ public class QuestionDTO {
     private String tagName;//标签名称
     private Integer type;//类型(1:症状 3:其他史 4:查体,5:化验 6:辅检 7:诊断)
     private Integer controlType; //控件类型
-    private Integer subType; //子类型
+    private Integer subType; //检索类型
+    private Integer itemType; //元素类型
     private Integer tagType; //标签标识
     private String labelPrefix = ""; //前置内容
     private String labelSuffix = ""; //后置内容

+ 6 - 1
icss-service/src/main/java/com/diagbot/entity/QuestionInfo.java

@@ -64,10 +64,15 @@ public class QuestionInfo implements Serializable {
 
 
     /**
-     * 子类型,(31:既往史 32:家族史 33:个人史 34:月经史 35:婚育史)
+     * 检索类型
      */
     private Integer subType;
 
+    /**
+     * 元素类型
+     */
+    private Integer itemType;
+
     /**
      * 标签标识
      */

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

@@ -14,6 +14,7 @@
         <result column="text_generate" property="textGenerate" />
         <result column="control_type" property="controlType" />
         <result column="sub_type" property="subType" />
+        <result column="item_type" property="itemType" />
         <result column="tag_type" property="tagType" />
         <result column="label_prefix" property="labelPrefix" />
         <result column="label_suffix" property="labelSuffix" />

+ 2 - 1
icssman-service/src/main/java/com/diagbot/dto/QuestionDTO.java

@@ -22,7 +22,8 @@ public class QuestionDTO {
     private String tagName;//标签名称
     private Integer type;//类型(1:症状 3:其他史 4:查体,5:化验 6:辅检 7:诊断)
     private Integer controlType; //控件类型
-    private Integer subType; //子类型
+    private Integer subType; //检索类型
+    private Integer itemType; //元素类型
     private Integer tagType; //标签标识
     private String labelPrefix = ""; //前置内容
     private String labelSuffix = ""; //后置内容

+ 6 - 1
icssman-service/src/main/java/com/diagbot/dto/QuestionPageDTO.java

@@ -114,10 +114,15 @@ public class QuestionPageDTO implements Serializable {
     private String typeCn;
 
     /**
-     * 子类型,(0:项目,1:描述)
+     * 检索类型
      */
     private Integer subType;
 
+    /**
+     * 元素类型
+     */
+    private Integer itemType;
+
     /**
      * 前置内容
      */

+ 6 - 1
icssman-service/src/main/java/com/diagbot/entity/QuestionInfo.java

@@ -99,10 +99,15 @@ public class QuestionInfo implements Serializable {
     private Integer type;
 
     /**
-     * 子类型,(0:项目,1:描述)
+     * 检索类型
      */
     private Integer subType;
 
+    /**
+     * 元素类型
+     */
+    private Integer itemType;
+
     /**
      * 前置内容
      */

+ 2 - 1
icssman-service/src/main/java/com/diagbot/entity/wrapper/QuestionWrapper.java

@@ -30,7 +30,8 @@ public class QuestionWrapper implements Serializable {
     private Integer tagType; //标签显示类型
     private Integer controlType; //控件类型
     private Integer type; //所属类型(1:症状 3:其他史 4:查体,5:化验 6:辅检 7:诊断)
-    private Integer subType; //(0:项目,1:描述)
+    private Integer subType; //检索类型
+    private Integer itemType; //元素类型
     private String labelPrefix; //前置内容
     private String labelSuffix; //后置内容
     private BigDecimal minValue; //最小值

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

@@ -19,6 +19,7 @@
         <result column="control_type" property="controlType" />
         <result column="type" property="type" />
         <result column="sub_type" property="subType" />
+        <result column="item_type" property="itemType" />
         <result column="label_prefix" property="labelPrefix" />
         <result column="label_suffix" property="labelSuffix" />
         <result column="min_value" property="minValue" />