rev:mes接口修改

This commit is contained in:
2024-11-14 10:37:12 +08:00
parent 34ea36fc8e
commit ebb0cb3f74

View File

@@ -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)