自动化立体仓库 - WMS系统
whycq
2024-09-04 36cf5201b1d67c8307d113c44df6670b949e6073
src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java
@@ -390,7 +390,19 @@
        //生成移库工作档
        AgvWrkMast wrkMast = createWrkMast(11, 21L, sourceLocNo, targetLocNo, sourceLocDetl.getSuppCode(), now, userId,getContainerTypeByloc(sourceLocNo));
        //生成工作党明细
        createWrkDetlReWrite(sourceLocDetl.getMatnr(),wrkMast.getWrkNo(),null,sourceLocDetl.getBatch(),sourceLocDetl.getAnfme(),sourceLocDetl.getZpallet(),now,userId,sourceLocDetl.getThreeCode(),sourceLocDetl.getDeadTime());
        createWrkDetlReWrite(
                sourceLocDetl.getMatnr(),
                wrkMast.getWrkNo(),
                null,
                sourceLocDetl.getBatch(),
                sourceLocDetl.getAnfme(),
                sourceLocDetl.getZpallet(),
                now,
                userId,
                sourceLocDetl.getThreeCode(),
                sourceLocDetl.getDeadTime(),
                sourceLocDetl.getProcessSts()
        );
        //修改目标库位状态
        updateAgvLocMast(targetLocMast,"S");
        //修改原库位状态