Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
职
职业病数据推送
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
王浪
职业病数据推送
Commits
795de3af
Commit
795de3af
authored
Mar 27, 2023
by
helei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
36062bc5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
59 deletions
+2
-59
pom.xml
pom.xml
+0
-26
src/main/java/com/example/data_push/DataPushApplication.java
src/main/java/com/example/data_push/DataPushApplication.java
+2
-2
src/main/resources/application.yml
src/main/resources/application.yml
+0
-31
No files found.
pom.xml
View file @
795de3af
...
@@ -30,13 +30,6 @@
...
@@ -30,13 +30,6 @@
<artifactId>
mybatis-plus-boot-starter
</artifactId>
<artifactId>
mybatis-plus-boot-starter
</artifactId>
<version>
3.2.0
</version>
<version>
3.2.0
</version>
</dependency>
</dependency>
<dependency>
<groupId>
com.baomidou
</groupId>
<artifactId>
dynamic-datasource-spring-boot-starter
</artifactId>
<version>
2.5.6
</version>
</dependency>
<!-- hutool -->
<!-- hutool -->
<dependency>
<dependency>
<groupId>
cn.hutool
</groupId>
<groupId>
cn.hutool
</groupId>
...
@@ -66,19 +59,6 @@
...
@@ -66,19 +59,6 @@
<version>
3.11
</version>
<version>
3.11
</version>
</dependency>
</dependency>
<dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
<scope>
runtime
</scope>
</dependency>
<!-- 添加oracle驱动依赖 -->
<dependency>
<groupId>
com.oracle
</groupId>
<artifactId>
ojdbc6
</artifactId>
<version>
11.2.0.3
</version>
</dependency>
<!-- 引入swagger2 -->
<!-- 引入swagger2 -->
<dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<groupId>
io.springfox
</groupId>
...
@@ -99,12 +79,6 @@
...
@@ -99,12 +79,6 @@
</dependency>
</dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
druid-spring-boot-starter
</artifactId>
<version>
1.1.20
</version>
</dependency>
<dependency>
<dependency>
<groupId>
org.projectlombok
</groupId>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
<artifactId>
lombok
</artifactId>
...
...
src/main/java/com/example/data_push/DataPushApplication.java
View file @
795de3af
package
com.example.data_push
;
package
com.example.data_push
;
import
com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
;
import
springfox.documentation.swagger2.annotations.EnableSwagger2
;
import
springfox.documentation.swagger2.annotations.EnableSwagger2
;
/**
/**
* @author 浪爷
* @author 浪爷
*/
*/
@EnableSwagger2
@EnableSwagger2
@SpringBootApplication
(
exclude
=
D
ruidDataSourceAutoConfigure
.
class
)
@SpringBootApplication
(
exclude
=
D
ataSourceAutoConfiguration
.
class
)
public
class
DataPushApplication
{
public
class
DataPushApplication
{
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
DataPushApplication
.
class
,
args
);
SpringApplication
.
run
(
DataPushApplication
.
class
,
args
);
...
...
src/main/resources/application.yml
View file @
795de3af
...
@@ -4,37 +4,6 @@ server:
...
@@ -4,37 +4,6 @@ server:
swagger
:
swagger
:
enable
:
true
enable
:
true
spring
:
profiles
:
active
:
dev
datasource
:
dynamic
:
primary
:
db1
# 配置默认数据库
datasource
:
db1
:
# 数据源1配置
driver-class-name
:
oracle.jdbc.driver.OracleDriver
username
:
PARATROOPER
password
:
123456
url
:
jdbc:oracle:thin:@192.168.20.163:1521:orcl
# db2: # 数据源2配置
# url: jdbc:mysql://116.211.118.66:12004/paratroops?characterEncoding=utf8&useUnicode=true&useSSL=false&serverTimezone=GMT%2B8
# username: root
# password: zhyy0804mysql
# #url: jdbc:mysql://39.102.53.133:10060/paratroops?characterEncoding=utf8&useUnicode=true&useSSL=false&serverTimezone=GMT%2B8
# #username: root
# #password: root
# driver-class-name: com.mysql.cj.jdbc.Driver
durid
:
initial-size
:
1
max-active
:
20
min-idle
:
1
max-wait
:
60000
autoconfigure
:
exclude
:
com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
zyb
:
zyb
:
#申报地址
#申报地址
url
:
http://47.99.104.188:8083/ws_data/ws/TJ?wsdl
url
:
http://47.99.104.188:8083/ws_data/ws/TJ?wsdl
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment