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()); 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)

Loading…
Cancel
Save