修改bug

This commit is contained in:
walker-sheng 2021-05-27 15:30:10 +08:00
parent 87881c2c2a
commit e7db4a7382

View File

@ -175,11 +175,7 @@ public class CommonRepositoryBuilder {
String.format("进路[%s]的终端信号机[%s]不存在", routeVO.getId(), routeVO.getEndSignalCode()));
commonRoute.end = end;
}
if (routeVO.getDelayReleaseTime() == null) {
commonRoute.releaseTime = 180; // 暂时给个默认值
} else {
commonRoute.releaseTime = routeVO.getDelayReleaseTime();
}
commonRoute.releaseTime = 180; // 暂时给个默认值
TrackWay trackWay = buildTrackWay(routeVO.getRouteSectionList(), routeVO.getRouteSwitchList(),
routeVO.getFlsList(), start.isRight(), commonRepository);
commonRoute.pathElement = trackWay;