【调度运行计划非空判断】

This commit is contained in:
weizhihong 2022-07-25 09:29:21 +08:00
parent 5fdcfc5fd7
commit 8afd9b286f

View File

@ -42,6 +42,8 @@ public class StorageCtcZoneData {
* @return * @return
*/ */
public void convert(CtcZoneRepository repository) { public void convert(CtcZoneRepository repository) {
stationRunPlanMap.forEach((k, v) -> repository.getStationRunPlanMap().put(k, v)); if (stationRunPlanMap != null) {
stationRunPlanMap.forEach((k, v) -> repository.getStationRunPlanMap().put(k, v));
}
} }
} }