自动化立体仓库 - WMS系统
zyx
2024-04-16 73de789fbbc67873aab0e72eb0f469ea195c1cbe
src/main/java/com/zy/asrs/task/handler/AgvWrkMastHandler.java
@@ -119,7 +119,12 @@
            agvLocDetlService.delete(new EntityWrapper<AgvLocDetl>().eq("loc_no",agvWrkMast.getSourceLocNo()));
            //生成空板入库任务
            Short containerType = Short.valueOf(agvWrkMast.getBarcode().substring(0, 2));
            agvWorkService.emptyPlateIn(agvWrkMast.getLocNo(),agvWrkMast.getBarcode(),containerType,9527L,true);
            try {
                agvWorkService.emptyPlateIn(agvWrkMast.getLocNo(),agvWrkMast.getBarcode(),containerType,9527L,true);
            }catch (Exception e){
                e.printStackTrace();
                log.error(e.getMessage());
            }
        }
        //生成AGV工作历史档
@@ -144,6 +149,7 @@
    }
    @Transactional
    @Synchronized
    public ReturnT<String> startPutWayWrk(AgvWrkMast agvWrkMast) throws IOException {
        //下发任务