...
|
...
|
@@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSONArray; |
|
|
import com.model.AlarmMsgModel;
|
|
|
import com.monitor.common.contants.PaginationContants;
|
|
|
import com.monitor.influxdb.InfluxDataReporter;
|
|
|
import com.monitor.influxdb.contants.InfluxDBContants;
|
|
|
import com.monitor.influxdb.util.DateFormatUtil;
|
|
|
import com.monitor.influxdb.util.QueryResultUtil;
|
|
|
import com.monitor.model.page.PageResponse;
|
...
|
...
|
@@ -59,7 +60,7 @@ public class MonitorAlarmServiceImpl { |
|
|
*/
|
|
|
public PageResponse getAlarmMsgPageList(MonitorAlarmTableReq req) {
|
|
|
PageResponse pageResponse = new PageResponse();
|
|
|
String influxDBName = "qcloud";//默认的
|
|
|
String influxDBName = InfluxDBContants.AWS;//默认的
|
|
|
String idcs = req.getIdcs();
|
|
|
List<String> idcList = JSONArray.parseArray(idcs, String.class);
|
|
|
int pageSize = req.getPageSize();
|
...
|
...
|
|