自动化立体仓库 - WMS系统
#
18516761980
2022-10-08 f6141eae93a6b4e82595859a7013cd7f8f8e45b6
src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -638,7 +638,7 @@
                .eq("barcode", param.getPackNo()));
        if (Cools.isEmpty(locMast)){
            throw new CoolException("未查询到PACK码为:"+param.getPackNo()+"的货物");
        }else if (locMast.getLocSts().equals("F")){
        }else if (!locMast.getLocSts().equals("F")){
            throw new CoolException("PACK码为:"+param.getPackNo()+"的货物库位状态不是“F”");
        }else if (locMast.getFireStatus()!=0){
            throw new CoolException("警告!!!PACK码为:"+param.getPackNo()+"的库位:"+locMast.getLocNo()+"消防状态异常!!!");
@@ -791,13 +791,8 @@
        if(null != testMast){
            if (testMast.getStatus()==3){
                Date date = new Date();
                testMast.setStatus(4);
                testMast.setModiTime(date);
                if (!testMastService.update(testMast,wrapper)){
                    throw new CoolException("更改测试状态失败");
                }
                locMast.setPackStatus(3);
                testMast.setModiTime(date);
                locMast.setModiTime(date);
                CombParam combParam = new CombParam();
                combParam.setPackNo(locMast.getBarcode());
                combParam.setLocNo(locMast.getLocNo());