Browse Source

his对接接口,医嘱增加字段medicineType

lantone 5 years ago
parent
commit
d8404a989a

+ 5 - 0
src/main/java/com/diagbot/dto/data/ADoctorAdviceDTO.java

@@ -128,4 +128,9 @@ public class ADoctorAdviceDTO {
      * 开单医生姓名
      */
     private String doctorName;
+
+    /**
+     * 药品类型(0.普药 1.抗生素 2.激素)
+     */
+    private String medicineType;
 }

+ 5 - 0
src/main/java/com/diagbot/vo/data/ADoctorAdviceVO.java

@@ -125,4 +125,9 @@ public class ADoctorAdviceVO {
      * 开单医生姓名
      */
     private String doctorName;
+
+    /**
+     * 药品类型(0.普药 1.抗生素 2.激素)
+     */
+    private String medicineType;
 }

+ 3 - 0
src/main/resources/mapper/DoctorAdviceMapper.xml

@@ -104,6 +104,9 @@
                 <if test="item.doctorName != null">
                     doctor_name = #{item.doctorName},
                 </if>
+                <if test="item.medicineType != null">
+                    medicine_type = #{item.medicineType},
+                </if>
                 <if test="item.gmtModified != null">
                     gmt_modified = #{item.gmtModified},
                 </if>