Browse Source

fix:解决agv任务不能完成问题

master
涂强 4 weeks ago
parent
commit
5c292b664e
  1. 20
      acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/WmsZDToAcsServiceImpl.java

20
acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/WmsZDToAcsServiceImpl.java

@ -74,19 +74,19 @@ public class WmsZDToAcsServiceImpl implements WmsZDToAcsService {
return map; return map;
} }
if (start_point_code.indexOf("-") > 0) { // if (start_point_code.indexOf("-") > 0) {
String str[] = start_point_code.split("-"); // String str[] = start_point_code.split("-");
start_device_code = str[0]; // start_device_code = str[0];
} else { // } else {
start_device_code = start_point_code; start_device_code = start_point_code;
} // }
if (next_point_code.indexOf("-") > 0) { // if (next_point_code.indexOf("-") > 0) {
String str[] = next_point_code.split("-"); // String str[] = next_point_code.split("-");
next_device_code = str[0]; // next_device_code = str[0];
} else { // } else {
next_device_code = next_point_code; next_device_code = next_point_code;
} // }
// //查询wcs传过来的起点终点路由 // //查询wcs传过来的起点终点路由
// List<RouteLineDto> list = routeLineService.getShortPathLines(start_device_code, next_device_code, "normal"); // List<RouteLineDto> list = routeLineService.getShortPathLines(start_device_code, next_device_code, "normal");

Loading…
Cancel
Save