pang.jiabao
8 天以前 1195089a2f65e8773ef74f3d369d8f2ff1dd3f34
src/main/java/com/zy/asrs/service/impl/ToWmsServiceImpl.java
@@ -120,6 +120,7 @@
                    return taskWrk;
                } else if (successCode.equals(jsonObject.get(code).toString())) {
                    WmsResult result = JSON.parseObject(jsonObject.get(data).toString(), WmsResult.class);
                    success = true;
                    return createInTask(result, wmsParam.getBarcode(), wmsParam.getStationCode());
                }
            }
@@ -127,7 +128,7 @@
            e.printStackTrace();
            log.info("请求wms报错,入参:{},异常:{}", JSON.toJSONString(wmsParam), e.getMessage());
        } finally {
            addApiLog("入库任务请求获取库位", wmsUrl + inboundTaskApplyPath, JSON.toJSONString(wmsParam), response, success);
            addApiLog("入库请求WMS", wmsUrl + inboundTaskApplyPath, JSON.toJSONString(wmsParam), response, success);
        }
        return null;
    }