客流策略计算频率注释恢复

This commit is contained in:
walker-sheng 2021-02-05 17:42:06 +08:00
parent e65005a61a
commit 6435f5f844

View File

@ -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<StandPassengerFlow> standPassengerFlowList = passengerFlowSimulationData.getAllStandPassengerFlow();
List<StandPassengerFlow> lpfList = new ArrayList<>();