#
Junjie
2024-12-24 d8f361c9d69271aaa58ba19e75f38e0fee00f3bb
src/main/java/com/zy/asrs/entity/BasShuttle.java
@@ -9,12 +9,6 @@
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;
@@ -41,9 +35,9 @@
    private Integer status;
    /**
     * 作业态
     * 当前小车状态(内部自我维护)
     */
    @ApiModelProperty(value= "作业态")
    @ApiModelProperty(value= "当前小车状态(内部自我维护)")
    @TableField("shuttle_status")
    private Integer shuttleStatus;
@@ -53,45 +47,6 @@
    @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;
    /**
     * 暂存库位
@@ -158,25 +113,33 @@
    private Integer liftNo;
    /**
     * 标记
     * 作业标记
     */
    @ApiModelProperty(value= "标记")
    @ApiModelProperty(value= "作业标记")
    @TableField("pak_mk")
    private String pakMk;
    private Boolean pakMk;
    /**
     * 小车运行速度
     */
    @ApiModelProperty(value= "小车运行速度")
    @TableField("run_speed")
    private Integer runSpeed;
    /**
     * 设备状态
     */
    @ApiModelProperty(value= "设备状态")
    @TableField("device_status")
    private String deviceStatus;
    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, Integer liftNo, 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;
@@ -186,29 +149,9 @@
        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; }