|
|
@@ -10,6 +10,7 @@ import com.shkpr.service.alambizplugin.dto.PipeBurstDataPressCur;
|
|
|
import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
+import javax.annotation.PostConstruct;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
|
@@ -34,7 +35,13 @@ public class PipeBurstDataBizService {
|
|
|
mBizType = LogFlagBusiType.BUSI_PIPE_BURST.toStrValue();
|
|
|
this.dataPressCurService = dataPressCurService;
|
|
|
this.influxDbUtil = influxDbUtil;
|
|
|
+ }
|
|
|
|
|
|
+ /**
|
|
|
+ * 初始化
|
|
|
+ */
|
|
|
+ @PostConstruct
|
|
|
+ public void init() {
|
|
|
migratePressCur();
|
|
|
}
|
|
|
|