增加配置,修复添加部标设备异常

This commit is contained in:
lin
2025-08-07 17:52:06 +08:00
parent 45509372bd
commit fad9f2954a
3 changed files with 8 additions and 6 deletions

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

@@ -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