Bladeren bron

医嘱信息显示

gaodm 4 jaren geleden
bovenliggende
commit
19931cdb94
1 gewijzigde bestanden met toevoegingen van 73 en 70 verwijderingen
  1. 73 70
      src/main/java/com/diagbot/dto/DoctorAdviceDTO.java

+ 73 - 70
src/main/java/com/diagbot/dto/DoctorAdviceDTO.java

@@ -1,5 +1,6 @@
 package com.diagbot.dto;
 
+import com.fasterxml.jackson.annotation.JsonFormat;
 import lombok.Getter;
 import lombok.Setter;
 
@@ -25,64 +26,65 @@ public class DoctorAdviceDTO {
      */
     private String behospitalCode;
 
-    /**
-     * 医生开单判别
-     */
-    private String orderDoctorName;
-
-    /**
-     * 医嘱频率判别
-     */
-    private String frequency;
-
-    /**
-     * 父类医嘱ID
-     */
-    private String parentTypeId;
+//    /**
+//     * 医生开单判别
+//     */
+//    private String orderDoctorName;
+//
+//    /**
+//     * 医嘱频率判别
+//     */
+//    private String frequency;
+//
+//    /**
+//     * 父类医嘱ID
+//     */
+//    private String parentTypeId;
 
     /**
      * 医嘱类型判别(嘱托长嘱、长期医嘱等)
      */
     private String doctorAdviceType;
 
-    /**
-     * 一次使用数量
-     */
-    private String usageNum;
-
-    /**
-     * 一次用量单位
-     */
-    private String usageUnit;
-
-    /**
-     * 医嘱单次剂量
-     */
-    private String dose;
-
-    /**
-     * 单次剂量单位
-     */
-    private String doseUnit;
-
-    /**
-     * 给药方式
-     */
-    private String medModeType;
-
-    /**
-     * 医嘱频率
-     */
-    private String daFrequency;
-
-    /**
-     * 医嘱处理类型
-     */
-    private String daDealType;
+//    /**
+//     * 一次使用数量
+//     */
+//    private String usageNum;
+//
+//    /**
+//     * 一次用量单位
+//     */
+//    private String usageUnit;
+//
+//    /**
+//     * 医嘱单次剂量
+//     */
+//    private String dose;
+//
+//    /**
+//     * 单次剂量单位
+//     */
+//    private String doseUnit;
+//
+//    /**
+//     * 给药方式
+//     */
+//    private String medModeType;
+//
+//    /**
+//     * 医嘱频率
+//     */
+//    private String daFrequency;
+//
+//    /**
+//     * 医嘱处理类型
+//     */
+//    private String daDealType;
 
     /**
      * 医嘱开始时间
      */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
     private Date daStartDate;
 
     /**
@@ -90,20 +92,21 @@ public class DoctorAdviceDTO {
      */
     private String daItemName;
 
-    /**
-     * 医嘱状态判别
-     */
-    private String daStatus;
+//    /**
+//     * 医嘱状态判别
+//     */
+//    private String daStatus;
 
     /**
      * 医嘱结束时间
      */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
     private Date daStopDate;
 
-    /**
-     * 医嘱同组序号
-     */
-    private String daGroupNo;
+//    /**
+//     * 医嘱同组序号
+//     */
+//    private String daGroupNo;
 
     /**
      * 医嘱处方类型(检验、描述医嘱、膳食、西药、护理等)
@@ -115,20 +118,20 @@ public class DoctorAdviceDTO {
      */
     private String medicineType;
 
-    /**
-     * 医嘱领药类型
-     */
-    private String daMedType;
-
-    /**
-     * 医生嘱托
-     */
-    private String doctorNotice;
-
-    /**
-     * 开单医生ID
-     */
-    private String doctorId;
+//    /**
+//     * 医嘱领药类型
+//     */
+//    private String daMedType;
+//
+//    /**
+//     * 医生嘱托
+//     */
+//    private String doctorNotice;
+//
+//    /**
+//     * 开单医生ID
+//     */
+//    private String doctorId;
 
     /**
      * 开单医生姓名