diff --git a/consumers/consumerAxySkAlarm.go b/consumers/consumerAxySkAlarm.go index 4cd932f..9c1c3e8 100644 --- a/consumers/consumerAxySkAlarm.go +++ b/consumers/consumerAxySkAlarm.go @@ -138,6 +138,7 @@ func (the *consumerAxySkAlarm) updateTriggerStationConfig() { log.Printf("查询数据库异常:err-> %s", err.Error()) return } + the.configAlarmTrigger = []AXY_SK.AlarmTrigger{} previousTag := "" for i, trigger := range the.stationAlarmTrigger { the.stationAlarmTrigger[i].ConditionArray = trigger.ConditionRaw