自动化立体仓库 - WMS系统
zjj
2024-04-10 260dcda905479d61b8a196b39db3fd28e4a48fa4
src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java
@@ -808,6 +808,12 @@
        if (Cools.isEmpty(wrkMast)){
            throw new CoolException(workNo+"工作档不存在");
        }
        if (wrkMast.getIoType() == 1 && (wrkMast.getWrkSts() == 4 || wrkMast.getWrkSts() == 5)){
            throw new CoolException(workNo+"不可取消");
        }
        if (wrkMast.getIoType() == 101 && (wrkMast.getWrkSts() == 14 || wrkMast.getWrkSts() == 15)){
            throw new CoolException(workNo+"不可取消");
        }
        String locNo = ""; // 待修改目标库位
        String locSts = ""; // 待修改目标库位状态
        // 入库取消(修改目标库位)