暂时注掉报错内容

This commit is contained in:
joylink_zhangsai 2022-06-06 18:59:42 +08:00
parent 9b54fb9f78
commit ba0d97b298

View File

@ -7,7 +7,10 @@ import lombok.Getter;
import lombok.Setter;
import java.time.LocalTime;
import java.util.*;
import java.util.Comparator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
/**
* 进路序列
@ -106,9 +109,9 @@ public class RouteSequence {
this.departure = departure;
this.planTime = item.getStationPlan().getArriveTime().minusMinutes(9);
Section track = getTrack();
Route route = item.getStationDirection().getSignal().getRouteList().stream()
.filter(r -> Objects.equals(track, r.getLastRouteSection()))
.findAny().orElse(null);
// Route route = item.getStationDirection().getSignal().getRouteList().stream()
// .filter(r -> Objects.equals(track, r.getLastRouteSection()))
// .findAny().orElse(null); todo 报错为了发布暂时注掉
BusinessExceptionAssertEnum.SYSTEM_EXCEPTION.assertNotNull(route,
String .format("车次[%s]的[%s]进路找不到", getTripNumber(), departure ? "发车" : "接车"));
this.route = route;