1
zhang
2025-06-05 c48d0150aa9f6b297671f28adb6b9dc95b529cfc
src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -74,6 +74,13 @@
    @TableField("ste_no")
    private Integer steNo;
    /**
     * 边缘库位
     */
    @ApiModelProperty(value= "边缘库位")
    @TableField("out_most")
    private Integer outMost;
    @ApiModelProperty(value= "")
    @TableField("sheet_no")
    private String sheetNo;
@@ -373,6 +380,31 @@
        }
        return null;
    }
    public Integer getStaNoConvert(Integer crnNo){
        switch (this.staNo){
            case 114:
                switch (crnNo){
                    case 1:
                        return 114;
                    case 2:
                        return 107;
                    case 3:
                        return 211;
                }
                break;
            case 214:
                switch (crnNo){
                    case 1:
                        return 111;
                    case 2:
                        return 207;
                    case 3:
                        return 214;
                }
                break;
        }
        return this.staNo;
    }
    public String getSourceStaNo$(){
        BasDevpService service = SpringUtils.getBean(BasDevpService.class);
@@ -491,4 +523,16 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.logErrTime);
    }
    public String getOutMost$() {
        if (null == this.outMost){ return null; }
        switch (this.outMost){
            case 1:
                return "边缘库位";
            case 0:
                return "内联库位";
            default:
                return String.valueOf(this.outMost);
        }
    }
}