src/main/java/com/zy/core/task/ShuttleDemoScheduler.java
@@ -35,4 +35,13 @@ shuttleAction.demoModeCargoMove(); } @Scheduled(cron = "0/3 * * * * ? ") public synchronized void executeRunLoc() { List<DeviceConfig> shuttleList = deviceConfigService.selectList(new EntityWrapper<DeviceConfig>() .eq("device_type", String.valueOf(SlaveType.Shuttle))); for (DeviceConfig device : shuttleList) { shuttleAction.demoModeRunLoc(device.getDeviceNo()); } } }