1
zhang
2025-07-03 13ea8b334572c2423abb8d156fd8428f8d074172
zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Task.java
@@ -96,6 +96,11 @@
     */
    @ApiModelProperty(value= "异常时间")
    private Date errTime;
    /**
     * 背篓
     */
    @ApiModelProperty(value= "背篓")
    private Integer back;
    /**
     * 起始站
@@ -116,6 +121,12 @@
    private Long oriCode;
    /**
     * 起始巷道哈希
     */
    @ApiModelProperty(value= "起始巷道哈希")
    private String oriLaneHash;
    /**
     * 目标站
     */
    @ApiModelProperty(value= "目标站")
@@ -132,6 +143,12 @@
     */
    @ApiModelProperty(value= "目标码")
    private Long destCode;
    /**
     * 目标巷道哈希
     */
    @ApiModelProperty(value= "目标巷道哈希")
    private String destLaneHash;
    /**
     * 空板
@@ -368,20 +385,6 @@
        return null;
    }
    public String getStatus$(){
        if (null == this.status){ return null; }
        switch (this.status){
            case 1:
                return "正常";
            case 0:
                return "冻结";
            default:
                return String.valueOf(this.status);
        }
    }
    public Boolean getStatusBool(){
        if (null == this.status){ return null; }
        switch (this.status){
@@ -394,5 +397,40 @@
        }
    }
    public String getOriDesc() {
        String oriDesc = "";
        if (null != this.oriSta) {
            oriDesc = "STA" + " - " + this.getOriSta$();
        }
        if (null != this.oriLoc) {
            oriDesc = "LOC" + " - " + this.getOriLoc$();
        }
        if (!Cools.isEmpty(oriDesc)) {
            if (null != this.oriCode) {
                oriDesc = oriDesc + " (" + this.getOriCode$() + ")";
            }
        } else {
            oriDesc = "CODE" + " - " + this.getOriCode$();
        }
        return oriDesc;
    }
    public String getDestDesc() {
        String destDesc = "";
        if (null != this.destSta) {
            destDesc = "STA" + " - " + this.getDestSta$();
        }
        if (null != this.destLoc) {
            destDesc = "LOC" + " - " + this.getDestLoc$();
        }
        if (!Cools.isEmpty(destDesc)) {
            if (null != this.destCode) {
                destDesc = destDesc + " (" + this.getDestCode$() + ")";
            }
        } else {
            destDesc = "CODE" + " - " + this.getDestCode$();
        }
        return destDesc;
    }
}