Commit a19774a2 authored by hanbing's avatar hanbing

[update] 新信号评价-方案评价-调度异常处理

parent 194a9165
......@@ -160,6 +160,9 @@ public class SchemeEvaluateServiceImpl implements SchemeEvaluateService {
Integer weekDay = crossSchemeListBO.getWeekDay();
// 找出当前路口已执行的调度,在某天对应的计划
BaseCrossSchedulesPO baseCrossSchedulesPO = baseCrossSchedulesMapper.selectExecByCrossId(crossId);
if (ObjectUtil.isNotEmpty(baseCrossSchedulesPO)) {
throw new RuntimeException("该路口没有正在执行的调度");
}
Integer scheduleId = baseCrossSchedulesPO.getId();
List<BaseCrossSchedulesPlanPO> baseCrossSchedulesPlanPOList =
baseCrossSchedulesPlanMapper.selectByCrossIdAndSchedulesId(crossId, scheduleId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment