Authored by qinchao

语音短信

... ... @@ -102,7 +102,7 @@ public class MonitorAlarmMapperImpl extends InfluxDBQuery implements MonitorAlar
@Override
public QueryResult selectVoiceAlarm(String influxDBName, int min) {
String command = "SELECT count(sms_content) FROM monitor_alarm where time > now() - "+ min+"m and type != 'work_system' and type != 'service_exception' and type != 'brower' and type != 'search_exception'";
String command = "SELECT count(*) FROM monitor_alarm where time > now() - "+ min+"m and type != 'work_system' and type != 'service_exception' and type != 'brower' and type != 'search_exception'";
// String command = "SELECT count(sms_content) FROM monitor_alarm where time > now() - "+ min+"m";
return query(influxDBName, command, InfluxDBContants.YOMO_MONITOR);
... ...