【车务管理终端默认股道设置】

This commit is contained in:
weizhihong 2022-06-16 18:30:45 +08:00
parent bc1b146edb
commit 44a1d09e20

View File

@ -117,6 +117,12 @@ public class CtcStationRunPlanLogService {
String tripNumber = StringUtils.isEmpty(p.getArriveTripNumber()) ? p.getDepartTripNumber() : p.getArriveTripNumber(); String tripNumber = StringUtils.isEmpty(p.getArriveTripNumber()) ? p.getDepartTripNumber() : p.getArriveTripNumber();
p.setTripNumber(tripNumber); p.setTripNumber(tripNumber);
p.setRunPlanCode(tripNumber); p.setRunPlanCode(tripNumber);
if (StringUtils.isEmpty(p.getDepartSectionCode())) {
p.setDepartSectionCode(p.getTrackSectionCode());
}
if (StringUtils.isEmpty(p.getArriveSectionCode())) {
p.setArriveSectionCode(p.getTrackSectionCode());
}
if (stationRunPlanMap.containsKey(tripNumber)) { if (stationRunPlanMap.containsKey(tripNumber)) {
modifyRunPlanParam(stationRunPlanMap.get(tripNumber), p); modifyRunPlanParam(stationRunPlanMap.get(tripNumber), p);
} else { } else {