运行图检查错误提示修改
This commit is contained in:
parent
660a42ffe0
commit
ea7eb75078
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user