Commit ce4db5bb authored by wangjinjing's avatar wangjinjing

修改videoid 机制

parent 0479b1d7
......@@ -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>-->
......
......@@ -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中,并把格式校验成功的数据发布至对应频道中
......
......@@ -87,7 +87,7 @@ port=21
message.dept=33030
message.rate=10
ftp.host=33.65.219.103:21:hzjt:1qaz2wsx
ftp.host=33.65.250.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.219.103:21/gstraff/
gs.traff.cloud.web.fileagent.url=ftp://hzjt:1qaz2wsx@33.65.250.179:21/gstraff/
jms.queueName=demo_queue
alarmrecord.check.push.enable=1
alarmrecord.check.push.recordtype=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment