Commit 69174396 authored by tangwei's avatar tangwei

修改状态

parent 1a5f1976
......@@ -221,7 +221,7 @@ public class SelfSupportListener extends EmqxListener implements InitializingBea
if("异常".equals(curAlarmList.get(0).getCurrentState())){
Alarm alarm = curAlarmList.get(0);
alarm.setUpdateDate(df.format(new Date()));
alarm.setCurrentState(metricKey);
alarm.setAlarmSourceType(metricKey);
iAlarmDao.save(alarm);
}
} else {
......
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