| | |
| | | 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()); |
| | | } |
| | | } |
| | |
| | | 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; |
| | | } |