...
|
...
|
@@ -44,15 +44,15 @@ public class SingleTask implements Runnable { |
|
|
}
|
|
|
//获取数据
|
|
|
if("app_collect_sample".equals(taskModel.getDatabase())){
|
|
|
logger.debug("begin execute app_collect_sample :"+taskModel.getInfluxSql());
|
|
|
logger.error("begin execute app_collect_sample :"+taskModel.getInfluxSql());
|
|
|
}
|
|
|
List<Map> resultList= getResultWithSql(taskModel,taskModel.getInfluxSql());
|
|
|
if("app_collect_sample".equals(taskModel.getDatabase())){
|
|
|
logger.debug("execute app_collect_sample resultList is :"+ resultList);
|
|
|
logger.error("execute app_collect_sample resultList is :" + resultList);
|
|
|
}
|
|
|
Map<String, List<List<Map<String, Object>>>> result = resultList.get(0);
|
|
|
if("app_collect_sample".equals(taskModel.getDatabase())){
|
|
|
logger.debug("end execute app_collect_sample result is :"+ result);
|
|
|
logger.error("end execute app_collect_sample result is :" + result);
|
|
|
}
|
|
|
Map<String,Boolean> exceptionMap= resultList.get(1);
|
|
|
if(exceptionMap!=null&&exceptionMap.size()>0){
|
...
|
...
|
|