自动化立体仓库 - WMS系统
zyx
2023-10-02 cda03cb23bc12f582029ac8d6df103d86e61fc8b
src/main/java/com/zy/asrs/service/impl/AgvWrkMastServiceImp.java
@@ -39,6 +39,9 @@
    @Value("${agv.containerMoveInPath}")
    private String containerMoveInPath;
    @Value("${agv.containerMoveOutPath}")
    private String containerMoveOutPath;
    @Autowired
    AgvWrkMastMapper agvWrkMastMapper;
    @Autowired
@@ -103,7 +106,13 @@
            positionCodeMap.put("positionCode",agvWrkMast.getLocNo());
            positionCodeMapList.add(positionCodeMap);
        }
        return doHttpRequest(containerMoveParam,"容器入场任务下发",url, containerMoveInPath,null,"127.0.0.1");
        return doHttpRequest(containerMoveParam,"容器离场任务下发",url, containerMoveOutPath,null,"127.0.0.1");
    }
    public boolean insertByIncrease(AgvWrkMast agvWrkMast) {
        int index = this.baseMapper.insertByIncrease(agvWrkMast);
        return index > 0;
    }
    private void getContainerMoveParam(List<AgvWrkMast> agvWrkMastList,List<Map<String,String>> positionCodeMapList){