collect/src/main/java/com/qianwen/mdc/collect/service/IotDBCommonService.java
@@ -32,6 +32,7 @@ List<String> pathlist; try { pathlist = iotdbCfg.getSessionPool().showPathsTemplateSetOn(template); //logger.info("pathlist"+pathlist); return pathlist.contains(path); } catch (StatementExecutionException|IoTDBConnectionException e) { logger.error("获取模板使用错误",e); @@ -50,7 +51,7 @@ try { iotdbCfg.getSessionPool().setSchemaTemplate(template, deviceId); } catch (Exception e) { e.printStackTrace(); logger.error("获取模板使用错误,template="+template+",deviceId="+deviceId,e); } } }