|
@@ -4,7 +4,6 @@ import com.baomidou.mybatisplus.annotation.*;
|
|
|
import com.coffee.bus.enums.DeviceAlarmEnum;
|
|
import com.coffee.bus.enums.DeviceAlarmEnum;
|
|
|
import com.coffee.bus.enums.DeviceEnum;
|
|
import com.coffee.bus.enums.DeviceEnum;
|
|
|
import com.coffee.bus.enums.DeviceStatusEnum;
|
|
import com.coffee.bus.enums.DeviceStatusEnum;
|
|
|
-import com.coffee.common.config.mybatis.DateToBigIntHandler;
|
|
|
|
|
import com.coffee.common.entity.TenantGenericEntity;
|
|
import com.coffee.common.entity.TenantGenericEntity;
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModel;
|
|
@@ -168,7 +167,6 @@ public class BusInfusionHistoryEntity extends TenantGenericEntity<String,String>
|
|
|
private Boolean warnLowBattery;
|
|
private Boolean warnLowBattery;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "输注开始时间,即本次运行开机时间",readOnly = true)
|
|
@ApiModelProperty(value = "输注开始时间,即本次运行开机时间",readOnly = true)
|
|
|
- @TableField(typeHandler = DateToBigIntHandler.class)
|
|
|
|
|
private Date startTime;
|
|
private Date startTime;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "是否已撤泵,0、未撤泵1、已撤泵")
|
|
@ApiModelProperty(value = "是否已撤泵,0、未撤泵1、已撤泵")
|
|
@@ -187,7 +185,6 @@ public class BusInfusionHistoryEntity extends TenantGenericEntity<String,String>
|
|
|
private DeviceEnum type;
|
|
private DeviceEnum type;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "当前输注记录数据最后上传时间",readOnly = true,hidden = true)
|
|
@ApiModelProperty(value = "当前输注记录数据最后上传时间",readOnly = true,hidden = true)
|
|
|
- @TableField(typeHandler = DateToBigIntHandler.class)
|
|
|
|
|
@JsonIgnoreProperties(allowSetters = true)
|
|
@JsonIgnoreProperties(allowSetters = true)
|
|
|
private Date lastUploadTime;
|
|
private Date lastUploadTime;
|
|
|
|
|
|
|
@@ -201,11 +198,9 @@ public class BusInfusionHistoryEntity extends TenantGenericEntity<String,String>
|
|
|
private String witnesses;
|
|
private String witnesses;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "撤泵时间")
|
|
@ApiModelProperty(value = "撤泵时间")
|
|
|
- @TableField(typeHandler = DateToBigIntHandler.class)
|
|
|
|
|
private Date undoTime;
|
|
private Date undoTime;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "撤泵时间")
|
|
@ApiModelProperty(value = "撤泵时间")
|
|
|
- @TableField(typeHandler = DateToBigIntHandler.class)
|
|
|
|
|
private Date clinicStartTime;
|
|
private Date clinicStartTime;
|
|
|
|
|
|
|
|
public static BusInfusionHistoryEntity parseRunningInfo(BusDeviceRunningEntity running){
|
|
public static BusInfusionHistoryEntity parseRunningInfo(BusDeviceRunningEntity running){
|