运行图检查错误提示修改

This commit is contained in:
DU 2020-12-23 16:01:10 +08:00
parent 660a42ffe0
commit ea7eb75078
2 changed files with 2 additions and 1 deletions

View File

@ -949,6 +949,7 @@ public class RunPlanDraftService implements IRunPlanDraftService {
RunPlanVO planVO = getRunPlanById(planId);
if (CollectionUtils.isEmpty(planVO.getTripList())) {
errorList.add("运行图数据为空!");
return errorList;
}
MapVO map = this.iMapService.getMapDetail(planVO.getMapId());
SimulationBuilder.SimulationDeviceBuildResult buildResult = SimulationBuilder.checkAndBuildMapDeviceData(map);

View File

@ -295,7 +295,7 @@ public class RunPlanBuilder {
}
} else {
errMsgList.add(String.format("运行计划[%s(%s)]没有车次计划", runPlan.getName(), runPlan.getId()));
errMsgList.add(String.format("运行图[%s]计划车次数据为空", runPlan.getName()));
}
return result;
}