|
|
@@ -1,6 +1,6 @@
|
|
|
package com.tuoren.web.layer.d0;
|
|
|
|
|
|
-import cn.hutool.json.JSONUtil;
|
|
|
+import cn.hutool.core.date.DateUtil;
|
|
|
import com.tuoren.web.layer.entity.BusPumpEntity;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
@@ -34,7 +34,7 @@ public class PumpRemovePushRabbitDTO implements Serializable {
|
|
|
private String SysHospital_ID;
|
|
|
private String PumpCode;
|
|
|
private Boolean Visible;
|
|
|
- private Date LastUploadTime;
|
|
|
+ private String LastUploadTime;
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -42,7 +42,7 @@ public class PumpRemovePushRabbitDTO implements Serializable {
|
|
|
return PumpRemovePushRabbitDTO.builder()
|
|
|
.operation(0)
|
|
|
.tableName("Pump")
|
|
|
- .data(Data.of(source.getHospitalCode(),source.getPumpCode(),Boolean.FALSE,new Date()))
|
|
|
+ .data(Data.of(source.getHospitalCode(),source.getPumpCode(),Boolean.FALSE, DateUtil.format(new Date(),"yyyy-MM-dd HH:mm:ss")))
|
|
|
.build();
|
|
|
}
|
|
|
}
|