From bd0fafde817b60dee79b1e4dd091a5e34ac8625c Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: Mon, 15 Apr 2024 15:51:10 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=9B=AE=E5=BD=95=E8=AE=A2?=
=?UTF-8?q?=E9=98=85=E5=8F=91=E9=80=81=E8=AE=A2=E9=98=85=E6=9C=AA=E6=90=BA?=
=?UTF-8?q?=E5=B8=A6=E7=BB=8F=E7=BA=AC=E5=BA=A6=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../transmit/cmd/impl/SIPCommanderFroPlatform.java | 2 ++
数据库/2.7.0/更新-mysql-2.7.0.sql | 12 +++++++++++-
数据库/2.7.0/更新-postgresql-kingbase-2.7.0.sql | 12 +++++++++++-
3 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java
index 29646546..2082d39e 100755
--- a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java
+++ b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java
@@ -665,6 +665,8 @@ public class SIPCommanderFroPlatform implements ISIPCommanderForPlatform {
.append(" " + channel.getOwner()+ "\r\n")
.append("" + channel.getCivilCode() + "\r\n")
.append("
" + channel.getAddress() + "\r\n");
+ catalogXml.append("" + channel.getLongitude() + "\r\n");
+ catalogXml.append("" + channel.getLatitude() + "\r\n");
}
if (!"presence".equals(subscribeInfo.getEventType())) {
catalogXml.append("" + type + "\r\n");
diff --git a/数据库/2.7.0/更新-mysql-2.7.0.sql b/数据库/2.7.0/更新-mysql-2.7.0.sql
index c229fb1e..b14a5c84 100644
--- a/数据库/2.7.0/更新-mysql-2.7.0.sql
+++ b/数据库/2.7.0/更新-mysql-2.7.0.sql
@@ -4,5 +4,15 @@ alter table wvp_device_channel
alter table wvp_device
drop switch_primary_sub_stream;
+# 第一个补丁包
alter table wvp_platform
- add send_stream_ip character varying(50);
\ No newline at end of file
+ add send_stream_ip character varying(50);
+
+alter table wvp_device
+ change on_line on_line bool default false;
+
+alter table wvp_device
+ change id id serial primary key;
+
+alter table wvp_device
+ change ssrc_check ssrc_check bool default false;
\ No newline at end of file
diff --git a/数据库/2.7.0/更新-postgresql-kingbase-2.7.0.sql b/数据库/2.7.0/更新-postgresql-kingbase-2.7.0.sql
index c229fb1e..b14a5c84 100644
--- a/数据库/2.7.0/更新-postgresql-kingbase-2.7.0.sql
+++ b/数据库/2.7.0/更新-postgresql-kingbase-2.7.0.sql
@@ -4,5 +4,15 @@ alter table wvp_device_channel
alter table wvp_device
drop switch_primary_sub_stream;
+# 第一个补丁包
alter table wvp_platform
- add send_stream_ip character varying(50);
\ No newline at end of file
+ add send_stream_ip character varying(50);
+
+alter table wvp_device
+ change on_line on_line bool default false;
+
+alter table wvp_device
+ change id id serial primary key;
+
+alter table wvp_device
+ change ssrc_check ssrc_check bool default false;
\ No newline at end of file