rev:修改
This commit is contained in:
@@ -118,7 +118,8 @@ public class AutoCreateInst {
|
|||||||
JSONObject paramTask = new JSONObject().fluentPut("device_code", acsTask.getNext_device_code());
|
JSONObject paramTask = new JSONObject().fluentPut("device_code", acsTask.getNext_device_code());
|
||||||
HttpResponse httpResponse = acsToWmsService.checkTask(paramTask);
|
HttpResponse httpResponse = acsToWmsService.checkTask(paramTask);
|
||||||
JSONObject jo = JSONObject.parseObject(httpResponse.body());
|
JSONObject jo = JSONObject.parseObject(httpResponse.body());
|
||||||
if (!jo.getString("is_create").equals("1")) {
|
JSONObject data = jo.getJSONObject("data");
|
||||||
|
if (!data.getString("is_create").equals("1")) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user