| | |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.asrs.service.NodeService; |
| | | import com.zy.common.utils.Synchro; |
| | | import com.zy.system.entity.Host; |
| | | import com.zy.system.entity.User; |
| | | import com.zy.system.service.HostService; |
| | |
| | | private Integer status; |
| | | |
| | | /** |
| | | * 危险品 1: 是 0: 否 |
| | | */ |
| | | @ApiModelProperty(value= "危险品 1: 是 0: 否 ") |
| | | private Integer danger; |
| | | |
| | | /** |
| | | * 添加人员 |
| | | */ |
| | | @ApiModelProperty(value= "添加人员") |
| | |
| | | */ |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | |
| | | @ApiModelProperty(value = "预留1") |
| | | private String temp1; |
| | | @ApiModelProperty(value = "预留2") |
| | | private String temp2; |
| | | @ApiModelProperty(value = "预留3") |
| | | private String temp3; |
| | | @ApiModelProperty(value = "预留4") |
| | | private String temp4; |
| | | |
| | | |
| | | public ManLocDetl() {} |
| | | |
| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.modiTime); |
| | | } |
| | | |
| | | public void sync(Object source) { |
| | | Synchro.Copy(source, this); |
| | | } |
| | | |
| | | public long getStoreDate(){ |
| | | if (Cools.isEmpty(this.createTime)){ |
| | | this.createTime = new Date(); |
| | | } |
| | | long timeNow = new Date().getTime(); |
| | | long timeCreate = this.createTime.getTime(); |
| | | |
| | | |
| | | return (timeNow - timeCreate) /24/60/60/1000; |
| | | } |
| | | |
| | | } |