|
@ -46,7 +46,7 @@ public class WmsToMesServiceImpl implements WmsToMesService { |
|
|
// 任务号
|
|
|
// 任务号
|
|
|
content.put("TaskCode", task.getTask_code()); |
|
|
content.put("TaskCode", task.getTask_code()); |
|
|
// AGV车号
|
|
|
// AGV车号
|
|
|
content.put("AGVCode", task.getCar_no()); |
|
|
content.put("AGVCode", task.getTask_code()); |
|
|
// 终点
|
|
|
// 终点
|
|
|
content.put("ArrivedLocation", task.getPoint_code2()); |
|
|
content.put("ArrivedLocation", task.getPoint_code2()); |
|
|
// 是否到达终点
|
|
|
// 是否到达终点
|
|
@ -73,8 +73,8 @@ public class WmsToMesServiceImpl implements WmsToMesService { |
|
|
|
|
|
|
|
|
// 获取mesurl
|
|
|
// 获取mesurl
|
|
|
String url = iSysParamService.findByCode("MES_URL").getValue(); |
|
|
String url = iSysParamService.findByCode("MES_URL").getValue(); |
|
|
// String api = "CamstarApi/LMSUnPackage";
|
|
|
String api = iSysParamService.findByCode("MES_API").getValue(); |
|
|
// url = url + api;
|
|
|
url = url + api; |
|
|
|
|
|
|
|
|
try { |
|
|
try { |
|
|
String resultMsg = HttpRequest.post(url) |
|
|
String resultMsg = HttpRequest.post(url) |
|
|