|
@ -509,6 +509,9 @@ public class DcWarningServiceImpl implements IDcWarningService |
|
|
dcWarning.getWarningType()==null|| dcWarning.getWarningSource()==null){ |
|
|
dcWarning.getWarningType()==null|| dcWarning.getWarningSource()==null){ |
|
|
return AjaxResult.error(UniversalEnum.PARAMETER_ERROR.getValue()); |
|
|
return AjaxResult.error(UniversalEnum.PARAMETER_ERROR.getValue()); |
|
|
} |
|
|
} |
|
|
|
|
|
if (dcWarning.getWarningSource()==6){ |
|
|
|
|
|
return AjaxResult.error("非机预警无需转换"); |
|
|
|
|
|
} |
|
|
ArrayList<HashMap<String,Object>> hashMaps = new ArrayList<>(); |
|
|
ArrayList<HashMap<String,Object>> hashMaps = new ArrayList<>(); |
|
|
dcWarning.setUserId(SecurityUtils.getUserId()); |
|
|
dcWarning.setUserId(SecurityUtils.getUserId()); |
|
|
int updateState = dcWarningMapper.updateState(dcWarning);//感知事件状态改变为已完成
|
|
|
int updateState = dcWarningMapper.updateState(dcWarning);//感知事件状态改变为已完成
|
|
|