| | |
| | | .setJson(JSON.toJSONString(applyInDto)) |
| | | .build() |
| | | .doPost(); |
| | | JSONObject jsonObject = JSON.parseObject(response); |
| | | if (jsonObject.getInteger(code).equals(codeValue)) { |
| | | log.info("WMS返回数据:{}", response); |
| | | JSONObject jsonObject = JSON.parseObject(response); |
| | | if (jsonObject.get(code) != null && jsonObject.getInteger(code).equals(codeValue)) { |
| | | return JSONObject.parseObject(jsonObject.getString(dataCode), ApplyInRepsonseDto.class); |
| | | } else { |
| | | log.error("调用下发任务接口报错,响应码:{},响应内容:{}", jsonObject.getInteger(code), response); |