应急预警调整

This commit is contained in:
tiger_zhou 2022-10-20 14:50:45 +08:00
parent d37b10f207
commit b838e4dd3c

View File

@ -102,6 +102,10 @@ public class TrainPositionTimeOverService {
continue; continue;
} }
if(tp.receiveTimeOver(this.receiveTimeOver)){ if(tp.receiveTimeOver(this.receiveTimeOver)){
if(Objects.isNull(tp.getGroupNum())){
log.error("错误的数据:" + tp);
continue;
}
if(checkExist(key,simulation)){ if(checkExist(key,simulation)){
SimulationDataRepository repository = simulation.getRepository(); SimulationDataRepository repository = simulation.getRepository();
TrainStatus ts = new TrainStatus(tp.getGroupNum()); TrainStatus ts = new TrainStatus(tp.getGroupNum());