代码调整
This commit is contained in:
@@ -6,6 +6,7 @@ import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
|
||||
import org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration;
|
||||
import org.springframework.context.annotation.DependsOn;
|
||||
import org.springframework.scheduling.annotation.EnableAsync;
|
||||
|
||||
/**
|
||||
@@ -16,11 +17,12 @@ import org.springframework.scheduling.annotation.EnableAsync;
|
||||
*/
|
||||
@Slf4j
|
||||
@EnableAsync
|
||||
@DependsOn("proxyMapperRegister")
|
||||
@MapperScan("com.njcn.**.mapper")
|
||||
@SpringBootApplication(scanBasePackages = "com.njcn",exclude = {SecurityAutoConfiguration.class, SecurityFilterAutoConfiguration.class})
|
||||
@SpringBootApplication(scanBasePackages = "com.njcn", exclude = {SecurityAutoConfiguration.class, SecurityFilterAutoConfiguration.class})
|
||||
public class InfluxDataApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(InfluxDataApplication.class, args);
|
||||
}
|
||||
|
||||
|
||||
@@ -7,10 +7,10 @@ server:
|
||||
spring:
|
||||
#influxDB内容配置
|
||||
influx:
|
||||
url: http://192.168.1.24:8086
|
||||
url: http://192.168.1.81:18086
|
||||
user: admin
|
||||
password: 123456
|
||||
database: test
|
||||
database: pqsbase
|
||||
mapper-location: com.njcn.influx.imapper
|
||||
application:
|
||||
name: oracle-data
|
||||
@@ -68,8 +68,8 @@ spring:
|
||||
datasource:
|
||||
master:
|
||||
url: jdbc:oracle:thin:@192.168.1.51:1521:pqsbase
|
||||
username: pqsadmin
|
||||
password: Pqsadmin123
|
||||
username: pqsadmin_hn
|
||||
password: pqsadmin
|
||||
driver-class-name: oracle.jdbc.driver.OracleDriver
|
||||
# target:
|
||||
# url: jdbc:oracle:thin:@192.168.1.51:1521:pqsbase
|
||||
|
||||
Reference in New Issue
Block a user