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
建金
hzjtpushdateService
Commits
ce4db5bb
Commit
ce4db5bb
authored
Apr 14, 2021
by
wangjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改videoid 机制
parent
0479b1d7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
+13
-6
pom.xml
pom.xml
+9
-2
src/main/java/com/hzjt/controller/TraffController.java
src/main/java/com/hzjt/controller/TraffController.java
+2
-2
src/main/resources/application.properties
src/main/resources/application.properties
+2
-2
No files found.
pom.xml
View file @
ce4db5bb
...
...
@@ -209,10 +209,17 @@
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.1
</version>
<configuration>
<includeSystemScope>
true
</includeSystemScope>
<source>
1.8
</source>
<target>
1.8
</target>
</configuration>
</plugin>
<!-- <plugin>-->
<!-- <artifactId>maven-assembly-plugin</artifactId>-->
...
...
src/main/java/com/hzjt/controller/TraffController.java
View file @
ce4db5bb
...
...
@@ -139,8 +139,9 @@ public class TraffController {
}
else
{
sbbh
=
videoId
;
//重新赋值videoid
trffClientMessage
.
setVideo_id
(
videoId
+
"_0"
);
}
List
<
Sbtdspsr
>
sbtdspsrs
=
sbtdspsrMapper
.
selectBySbbh
(
sbbh
,
tdbh
);
if
(
sbtdspsrs
.
isEmpty
())
{
log
.
info
(
"设备为:"
+
sbbh
+
",通道为:"
+
tdbh
+
"未录入(备案)"
);
...
...
@@ -154,7 +155,6 @@ public class TraffController {
//ts 時間轉成正常時間
trffClientMessage
.
setDept
(
xzbh
);
try
{
// 清空redis中的部分旧数据
// importService.cleanCache();
// 将参数result中的部分数据存入redis中,并把格式校验成功的数据发布至对应频道中
...
...
src/main/resources/application.properties
View file @
ce4db5bb
...
...
@@ -87,7 +87,7 @@ port=21
message.dept
=
33030
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
...
...
@@ -107,7 +107,7 @@ mybatis.mapper-locations=classpath:mapper/*.xml
spring.mvc.throw-exception-if-no-handler-found
=
true
spring.resources.add-mappings
=
true
gs.traff.cloud.web.fileagent.url
=
ftp://hzjt:1qaz2wsx@33.65.2
19.103
:21/gstraff/
gs.traff.cloud.web.fileagent.url
=
ftp://hzjt:1qaz2wsx@33.65.2
50.179
:21/gstraff/
jms.queueName
=
demo_queue
alarmrecord.check.push.enable
=
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