Commit ffe0ac76 authored by hanbing's avatar hanbing

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

parent a19774a2
......@@ -160,7 +160,7 @@ public class SchemeEvaluateServiceImpl implements SchemeEvaluateService {
Integer weekDay = crossSchemeListBO.getWeekDay();
// 找出当前路口已执行的调度,在某天对应的计划
BaseCrossSchedulesPO baseCrossSchedulesPO = baseCrossSchedulesMapper.selectExecByCrossId(crossId);
if (ObjectUtil.isNotEmpty(baseCrossSchedulesPO)) {
if (ObjectUtil.isEmpty(baseCrossSchedulesPO)) {
throw new RuntimeException("该路口没有正在执行的调度");
}
Integer scheduleId = baseCrossSchedulesPO.getId();
......
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