【空指针判断】
This commit is contained in:
parent
1ca1b5372b
commit
b2f464b606
@ -144,7 +144,9 @@ public class CtcStationRunPlanLog {
|
|||||||
this.lateReason = null;
|
this.lateReason = null;
|
||||||
this.planProperties = null;
|
this.planProperties = null;
|
||||||
// 运行任务复位
|
// 运行任务复位
|
||||||
|
if (!CollectionUtils.isEmpty(this.runPlanTaskItemMap)) {
|
||||||
this.runPlanTaskItemMap.forEach((k, v) -> v.reset());
|
this.runPlanTaskItemMap.forEach((k, v) -> v.reset());
|
||||||
|
}
|
||||||
if (this.arriveRunPlan != null) {
|
if (this.arriveRunPlan != null) {
|
||||||
this.arriveRunPlan.setRunModel(StationDirection.ReceiveAndDeliverModel.R);
|
this.arriveRunPlan.setRunModel(StationDirection.ReceiveAndDeliverModel.R);
|
||||||
this.arriveRunPlan.reset();
|
this.arriveRunPlan.reset();
|
||||||
|
Loading…
Reference in New Issue
Block a user