|  |  |  | 
|---|
|  |  |  | import java.text.SimpleDateFormat; | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
|---|
|  |  |  | import com.core.common.SpringUtils; | 
|---|
|  |  |  | import com.zy.system.service.UserService; | 
|---|
|  |  |  | import com.zy.system.entity.User; | 
|---|
|  |  |  | import java.text.SimpleDateFormat; | 
|---|
|  |  |  | import java.util.Date; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import io.swagger.annotations.ApiModelProperty; | 
|---|
|  |  |  | import lombok.Data; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotations.TableName; | 
|---|
|  |  |  | 
|---|
|  |  |  | private Integer status; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 作业态 | 
|---|
|  |  |  | * 当前小车状态(内部自我维护) | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "作业态") | 
|---|
|  |  |  | @ApiModelProperty(value= "当前小车状态(内部自我维护)") | 
|---|
|  |  |  | @TableField("shuttle_status") | 
|---|
|  |  |  | private Integer shuttleStatus; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value= "任务号") | 
|---|
|  |  |  | @TableField("wrk_no") | 
|---|
|  |  |  | private Integer wrkNo; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 排 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "排") | 
|---|
|  |  |  | private Integer row; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 列 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "列") | 
|---|
|  |  |  | private Integer bay; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 层 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "层") | 
|---|
|  |  |  | private Integer lev; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 历史排 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "历史排") | 
|---|
|  |  |  | @TableField("his_row") | 
|---|
|  |  |  | private Integer hisRow; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 历史列 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "历史列") | 
|---|
|  |  |  | @TableField("his_bay") | 
|---|
|  |  |  | private Integer hisBay; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 历史层 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "历史层") | 
|---|
|  |  |  | @TableField("his_lev") | 
|---|
|  |  |  | private Integer hisLev; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 暂存库位 | 
|---|
|  |  |  | 
|---|
|  |  |  | private String memo; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 提升机号 | 
|---|
|  |  |  | * 作业标记 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "提升机号") | 
|---|
|  |  |  | @TableField("lift_no") | 
|---|
|  |  |  | private Integer liftNo; | 
|---|
|  |  |  | @ApiModelProperty(value= "作业标记") | 
|---|
|  |  |  | @TableField("pak_mk") | 
|---|
|  |  |  | private Boolean pakMk; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 标记 | 
|---|
|  |  |  | * 小车运行速度 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "标记") | 
|---|
|  |  |  | @TableField("pak_mk") | 
|---|
|  |  |  | private String pakMk; | 
|---|
|  |  |  | @ApiModelProperty(value= "小车运行速度") | 
|---|
|  |  |  | @TableField("run_speed") | 
|---|
|  |  |  | private Integer runSpeed; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 设备状态 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "设备状态") | 
|---|
|  |  |  | @TableField("device_status") | 
|---|
|  |  |  | private String deviceStatus; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 小车禁用楼层 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "小车禁用楼层") | 
|---|
|  |  |  | @TableField("disable_lev") | 
|---|
|  |  |  | private String disableLev; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public BasShuttle() {} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public BasShuttle(Integer shuttleNo,Integer status,Integer shuttleStatus,Integer wrkNo,Integer row,Integer bay,Integer lev,Integer hisRow,Integer hisBay,Integer hisLev,String idleLoc,Integer autoCharge,Integer chargeLine,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo,Integer liftNo) { | 
|---|
|  |  |  | public BasShuttle(Integer shuttleNo, Integer status, Integer shuttleStatus, Integer wrkNo, String idleLoc, Integer autoCharge, Integer chargeLine, Long createBy, Date createTime, Long updateBy, Date updateTime, String memo, Boolean pakMk, String deviceStatus) { | 
|---|
|  |  |  | this.shuttleNo = shuttleNo; | 
|---|
|  |  |  | this.status = status; | 
|---|
|  |  |  | this.shuttleStatus = shuttleStatus; | 
|---|
|  |  |  | this.wrkNo = wrkNo; | 
|---|
|  |  |  | this.row = row; | 
|---|
|  |  |  | this.bay = bay; | 
|---|
|  |  |  | this.lev = lev; | 
|---|
|  |  |  | this.hisRow = hisRow; | 
|---|
|  |  |  | this.hisBay = hisBay; | 
|---|
|  |  |  | this.hisLev = hisLev; | 
|---|
|  |  |  | this.idleLoc = idleLoc; | 
|---|
|  |  |  | this.autoCharge = autoCharge; | 
|---|
|  |  |  | this.chargeLine = chargeLine; | 
|---|
|  |  |  | 
|---|
|  |  |  | this.updateBy = updateBy; | 
|---|
|  |  |  | this.updateTime = updateTime; | 
|---|
|  |  |  | this.memo = memo; | 
|---|
|  |  |  | this.liftNo = liftNo; | 
|---|
|  |  |  | this.pakMk = pakMk; | 
|---|
|  |  |  | this.deviceStatus = deviceStatus; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //    BasShuttle basShuttle = new BasShuttle( | 
|---|
|  |  |  | //            null,    // 四向穿梭车号[非空] | 
|---|
|  |  |  | //            null,    // 状态 | 
|---|
|  |  |  | //            null,    // 作业态 | 
|---|
|  |  |  | //            null,    // 任务号 | 
|---|
|  |  |  | //            null,    // 排 | 
|---|
|  |  |  | //            null,    // 列 | 
|---|
|  |  |  | //            null,    // 层 | 
|---|
|  |  |  | //            null,    // 历史排 | 
|---|
|  |  |  | //            null,    // 历史列 | 
|---|
|  |  |  | //            null,    // 历史层 | 
|---|
|  |  |  | //            null,    // 暂存库位 | 
|---|
|  |  |  | //            null,    // 自动充电 | 
|---|
|  |  |  | //            null,    // 电量线 | 
|---|
|  |  |  | //            null,    // 添加人员 | 
|---|
|  |  |  | //            null,    // 添加时间 | 
|---|
|  |  |  | //            null,    // 修改人员 | 
|---|
|  |  |  | //            null,    // 修改时间 | 
|---|
|  |  |  | //            null,    // 备注 | 
|---|
|  |  |  | //            null    // 提升机号 | 
|---|
|  |  |  | //    ); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getStatus$(){ | 
|---|
|  |  |  | if (null == this.status){ return null; } | 
|---|