@@ -317,7 +317,7 @@ public class DspCallbackServiceImpl implements IDspCallbackService { | |||
accident.setSectionName(inspection.getSectionName()); | |||
//根据巡检任务类型判断当前应急事故类型flag设值 | |||
if (AccidentTaskEnum.INSPECTION_ACCIDENT_TASK.getCode() == inspection.getType()) { | |||
if (AccidentTaskEnum.INSPECTION_ACCIDENT_TASK.getCode() == inspection.getAccidentTask()) { | |||
accident.setFlag(FlagEnum.ACCIDENT.getCode()); | |||
} else { | |||
// 该巡检任务存在应急任务,将后面发现的预警直接设置为不展示 |