fix
This commit is contained in:
@@ -190,7 +190,7 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic
|
|||||||
req.add(map);
|
req.add(map);
|
||||||
HttpResponse httpResponse = acsToWmsService.feedAgvTaskStatus(req);
|
HttpResponse httpResponse = acsToWmsService.feedAgvTaskStatus(req);
|
||||||
if (ObjectUtil.isNotEmpty(httpResponse) && httpResponse.getStatus() == 200) {
|
if (ObjectUtil.isNotEmpty(httpResponse) && httpResponse.getStatus() == 200) {
|
||||||
JSONObject resp = JSONObject.parseObject(httpResponse.body());
|
JSONObject resp = JSONObject.parseObject(httpResponse.body()).getJSONObject("data");
|
||||||
if (resp.getInteger("status") == 200) {
|
if (resp.getInteger("status") == 200) {
|
||||||
start_height=resp.getInteger("start_height");
|
start_height=resp.getInteger("start_height");
|
||||||
next_height=resp.getInteger("next_height");
|
next_height=resp.getInteger("next_height");
|
||||||
|
|||||||
Reference in New Issue
Block a user