fix:解决agv任务不能完成问题
This commit is contained in:
@@ -74,19 +74,19 @@ public class WmsZDToAcsServiceImpl implements WmsZDToAcsService {
|
||||
return map;
|
||||
}
|
||||
|
||||
if (start_point_code.indexOf("-") > 0) {
|
||||
String str[] = start_point_code.split("-");
|
||||
start_device_code = str[0];
|
||||
} else {
|
||||
// if (start_point_code.indexOf("-") > 0) {
|
||||
// String str[] = start_point_code.split("-");
|
||||
// start_device_code = str[0];
|
||||
// } else {
|
||||
start_device_code = start_point_code;
|
||||
}
|
||||
// }
|
||||
|
||||
if (next_point_code.indexOf("-") > 0) {
|
||||
String str[] = next_point_code.split("-");
|
||||
next_device_code = str[0];
|
||||
} else {
|
||||
// if (next_point_code.indexOf("-") > 0) {
|
||||
// String str[] = next_point_code.split("-");
|
||||
// next_device_code = str[0];
|
||||
// } else {
|
||||
next_device_code = next_point_code;
|
||||
}
|
||||
// }
|
||||
|
||||
// //查询wcs传过来的起点终点路由
|
||||
// List<RouteLineDto> list = routeLineService.getShortPathLines(start_device_code, next_device_code, "normal");
|
||||
|
||||
Reference in New Issue
Block a user