diff --git a/src/main/java/club/joylink/rtss/services/training/generatornew/base/StationGeneratorNew.java b/src/main/java/club/joylink/rtss/services/training/generatornew/base/StationGeneratorNew.java index 5c96905a3..1201e9ba3 100644 --- a/src/main/java/club/joylink/rtss/services/training/generatornew/base/StationGeneratorNew.java +++ b/src/main/java/club/joylink/rtss/services/training/generatornew/base/StationGeneratorNew.java @@ -22,10 +22,7 @@ public class StationGeneratorNew implements GeneratorNew { public List generate(GenerateConfig config, Simulation simulation, OperateDefinitionVO operateDefinitionVO) { List trainingVOList = new ArrayList<>(); //找到所有有控制模式的车站 - List stationList = simulation.getRepository().getStationList() - .stream() - .filter(station -> station.isHasControlMode()) - .collect(Collectors.toList()); + List stationList = simulation.getRepository().getStationList(); //对每个站根据实训设置场景 for (Station station : stationList) { switch (Operation.Type.valueOf (operateDefinitionVO.getOperateType())) {