提交influx造数据的代码
This commit is contained in:
@@ -14,7 +14,9 @@
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<!-- <failOnMissingWebXml>false</failOnMissingWebXml>-->
|
||||
</properties>
|
||||
<!-- <packaging>war</packaging>-->
|
||||
|
||||
<dependencies>
|
||||
<!--oracle数据源-->
|
||||
@@ -30,4 +32,46 @@
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<finalName>oracle</finalName>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>repackage</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>2.2.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar-no-fork</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
@@ -56,14 +56,20 @@ spring:
|
||||
strict: false
|
||||
datasource:
|
||||
master:
|
||||
url: jdbc:oracle:thin:@192.168.1.51:1521:pqsbase
|
||||
username: pqsadmin_hn
|
||||
url: jdbc:oracle:thin:@10.118.135.139:1521:pqsbase
|
||||
# url: jdbc:oracle:thin:@192.168.1.51:1521:pqsbase
|
||||
username: pqsbase_xcs
|
||||
password: pqsadmin
|
||||
# username: pqsadmin_hn
|
||||
# password: pqsadmin
|
||||
driver-class-name: oracle.jdbc.driver.OracleDriver
|
||||
target:
|
||||
url: jdbc:oracle:thin:@192.168.1.51:1521:pqsbase
|
||||
url: jdbc:oracle:thin:@10.118.135.129:1521:pqsbase
|
||||
# url: jdbc:oracle:thin:@192.168.1.51:1521:pqsbase
|
||||
username: pqsadmin
|
||||
password: Pqsadmin123
|
||||
# username: pqsadmin
|
||||
# password: Pqsadmin123
|
||||
driver-class-name: oracle.jdbc.driver.OracleDriver
|
||||
#mybatis配置信息
|
||||
mybatis-plus:
|
||||
@@ -84,11 +90,12 @@ mybatis-plus:
|
||||
|
||||
#分片次数,一定为24的约数,1 2 3 4 6 8 12 24
|
||||
business:
|
||||
slice: 4
|
||||
slice: 12
|
||||
|
||||
#配置job相关参数startime>endtime;重最近数据往历史数据慢慢迁移
|
||||
job:
|
||||
startime: 2024-01-18
|
||||
endtime: 2023-01-01
|
||||
endtime: 2022-01-01
|
||||
#每天执行数据量(天数)大于1
|
||||
slice: 2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user