自动化立体仓库 - WMS系统
zhangc
2025-03-06 fbdad64fe45fa120beb4332e7a3615856d05ab96
src/main/java/com/zy/asrs/service/impl/AgvMobileServiceImpl.java
@@ -516,7 +516,7 @@
        //货架编码
        mast.setBarcode(agvLocMast.getBarcode());
        //货架类型
        mast.setWhsType(30);
        mast.setWhsType(Integer.parseInt(agvLocMast.getBarcode().substring(0,2)));
        mast.setAppeUser(userId);
        mast.setAppeTime(now);
@@ -864,7 +864,7 @@
        // TODO: 四期
        List<AgvWrkDetl> agvWrkDetls = agvWrkDetlService.selectList(new EntityWrapper<AgvWrkDetl>().eq("supp_code", param.getBarcode()));
        String factory = param.getFactory();
        AgvLocMast newLocMast = agvCommonService.getLocByLocRule(3, 1, factory);
        AgvLocMast newLocMast = agvCommonService.getLocByLocRule20(3, 1, factory,false);
        if (newLocMast == null) {
            throw new CoolException("无可用库位");
        }