diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/robot/SimulationRobotService.java b/src/main/java/club/joylink/rtss/simulation/cbtc/robot/SimulationRobotService.java index 8f5859c40..f10dc31e8 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/robot/SimulationRobotService.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/robot/SimulationRobotService.java @@ -470,7 +470,12 @@ public class SimulationRobotService { if (training2 != null && training2.isScene() && StringUtils.hasText(training2.getBgSceneJson()) && !training2.isRunning()) { return; } + // 非单岗位一直等待角色同意 + if (!simulation.getBuildParams().getWorkParamVO().getDomConfig().isSingleMember()) { + return; + } simulation.getRepository().getStationList().stream() + // 申请不为空、审批人全部为机器人 .filter(station -> station.getOperationModeApplication() != null && station.getOperationModeApplication().isRobotApproval()) .forEach(station -> atsStationService.doOperationModeSwitch(station)); }