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