| | |
| | | .doPost(); |
| | | if (!Cools.isEmpty(response)) { |
| | | JSONObject jsonObject = JSON.parseObject(response); |
| | | if (successCode.equals(jsonObject.get(code).toString())) { |
| | | if ("700".equals(jsonObject.get(code).toString())) { |
| | | TaskWrk taskWrk=new TaskWrk(); |
| | | taskWrk.setWrkNo(-1); |
| | | return taskWrk; |
| | | } else if (successCode.equals(jsonObject.get(code).toString())) { |
| | | WmsResult result = JSON.parseObject(jsonObject.get(data).toString(), WmsResult.class); |
| | | return createInTask(result, wmsParam.getBarcode(), wmsParam.getStationCode()); |
| | | } |