Browse Source

统计加入病人的维度

gaodm 5 years ago
parent
commit
d09f15d8eb

+ 5 - 0
common/src/main/java/com/diagbot/log/entity/BiRecord.java

@@ -59,6 +59,11 @@ public class BiRecord {
      */
     private String deptCode;
 
+    /**
+     * 医院患者编码
+     */
+    private String patientCode;
+
     /**
      * 产品类型(1:云平台内部;2:云平台外部;3:icss;4:智能分诊;5:页面推送模式;6:智能预问诊;7:数据引擎模式)
      */

+ 2 - 0
common/src/main/java/com/diagbot/vo/BaseBiVO.java

@@ -17,4 +17,6 @@ public class BaseBiVO {
     private String doctorCode;
     //科室编码
     private String deptCode;
+    //医院患者编码
+    private String patientCode;
 }

+ 15 - 1
log-service/src/main/java/com/diagbot/entity/BiRecord.java

@@ -13,7 +13,7 @@ import java.util.Date;
  * </p>
  *
  * @author gaodm
- * @since 2019-11-12
+ * @since 2019-11-18
  */
 @TableName("log_bi_record")
 public class BiRecord implements Serializable {
@@ -66,6 +66,11 @@ public class BiRecord implements Serializable {
      */
     private String deptCode;
 
+    /**
+     * 医院患者编码
+     */
+    private String patientCode;
+
     /**
      * 产品类型(1:云平台内部;2:云平台外部;3:icss;4:智能分诊;5:页面推送模式;6:智能预问诊;7:数据引擎模式)
      */
@@ -168,6 +173,14 @@ public class BiRecord implements Serializable {
         this.deptCode = deptCode;
     }
 
+    public String getPatientCode() {
+        return patientCode;
+    }
+
+    public void setPatientCode(String patientCode) {
+        this.patientCode = patientCode;
+    }
+
     public Integer getProductType() {
         return productType;
     }
@@ -228,6 +241,7 @@ public class BiRecord implements Serializable {
                 ", hospitalCode=" + hospitalCode +
                 ", doctorCode=" + doctorCode +
                 ", deptCode=" + deptCode +
+                ", patientCode=" + patientCode +
                 ", productType=" + productType +
                 ", code=" + code +
                 ", params=" + params +