#
Junjie
3 天以前 959139e7a5d89e8498d731082a949310ae1c6fcf
src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -57,10 +57,6 @@
    @TableField("io_pri")
    private Double ioPri;
    @ApiModelProperty(value= "")
    @TableField("wrk_date")
    private Date wrkDate;
    /**
     * 目标库位
     */
@@ -145,18 +141,32 @@
    private String barcode;
    /**
     * 四向穿梭车号
     * 堆垛机号
     */
    @ApiModelProperty(value= "四向穿梭车号")
    @TableField(value = "shuttle_no",strategy = FieldStrategy.IGNORED)
    private Integer shuttleNo;
    @ApiModelProperty(value= "堆垛机号")
    @TableField(value = "crn_no",strategy = FieldStrategy.IGNORED)
    private Integer crnNo;
    /**
     * 提升机号
     * RGV号
     */
    @ApiModelProperty(value= "提升机号")
    @TableField(value = "lift_no",strategy = FieldStrategy.IGNORED)
    private Integer liftNo;
    @ApiModelProperty(value= "RGV号")
    @TableField(value = "rgv_no",strategy = FieldStrategy.IGNORED)
    private Integer rgvNo;
    /**
     * WMS任务号
     */
    @ApiModelProperty(value= "WMS任务号")
    @TableField(value = "wms_wrk_no")
    private String wmsWrkNo;
    /**
     * 系统消息
     */
    @ApiModelProperty(value= "系统消息")
    @TableField(value = "system_msg")
    private String systemMsg;
    public String getWrkSts$(){
        BasWrkStatusMapper mapper = SpringUtils.getBean(BasWrkStatusMapper.class);
@@ -176,36 +186,11 @@
        return null;
    }
    public String getWrkDate$(){
        if (Cools.isEmpty(this.wrkDate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.wrkDate);
    }
    public String getLocNo$(){
        LocMastService service = SpringUtils.getBean(LocMastService.class);
        LocMast locMast = service.selectById(this.locNo);
        if (!Cools.isEmpty(locMast)){
            return String.valueOf(locMast.getLocNo());
        }
        return null;
    }
    public String getStaNo$(){
        BasDevpService service = SpringUtils.getBean(BasDevpService.class);
        BasDevp basDevp = service.selectById(this.staNo);
        if (!Cools.isEmpty(basDevp)){
            return String.valueOf(basDevp.getDevNo());
        }
        return null;
    }
    public String getSourceStaNo$(){
        BasDevpService service = SpringUtils.getBean(BasDevpService.class);
        BasDevp basDevp = service.selectById(this.sourceStaNo);
        if (!Cools.isEmpty(basDevp)){
            return String.valueOf(basDevp.getDevNo());
        }
        return null;
    }