自动化立体仓库 - WMS系统
#
luxiaotao1123
2023-04-06 e37cbe8c4d9cdf1f511135d302960faa04e12dd6
src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java
@@ -230,7 +230,11 @@
            // 获取库位
            LocMast locMast = locMastService.selectById(dto.getLocNo());
            // 获取路径
            StaDesc staDesc = staDescService.queryCrnStn(ioType, locMast.getCrnNo(), staNo.getDevNo());
            StaDesc staDesc = staDescService.queryCrnStn(ioType, locMast.getCrnNo(), staNo.getDevNo(), locMast.getRow1());
            if(staDesc == null){
                throw new CoolException("出库路径不存在");
            }
            // 生成工作号
            int workNo = commonService.getWorkNo(WorkNoType.getWorkNoType(ioType));
            // 生成工作档