【车务管理终端默认股道设置】
This commit is contained in:
parent
bc1b146edb
commit
44a1d09e20
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user