自动化立体仓库 - WMS系统
LSH
2022-08-18 a7a5c6df3617f879ed502be8a1895f4bf4be7559
src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -666,6 +666,10 @@
                if (!testMastService.update(testMast,wrapper)){
                    throw new CoolException("更改测试状态失败");
                }
                locMast.setPackStatus(3);
                if (!locMastService.update(locMast, new EntityWrapper<LocMast>().eq("loc_no", review.getLocNo()))){
                    throw new CoolException("更改产品状态失败");
                }
            }else if (Cools.isEmpty(testMast.getStatus())){
                throw new CoolException("状态异常");
            }else {
@@ -674,6 +678,7 @@
        } else {
            throw new CoolException("状态异常");
        }
        //移库开始,查询目标库位
        LocMast targetLocNo = locMastService.selectOne(new EntityWrapper<LocMast>()
                .eq("row1",2)
                .eq("loc_sts","O")