|
@ -2063,7 +2063,7 @@ public class DeviceServiceImpl implements DeviceService, ApplicationAutoInitial |
|
|
if(StrUtil.isEmpty(start_code)){ |
|
|
if(StrUtil.isEmpty(start_code)){ |
|
|
throw new RuntimeException("起点设备为空"); |
|
|
throw new RuntimeException("起点设备为空"); |
|
|
} |
|
|
} |
|
|
List<RouteLineDto> normal = routeLineService.getShortPathLinesByCode(start_code, "normal"); |
|
|
List<RouteLineDto> normal = routeLineService.getLinesByCode_seqnum(start_code, "normal"); |
|
|
List<String> list = new ArrayList<>(); |
|
|
List<String> list = new ArrayList<>(); |
|
|
for (RouteLineDto routeLineDto : normal) { |
|
|
for (RouteLineDto routeLineDto : normal) { |
|
|
list.add(routeLineDto.getNext_device_code()); |
|
|
list.add(routeLineDto.getNext_device_code()); |
|
|