|
@ -329,8 +329,8 @@ public class WmsToAcsServiceImpl implements WmsToAcsService { |
|
|
if (instDto.getSend_status().equals("1")) { |
|
|
if (instDto.getSend_status().equals("1")) { |
|
|
// 调用XG接口通知删除
|
|
|
// 调用XG接口通知删除
|
|
|
JSONObject json = new JSONObject(); |
|
|
JSONObject json = new JSONObject(); |
|
|
json.put("releaseSite",1); |
|
|
json.put("disableVehicle",false); |
|
|
json.put("taskRecordId",instDto.getInstruction_code()); |
|
|
json.put("id",instDto.getInstruction_code()); |
|
|
xianGongAgvService.stopTask(json); |
|
|
xianGongAgvService.stopTask(json); |
|
|
} |
|
|
} |
|
|
} catch (Exception e) { |
|
|
} catch (Exception e) { |
|
@ -418,7 +418,7 @@ public class WmsToAcsServiceImpl implements WmsToAcsService { |
|
|
UnifiedResponse<JSONObject> resp = agvService.queryXZAgvInstStatusByCode(dto.getInstruction_code(), JSONObject.class); |
|
|
UnifiedResponse<JSONObject> resp = agvService.queryXZAgvInstStatusByCode(dto.getInstruction_code(), JSONObject.class); |
|
|
// 状态
|
|
|
// 状态
|
|
|
String state = resp.getData().getString("state"); |
|
|
String state = resp.getData().getString("state"); |
|
|
if ("RUNNING".equals(state) || "TOBEDISPATCHED".equals(state) || "WAITING".equals(state)) { |
|
|
if ("RUNNING".equals(state) || "WAITING".equals(state)) { |
|
|
TaskStatus = "执行中"; |
|
|
TaskStatus = "执行中"; |
|
|
} |
|
|
} |
|
|
// 车号
|
|
|
// 车号
|
|
|