Compare commits

...

6 Commits

Author SHA1 Message Date
阿斌
ae1608074d
Pre Merge pull request !36 from 阿斌/N/A 2025-08-07 11:34:26 +00:00
lin
ed00a2a75a 修复部标通道中国标编辑的BUG 2025-08-07 19:34:10 +08:00
lin
1702907573 修复全量脚本缺失的字段 2025-08-07 18:13:44 +08:00
lin
fad9f2954a 增加配置,修复添加部标设备异常 2025-08-07 17:52:06 +08:00
lin
45509372bd 修复过期时间设置异常 2025-08-07 17:31:51 +08:00
阿斌
da98101aac
update src/main/resources/civilCode.csv.
行政规划错误。江苏南通海门市,修改为海门区,浙江杭州删除下城区、江干区,新增钱塘区,临平区

Signed-off-by: 阿斌 <38912748@qq.com>
2024-12-15 08:58:42 +00:00
14 changed files with 21 additions and 24 deletions

View File

@ -11,7 +11,7 @@ public class DeviceStatusTaskInfo{
private SipTransactionInfo transactionInfo;
/**
* 过期时间
* 过期时间,单位毫秒
*/
private long expireTime;
}

View File

@ -118,7 +118,7 @@ public class DeviceStatusTaskRunner {
if (taskInfo == null) {
continue;
}
Long expire = redisTemplate.getExpire(redisKey);
Long expire = redisTemplate.getExpire(redisKey, TimeUnit.MILLISECONDS);
taskInfo.setExpireTime(expire);
result.add(taskInfo);
}

View File

@ -15,7 +15,7 @@ public class SubscribeTaskInfo {
private String key;
/**
* 过期时间
* 过期时间单位
*/
private long expireTime;

View File

@ -118,7 +118,7 @@ public class SubscribeTaskRunner{
if (taskInfo == null) {
continue;
}
Long expire = redisTemplate.getExpire(redisKey);
Long expire = redisTemplate.getExpire(redisKey, TimeUnit.SECONDS);
taskInfo.setExpireTime(expire);
result.add(taskInfo);
}

View File

@ -1,15 +1,8 @@
package com.genersoft.iot.vmp.gb28181.task.platformStatus;
import com.genersoft.iot.vmp.common.CommonCallback;
import com.genersoft.iot.vmp.gb28181.bean.SipTransactionInfo;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import org.jetbrains.annotations.NotNull;
import java.util.concurrent.Delayed;
import java.util.concurrent.TimeUnit;
/**
* 平台注册任务可序列化的信息
@ -23,7 +16,7 @@ public class PlatformRegisterTaskInfo{
private SipTransactionInfo sipTransactionInfo;
/**
* 过期时间
* 过期时间单位 毫秒
*/
private long expireTime;
}

View File

@ -179,7 +179,7 @@ public class PlatformStatusTaskRunner {
if (taskInfo == null) {
continue;
}
Long expire = redisTemplate.getExpire(redisKey);
Long expire = redisTemplate.getExpire(redisKey, TimeUnit.MILLISECONDS);
taskInfo.setExpireTime(expire);
result.add(taskInfo);
}

View File

@ -42,9 +42,6 @@ public class JTDevice {
@Schema(description = "车牌")
private String plateNo;
@Schema(description = "鉴权码")
private String authenticationCode;
@Schema(description = "经度")
private Double longitude;

View File

@ -23,7 +23,6 @@ public interface JTTerminalMapper {
"<if test=\"model != null\">, model=#{model}</if>" +
"<if test=\"plateColor != null\">, plate_color=#{plateColor}</if>" +
"<if test=\"plateNo != null\">, plate_no=#{plateNo}</if>" +
"<if test=\"authenticationCode != null\">, authentication_code=#{authenticationCode}</if>" +
"<if test=\"longitude != null\">, longitude=#{longitude}</if>" +
"<if test=\"latitude != null\">, latitude=#{latitude}</if>" +
"<if test=\"registerTime != null\">, register_time=#{registerTime}</if>" +
@ -64,7 +63,6 @@ public interface JTTerminalMapper {
"model,"+
"plate_color,"+
"plate_no,"+
"authentication_code,"+
"longitude,"+
"latitude,"+
"create_time,"+
@ -81,7 +79,6 @@ public interface JTTerminalMapper {
"#{model}," +
"#{plateColor}," +
"#{plateNo}," +
"#{authenticationCode}," +
"#{longitude}," +
"#{latitude}," +
"#{createTime}," +

View File

@ -2,4 +2,4 @@ spring:
application:
name: wvp
profiles:
active: 1078
active: 274-dev

View File

@ -861,7 +861,7 @@
320623,如东县,3206
320681,启东市,3206
320682,如皋市,3206
320684,海门,3206
320684,海门,3206
320685,海安市,3206
3207,连云港市,32
320703,连云区,3207
@ -918,8 +918,6 @@
33,浙江省,
3301,杭州市,33
330102,上城区,3301
330103,下城区,3301
330104,江干区,3301
330105,拱墅区,3301
330106,西湖区,3301
330108,滨江区,3301
@ -927,6 +925,8 @@
330110,余杭区,3301
330111,富阳区,3301
330112,临安区,3301
330113,临平区,3301
330114,钱塘区,3301
330122,桐庐县,3301
330127,淳安县,3301
330182,建德市,3301

1 编号 名称 上级
861 320623 如东县 3206
862 320681 启东市 3206
863 320682 如皋市 3206
864 320684 海门市 海门区 3206
865 320685 海安市 3206
866 3207 连云港市 32
867 320703 连云区 3207
918 33 浙江省
919 3301 杭州市 33
920 330102 上城区 3301
330103 下城区 3301
330104 江干区 3301
921 330105 拱墅区 3301
922 330106 西湖区 3301
923 330108 滨江区 3301
925 330110 余杭区 3301
926 330111 富阳区 3301
927 330112 临安区 3301
928 330113 临平区 3301
929 330114 钱塘区 3301
930 330122 桐庐县 3301
931 330127 淳安县 3301
932 330182 建德市 3301

View File

@ -120,6 +120,13 @@ sip:
# 命令发送等待回复的超时时间, 单位:毫秒
timeout: 1000
# 做为JT1078服务器的配置
ftp:
#[必须修改] 是否开启1078的服务
enable: true
port: 2121
passive-ports: 10000-10500
# 做为JT1078服务器的配置
jt1078:
#[必须修改] 是否开启1078的服务
@ -129,6 +136,7 @@ jt1078:
#[可选] 设备鉴权的密码
password: admin123
#zlm 默认服务器配置
media:
# [必须修改] zlm服务器唯一id用于触发hook时区别是哪台服务器,general.mediaServerId

View File

@ -21,7 +21,7 @@
</el-form>
</el-tab-pane>
<el-tab-pane :disabled="!jtChannel.gbId" label="国标通道配置">
<el-tab-pane label="国标通道配置">
<CommonChannelEdit :id="jtChannel.gbId" ref="commonChannelEdit" :cancel="close" />
</el-tab-pane>
</el-tabs>

View File

@ -183,6 +183,7 @@ create table IF NOT EXISTS wvp_media_server
flv_ssl_port integer,
ws_flv_port integer,
ws_flv_ssl_port integer,
jtt_proxy_port integer,
auto_config bool default false,
secret character varying(50),
type character varying(50) default 'zlm',

View File

@ -184,6 +184,7 @@ create table IF NOT EXISTS wvp_media_server
flv_ssl_port integer,
ws_flv_port integer,
ws_flv_ssl_port integer,
jtt_proxy_port integer,
auto_config bool default false,
secret character varying(50),
type character varying(50) default 'zlm',