Forráskód Böngészése

撤泵加上住院号

wangzl 5 hónapja
szülő
commit
618fb64dac

+ 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();
     }
 }