From 497e581e5e26840400f5f2cd1cf083c3de5e66c2 Mon Sep 17 00:00:00 2001 From: 648540858 <18010473990@163.com> Date: 星期一, 27 九月 2021 15:36:41 +0800 Subject: [PATCH] 处理报警和位置上报时使用fromHeader获取deviceId, xml的deviceId作为channelId使用。 --- sql/mysql.sql | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/sql/mysql.sql b/sql/mysql.sql index dba42c1..4501257 100644 --- a/sql/mysql.sql +++ b/sql/mysql.sql @@ -66,6 +66,7 @@ id int auto_increment primary key, deviceId varchar(50) not null, + channelId varchar(50) not null, alarmPriority varchar(50) not null, alarmMethod varchar(50), alarmTime varchar(50) not null, @@ -92,6 +93,7 @@ create table device_mobile_position ( deviceId varchar(50) not null, + channelId varchar(50) not null, deviceName varchar(255) null, time varchar(50) not null, longitude double not null, -- Gitblit v1.8.0