自动化立体仓库 - WMS系统
#
yxFwq
2024-11-24 a7f0ee46f5a1b0ec8cf7bd3d0701bde6c09de24f
src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -533,5 +533,56 @@
    }
    public Integer getStaNoSign(){
        if (this.staNo == null){
            return 0;
        } else {
            switch (this.staNo){
                case 310:
                    return 1;
                case 312:
                    return 2;
                case 126:
                    return 1;
                case 131:
                    return 2;
            }
        }
        return 0;
    }
    public boolean booleanStaNoSign(){
        if (this.staNo == null){
            return false;
        } else {
            switch (this.staNo){
                case 310:
                case 312:
                case 126:
                case 131:
                    return true;
            }
        }
        return false;
    }
    public Integer getStaNoBying(){
        if (this.staNo == null){
            return 0;
        } else {
            switch (this.staNo){
                case 310:
                case 312:
                    return 212;
                case 126:
                case 131:
                    return 119;
            }
        }
        return 0;
    }
}