#
luxiaotao1123
2020-08-17 522f6806cde91d524e196626fdfe5ab4b5e3c9e2
src/main/java/com/zy/asrs/domain/enums/CrnStatusType.java
@@ -34,4 +34,20 @@
    public void setDesc(String desc) {
        this.desc = desc;
    }}
    }
    public static CrnStatusType process(Integer ioType){
        if (ioType>100) {
            return TAKE;
        } else if (ioType < 100 && ioType!=3 && ioType!=6 && ioType!=11) {
            return PUT;
        } else if (ioType == 3) {
            return SITE_MOVE;
        } else if (ioType == 11) {
            return STOCK_MOVE;
        } else {
            return ERROR;
        }
    }
}