mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-23 05:37:48 +08:00
部标-完善位置日志打印
This commit is contained in:
parent
17b41acb3a
commit
75575f939c
@ -25,7 +25,9 @@ public class J0200 extends Re {
|
|||||||
@Override
|
@Override
|
||||||
protected Rs decode0(ByteBuf buf, Header header, Session session) {
|
protected Rs decode0(ByteBuf buf, Header header, Session session) {
|
||||||
positionInfo = JTPositionBaseInfo.decode(buf);
|
positionInfo = JTPositionBaseInfo.decode(buf);
|
||||||
log.debug("[JT-位置汇报]: phoneNumber={} {}", header.getPhoneNumber(), positionInfo.toSimpleString());
|
if (log.isDebugEnabled()) {
|
||||||
|
log.debug("[JT-位置汇报]: phoneNumber={} {}", header.getPhoneNumber(), positionInfo.toSimpleString());
|
||||||
|
}
|
||||||
// 读取附加信息
|
// 读取附加信息
|
||||||
// JTPositionAdditionalInfo positionAdditionalInfo = new JTPositionAdditionalInfo();
|
// JTPositionAdditionalInfo positionAdditionalInfo = new JTPositionAdditionalInfo();
|
||||||
// Map<Integer, byte[]> additionalMsg = new HashMap<>();
|
// Map<Integer, byte[]> additionalMsg = new HashMap<>();
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
drop table IF EXISTS wvp_jt_terminal;
|
|
||||||
create table IF NOT EXISTS wvp_jt_terminal (
|
create table IF NOT EXISTS wvp_jt_terminal (
|
||||||
id serial primary key,
|
id serial primary key,
|
||||||
phone_number character varying(50),
|
phone_number character varying(50),
|
||||||
@ -23,7 +22,6 @@ create table IF NOT EXISTS wvp_jt_terminal (
|
|||||||
constraint uk_jt_device_id_device_id unique (id, phone_number)
|
constraint uk_jt_device_id_device_id unique (id, phone_number)
|
||||||
);
|
);
|
||||||
|
|
||||||
drop table IF EXISTS wvp_jt_channel;
|
|
||||||
create table IF NOT EXISTS wvp_jt_channel (
|
create table IF NOT EXISTS wvp_jt_channel (
|
||||||
id serial primary key,
|
id serial primary key,
|
||||||
terminal_db_id integer,
|
terminal_db_id integer,
|
||||||
@ -141,8 +139,6 @@ call wvp_202601025();
|
|||||||
DROP PROCEDURE wvp_202601025;
|
DROP PROCEDURE wvp_202601025;
|
||||||
DELIMITER ;
|
DELIMITER ;
|
||||||
|
|
||||||
|
|
||||||
drop table IF EXISTS wvp_alarm;
|
|
||||||
create table IF NOT EXISTS wvp_alarm (
|
create table IF NOT EXISTS wvp_alarm (
|
||||||
id serial primary key COMMENT '主键ID',
|
id serial primary key COMMENT '主键ID',
|
||||||
channel_id integer COMMENT '关联通道的数据库id',
|
channel_id integer COMMENT '关联通道的数据库id',
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
drop table IF EXISTS wvp_jt_terminal;
|
|
||||||
create table IF NOT EXISTS wvp_jt_terminal (
|
create table IF NOT EXISTS wvp_jt_terminal (
|
||||||
id serial primary key,
|
id serial primary key,
|
||||||
phone_number character varying(50),
|
phone_number character varying(50),
|
||||||
@ -22,7 +21,6 @@ create table IF NOT EXISTS wvp_jt_terminal (
|
|||||||
sdp_ip character varying(50),
|
sdp_ip character varying(50),
|
||||||
constraint uk_jt_device_id_device_id unique (id, phone_number)
|
constraint uk_jt_device_id_device_id unique (id, phone_number)
|
||||||
);
|
);
|
||||||
drop table IF EXISTS wvp_jt_channel;
|
|
||||||
create table IF NOT EXISTS wvp_jt_channel (
|
create table IF NOT EXISTS wvp_jt_channel (
|
||||||
id serial primary key,
|
id serial primary key,
|
||||||
terminal_db_id integer,
|
terminal_db_id integer,
|
||||||
@ -48,7 +46,6 @@ drop index uk_media_server_unique_ip_http_port on wvp_media_server;
|
|||||||
ALTER table wvp_device DROP COLUMN IF EXISTS register_time;
|
ALTER table wvp_device DROP COLUMN IF EXISTS register_time;
|
||||||
ALTER table wvp_device DROP COLUMN IF EXISTS keepalive_time;
|
ALTER table wvp_device DROP COLUMN IF EXISTS keepalive_time;
|
||||||
|
|
||||||
drop table IF EXISTS wvp_alarm;
|
|
||||||
create table IF NOT EXISTS wvp_alarm (
|
create table IF NOT EXISTS wvp_alarm (
|
||||||
id serial primary key,
|
id serial primary key,
|
||||||
channel_id integer,
|
channel_id integer,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user