自动化立体仓库 - WCS系统
#
yxFwq
2024-11-19 fe198a9143ad5a6840f664a2f6c2cfa1beff0e57
src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -515,4 +515,30 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.logErrTime);
    }
    public Integer getIoTypeMes$(){
        if (this.ioType != 101){
            return 3;
        } else {
            return 1;
        }
    }
    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;
    }
}