diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/CI/CiApiServiceImpl2.java b/src/main/java/club/joylink/rtss/simulation/cbtc/CI/CiApiServiceImpl2.java index 7372f307e..0e7e266ce 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/CI/CiApiServiceImpl2.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/CI/CiApiServiceImpl2.java @@ -413,6 +413,10 @@ public class CiApiServiceImpl2 implements CiApiService { throw BusinessExceptionAssertEnum.ARGUMENT_ILLEGAL.exception( "signalCode和routeCode不能都为空"); } + //开启联锁自动进路的信号机不能办理引导进路,需先解除自动进路(成都三操作文档) + if (signal.getRouteList().stream().anyMatch(Route::isFleetMode)) { + throw BusinessExceptionAssertEnum.OPERATION_FAIL.exception("需先解除自动进路状态"); + } if (route == null && signal.getRouteList().stream().anyMatch(Route::isAnySwitchMasterLock)) { openGuideAspect4GuideMasterLock(simulation, signal);