Browse Source

rev:mes接口修改

master
刘先源 1 week ago
parent
commit
ebb0cb3f74
  1. 6
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/service/impl/WmsToMesServiceImpl.java

6
lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/service/impl/WmsToMesServiceImpl.java

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

Loading…
Cancel
Save