diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/passenger/strategy/LargePassengerFlowStrategyService.java b/src/main/java/club/joylink/rtss/simulation/cbtc/passenger/strategy/LargePassengerFlowStrategyService.java index 06d19835f..57d307630 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/passenger/strategy/LargePassengerFlowStrategyService.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/passenger/strategy/LargePassengerFlowStrategyService.java @@ -49,10 +49,10 @@ public class LargePassengerFlowStrategyService { } for (PassengerFlowSimulationData passengerFlowSimulationData : pfSimulationList) { Simulation simulation = this.passengerFlowSimulateService.getSimulationByGroup(passengerFlowSimulationData.getGroup()); -// if (passengerFlowSimulationData.getNextRecommendTime() != null && -// simulation.getSystemTime().isBefore(passengerFlowSimulationData.getNextRecommendTime())) { -// continue; -// } + if (passengerFlowSimulationData.getNextRecommendTime() != null && + simulation.getSystemTime().isBefore(passengerFlowSimulationData.getNextRecommendTime())) { + continue; + } // 查询大客流站台 List standPassengerFlowList = passengerFlowSimulationData.getAllStandPassengerFlow(); List lpfList = new ArrayList<>();