瀏覽代碼

撤泵加上住院号

wangzl 5 月之前
父節點
當前提交
618fb64dac
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      pump-web/src/main/java/com/tuoren/web/layer/d0/PumpRemovePushRabbitDTO.java

+ 2 - 1
pump-web/src/main/java/com/tuoren/web/layer/d0/PumpRemovePushRabbitDTO.java

@@ -32,6 +32,7 @@ public class PumpRemovePushRabbitDTO implements Serializable {
     @AllArgsConstructor(staticName = "of")
     private static class Data{
         private String SysHospital_ID;
+        private String PatientCode;
         private String PumpCode;
         private Boolean Visible;
         private String LastUploadTime;
@@ -42,7 +43,7 @@ public class PumpRemovePushRabbitDTO implements Serializable {
         return PumpRemovePushRabbitDTO.builder()
                 .operation(0)
                 .tableName("Pump")
-                .data(Data.of(source.getHospitalCode(),source.getPumpCode(),Boolean.FALSE, DateUtil.format(new Date(),"yyyy-MM-dd HH:mm:ss")))
+                .data(Data.of(source.getHospitalCode(),source.getPumpCode(),source.getPatientCode(),Boolean.FALSE, DateUtil.format(new Date(),"yyyy-MM-dd HH:mm:ss")))
                 .build();
     }
 }