Browse Source

批量插入

gaodm 5 years ago
parent
commit
d434c28ea7
1 changed files with 47 additions and 35 deletions
  1. 47 35
      mrman-service/src/main/java/com/diagbot/entity/CasesEntryHospital.java

+ 47 - 35
mrman-service/src/main/java/com/diagbot/entity/CasesEntryHospital.java

@@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
 
 import java.io.Serializable;
+import java.math.BigDecimal;
 import java.util.Date;
 
 /**
@@ -56,35 +57,31 @@ public class CasesEntryHospital implements Serializable {
      */
     private Long casesEntryId;
 
-    private String hospitalId;
+    /**
+     * 医院ID
+     */
+    private Long hospitalId;
 
     /**
      * 扣分值
      */
-    private String score;
+    private BigDecimal score;
 
+    /**
+     * 条目提示信息
+     */
     private String msg;
 
+    /**
+     * 0-未启用 1-启用
+     */
     private Integer isUsed;
 
+    /**
+     * 单项否决(1-单项否决 0-非)
+     */
     private Integer isReject;
 
-    public Integer getIsReject() {
-        return isReject;
-    }
-
-    public void setIsReject(Integer isReject) {
-        this.isReject = isReject;
-    }
-
-    public Integer getIsUsed() {
-        return isUsed;
-    }
-
-    public void setIsUsed(Integer isUsed) {
-        this.isUsed = isUsed;
-    }
-
     /**
      * 备注
      */
@@ -139,18 +136,18 @@ public class CasesEntryHospital implements Serializable {
     public void setCasesEntryId(Long casesEntryId) {
         this.casesEntryId = casesEntryId;
     }
-    public String getHospitalId() {
+    public Long getHospitalId() {
         return hospitalId;
     }
 
-    public void setHospitalId(String hospitalId) {
+    public void setHospitalId(Long hospitalId) {
         this.hospitalId = hospitalId;
     }
-    public String getScore() {
+    public BigDecimal getScore() {
         return score;
     }
 
-    public void setScore(String score) {
+    public void setScore(BigDecimal score) {
         this.score = score;
     }
     public String getMsg() {
@@ -160,6 +157,20 @@ public class CasesEntryHospital implements Serializable {
     public void setMsg(String msg) {
         this.msg = msg;
     }
+    public Integer getIsUsed() {
+        return isUsed;
+    }
+
+    public void setIsUsed(Integer isUsed) {
+        this.isUsed = isUsed;
+    }
+    public Integer getIsReject() {
+        return isReject;
+    }
+
+    public void setIsReject(Integer isReject) {
+        this.isReject = isReject;
+    }
     public String getRemark() {
         return remark;
     }
@@ -170,19 +181,20 @@ public class CasesEntryHospital implements Serializable {
 
     @Override
     public String toString() {
-        return "CasesEntryHospital{" +
-            "id=" + id +
-            ", isDeleted=" + isDeleted +
-            ", gmtCreate=" + gmtCreate +
-            ", gmtModified=" + gmtModified +
-            ", creator=" + creator +
-            ", modifier=" + modifier +
-            ", casesEntryId=" + casesEntryId +
-            ", hospitalId=" + hospitalId +
-            ", score=" + score +
-            ", msg=" + msg +
+        return "QcCasesEntryHospital{" +
+                "id=" + id +
+                ", isDeleted=" + isDeleted +
+                ", gmtCreate=" + gmtCreate +
+                ", gmtModified=" + gmtModified +
+                ", creator=" + creator +
+                ", modifier=" + modifier +
+                ", casesEntryId=" + casesEntryId +
+                ", hospitalId=" + hospitalId +
+                ", score=" + score +
+                ", msg=" + msg +
                 ", isUsed=" + isUsed +
-            ", remark=" + remark +
-        "}";
+                ", isReject=" + isReject +
+                ", remark=" + remark +
+                "}";
     }
 }