From 1bf92cd596e6d1c259e471dae605fca4d0ed8824 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期二, 10 九月 2024 12:13:33 +0800
Subject: [PATCH] 增加假的报警代码
---
collect/src/main/java/com/qianwen/mdc/collect/service/OutputAggregateService.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/collect/src/main/java/com/qianwen/mdc/collect/service/OutputAggregateService.java b/collect/src/main/java/com/qianwen/mdc/collect/service/OutputAggregateService.java
index 428478e..7ebfa0b 100644
--- a/collect/src/main/java/com/qianwen/mdc/collect/service/OutputAggregateService.java
+++ b/collect/src/main/java/com/qianwen/mdc/collect/service/OutputAggregateService.java
@@ -48,7 +48,7 @@
String pathPprefix = IOTDBConstant.DB_PREFIX+IOTDBConstant.TEMPLATE_OUTPUT+"_"+workstationId;
//this.workstationAggregateOutputMapper.createTable(workStationId);
//this.workstationOutputMapper.createTable(workStationId);
- iotDBCommonService.setTemmplateIsNotSet(IOTDBConstant.TEMPLATE_AGGREGATEOUTPUT, pathPprefix);
+ iotDBCommonService.setTemmplateIfNotSet(IOTDBConstant.TEMPLATE_AGGREGATEOUTPUT, pathPprefix);
/*
List<WorkstationOutput> notSyncWorkstationOutputs = this.workstationOutputMapper.selectList(Wrappers.<WorkstationOutput>lambdaQuery()
.eq(WorkstationOutput::getWorkstationId, workStationId)
@@ -93,10 +93,10 @@
*/
void crateOutputTables(long workstationId){
String aggregatePathPrefix = IOTDBConstant.DB_PREFIX+IOTDBConstant.TEMPLATE_AGGREGATEOUTPUT+"_"+workstationId;
- iotDBCommonService.setTemmplateIsNotSet(IOTDBConstant.TEMPLATE_AGGREGATEOUTPUT, aggregatePathPrefix);
+ iotDBCommonService.setTemmplateIfNotSet(IOTDBConstant.TEMPLATE_AGGREGATEOUTPUT, aggregatePathPrefix);
String outputPathPrefix = IOTDBConstant.DB_PREFIX+IOTDBConstant.TEMPLATE_OUTPUT+"_"+workstationId;
- iotDBCommonService.setTemmplateIsNotSet(IOTDBConstant.TEMPLATE_OUTPUT, outputPathPrefix);
+ iotDBCommonService.setTemmplateIfNotSet(IOTDBConstant.TEMPLATE_OUTPUT, outputPathPrefix);
}
--
Gitblit v1.9.3