自动化立体仓库 - WMS系统
#1
dubin
2025-11-04 57e7846403cd3c72cc70e17e205c4e0d8b3aa404
src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java
@@ -772,18 +772,14 @@
        if (Cools.isEmpty(wrkMast)) {
            throw new CoolException(workNo + "工作档不存在");
        }
        if (wrkMast.getWrkSts() == 4 || (wrkMast.getWrkSts() >= 14 && wrkMast.getWrkSts() <= 15)) {
        if (wrkMast.getWrkSts() == 4 || wrkMast.getWrkSts() >= 14) {
            throw new CoolException("当前工作档已完成");
        }
        // 入库 + 库位转移
        if (wrkMast.getWrkSts() < 4 || (wrkMast.getWrkSts() > 10 && wrkMast.getIoType() == 11)) {
            wrkMast.setWrkSts(4L);
            // 出库
        } else if (wrkMast.getWrkSts() > 10 && wrkMast.getWrkSts() < 15) {
            wrkMast.setWrkSts(14L);
        }else if(wrkMast.getWrkSts() >= 103 && wrkMast.getWrkSts() <= 105){
            wrkMast.setWrkSts(4L);
        }else if (wrkMast.getWrkSts() >= 106 && wrkMast.getWrkSts() <=108){
        } else if (wrkMast.getWrkSts() > 10) {
            wrkMast.setWrkSts(14L);
        }
        Date now = new Date();