自动化立体仓库 - WMS系统
lsh
2025-05-23 18046957f206ea97133f1352434bc3f4cf556a00
src/main/java/com/zy/asrs/task/newWay/handler/AssignTasksToRCSHandler.java
@@ -68,7 +68,7 @@
        Boolean bool =false;
        try {
            log.info("wms派发搬运任务给RCS出库={}", rcsParam);
            log.info("wms派发搬运任务给AGV搬运={}", rcsParam);
            response = new HttpHandler.Builder()
                    // .setHeaders(headParam)
                    .setUri(url)
@@ -78,14 +78,14 @@
                    .doPost();
            JSONObject jsonObject = JSON.parseObject(response);
            if(jsonObject.getBoolean("IsSuccess")){
                wrkMast.setWrkSts(31L);//WMS下发搬运任务给RCS成功
                wrkMast.setWrkSts(15L);//WMS下发搬运任务给RCS成功,转历史档
                wrkMastService.updateById(wrkMast);
                bool = true;
            }
        } catch (Exception e) {
            log.error("wcs派发任务给RCS出库失败{},返回值={}", wrkMast, response);
            log.error("wms派发搬运任务给AGV搬运失败{},返回值={}", wrkMast, response);
        } finally {
            apiLogService.save("WMS派发搬运任务给RCS"
            apiLogService.save("wms派发搬运任务给AGV搬运"
                    , url + attrcs
                    , null
                    , "127.0.0.1"