Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
commit
cc9aba942c
@ -40,6 +40,9 @@ public class AtsApiServiceImpl implements AtsApiService {
|
|||||||
TrainInfo train = repository.findSupervisedTrainByGroup(stopMessage.getGroupNumber());
|
TrainInfo train = repository.findSupervisedTrainByGroup(stopMessage.getGroupNumber());
|
||||||
Section section = stopMessage.getSection();
|
Section section = stopMessage.getSection();
|
||||||
Station station = section.getStation();
|
Station station = section.getStation();
|
||||||
|
if (train == null || station == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (train.isParking() && Objects.equals(train.getStationCode(), station.getCode())) {
|
if (train.isParking() && Objects.equals(train.getStationCode(), station.getCode())) {
|
||||||
// 已经处理过
|
// 已经处理过
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user