Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hzjtpushdateService
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jianjin
hzjtpushdateService
Commits
a5722aee
Commit
a5722aee
authored
Apr 06, 2021
by
wangjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据配置文件修改
parent
4b4847d9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
11 deletions
+16
-11
pom.xml
pom.xml
+10
-5
src/main/java/com/hzjt/controller/TraffController.java
src/main/java/com/hzjt/controller/TraffController.java
+1
-1
src/main/resources/application.properties
src/main/resources/application.properties
+5
-5
No files found.
pom.xml
View file @
a5722aee
...
@@ -67,11 +67,11 @@
...
@@ -67,11 +67,11 @@
</dependency>
</dependency>
<!-- oracle -->
<!-- oracle -->
<!-- 数据库相关, 驱动、mybatis、分页插件 -->
<!-- 数据库相关, 驱动、mybatis、分页插件 -->
<
dependency
>
<
!--<dependency>--
>
<
groupId>
com.oracle
</groupId
>
<
!--<groupId>com.oracle</groupId>--
>
<
artifactId>
ojdbc6
</artifactId
>
<
!--<artifactId>ojdbc6</artifactId>--
>
<
version>
11.2.0
</version
>
<
!--<version>11.2.0.3</version>--
>
<
/dependency
>
<
!--</dependency>--
>
<!-- 连接池druid -->
<!-- 连接池druid -->
<dependency>
<dependency>
...
@@ -202,6 +202,11 @@
...
@@ -202,6 +202,11 @@
<!-- </dependency>-->
<!-- </dependency>-->
<dependency>
<groupId>
com.oracle
</groupId>
<artifactId>
ojdbc6
</artifactId>
<version>
11.2.0.3
</version>
</dependency>
</dependencies>
</dependencies>
...
...
src/main/java/com/hzjt/controller/TraffController.java
View file @
a5722aee
...
@@ -351,7 +351,7 @@ public class TraffController {
...
@@ -351,7 +351,7 @@ public class TraffController {
if
(
"TRAFFIC_STATISTICS_VEHICLES"
.
equalsIgnoreCase
(
vehicles
.
getType
()))
{
if
(
"TRAFFIC_STATISTICS_VEHICLES"
.
equalsIgnoreCase
(
vehicles
.
getType
()))
{
String
sbbh
=
""
;
String
sbbh
=
""
;
int
tdbh
=
0
;
int
tdbh
=
0
;
if
(
vehicles
.
getVideo_id
().
contains
(
"_"
))
{
if
(
vehicles
.
getVideo_id
().
contains
(
"_"
)
&&
vehicles
.
getVideo_id
().
split
(
"_"
).
length
==
2
)
{
String
[]
sbAndTd
=
vehicles
.
getVideo_id
().
split
(
"_"
);
String
[]
sbAndTd
=
vehicles
.
getVideo_id
().
split
(
"_"
);
sbbh
=
sbAndTd
[
0
];
sbbh
=
sbAndTd
[
0
];
tdbh
=
Integer
.
valueOf
(
sbAndTd
[
1
])
+
1
;
tdbh
=
Integer
.
valueOf
(
sbAndTd
[
1
])
+
1
;
...
...
src/main/resources/application.properties
View file @
a5722aee
...
@@ -34,7 +34,7 @@ mybatis.configuration.default-statement-timeout=3000
...
@@ -34,7 +34,7 @@ mybatis.configuration.default-statement-timeout=3000
#spring.datasource.url=jdbc:oracle:thin:@192.168.168.212:1523:helowin
#spring.datasource.url=jdbc:oracle:thin:@192.168.168.212:1523:helowin
spring.datasource.username
=
hzjt
spring.datasource.username
=
hzjt
spring.datasource.password
=
hzjt
spring.datasource.password
=
hzjt
spring.datasource.url
=
jdbc:oracle:thin:@33.65.2
19.103:1521:orcl
spring.datasource.url
=
jdbc:oracle:thin:@33.65.2
50.179:1521:helowin
spring.datasource.driverClassName
=
oracle.jdbc.OracleDriver
spring.datasource.driverClassName
=
oracle.jdbc.OracleDriver
# druid
# druid
spring.datasource.type
=
com.alibaba.druid.pool.DruidDataSource
spring.datasource.type
=
com.alibaba.druid.pool.DruidDataSource
...
@@ -62,7 +62,7 @@ spring.datasource.useGlobalDataSourceStat=true
...
@@ -62,7 +62,7 @@ spring.datasource.useGlobalDataSourceStat=true
#redis
#redis
# Redis��������ַ
# Redis��������ַ
spring.redis.host
=
33.65.2
19.103
spring.redis.host
=
33.65.2
50.179
# Redis���������Ӷ˿�
# Redis���������Ӷ˿�
spring.redis.port
=
6379
spring.redis.port
=
6379
# Redis�������������루Ĭ��Ϊ�գ�
# Redis�������������루Ĭ��Ϊ�գ�
...
@@ -81,12 +81,12 @@ spring.redis.pool.min-idle=0
...
@@ -81,12 +81,12 @@ spring.redis.pool.min-idle=0
spring.redis.timeout
=
2000
spring.redis.timeout
=
2000
#spring-session ʹ��
#spring-session ʹ��
spring.session.store-type
=
none
spring.session.store-type
=
none
ip.host
=
33.65.2
19.103
ip.host
=
33.65.2
50.179
port
=
21
port
=
21
message.dept
=
33030
message.dept
=
33030
message.rate
=
10
message.rate
=
10
ftp.host
=
33.65.2
19.103
:21:hzjt:1qaz2wsx
ftp.host
=
33.65.2
50.179
:21:hzjt:1qaz2wsx
alarm.subscribe.data.key
=
gs:traff:alarmlist
alarm.subscribe.data.key
=
gs:traff:alarmlist
...
@@ -106,7 +106,7 @@ mybatis.mapper-locations=classpath:mapper/*.xml
...
@@ -106,7 +106,7 @@ mybatis.mapper-locations=classpath:mapper/*.xml
spring.mvc.throw-exception-if-no-handler-found
=
true
spring.mvc.throw-exception-if-no-handler-found
=
true
spring.resources.add-mappings
=
true
spring.resources.add-mappings
=
true
gs.traff.cloud.web.fileagent.url
=
ftp://reader:reader@33.
50.1.22
:21/gstraff/
gs.traff.cloud.web.fileagent.url
=
ftp://reader:reader@33.
65.250.179
:21/gstraff/
jms.queueName
=
demo_queue
jms.queueName
=
demo_queue
alarmrecord.check.push.enable
=
1
alarmrecord.check.push.enable
=
1
alarmrecord.check.push.recordtype
=
1
alarmrecord.check.push.recordtype
=
1
...
...
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