diff --git a/src/main/java/com/genersoft/iot/vmp/jt1078/proc/request/J0200.java b/src/main/java/com/genersoft/iot/vmp/jt1078/proc/request/J0200.java index e783f9d4a..8534befef 100644 --- a/src/main/java/com/genersoft/iot/vmp/jt1078/proc/request/J0200.java +++ b/src/main/java/com/genersoft/iot/vmp/jt1078/proc/request/J0200.java @@ -25,7 +25,9 @@ public class J0200 extends Re { @Override protected Rs decode0(ByteBuf buf, Header header, Session session) { 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(); // Map additionalMsg = new HashMap<>(); diff --git a/数据库/2.7.4/更新-mysql-2.7.4.sql b/数据库/2.7.4/更新-mysql-2.7.4.sql index 7b80a5f92..645c97021 100644 --- a/数据库/2.7.4/更新-mysql-2.7.4.sql +++ b/数据库/2.7.4/更新-mysql-2.7.4.sql @@ -1,4 +1,3 @@ -drop table IF EXISTS wvp_jt_terminal; create table IF NOT EXISTS wvp_jt_terminal ( id serial primary key, 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) ); -drop table IF EXISTS wvp_jt_channel; create table IF NOT EXISTS wvp_jt_channel ( id serial primary key, terminal_db_id integer, @@ -141,8 +139,6 @@ call wvp_202601025(); DROP PROCEDURE wvp_202601025; DELIMITER ; - -drop table IF EXISTS wvp_alarm; create table IF NOT EXISTS wvp_alarm ( id serial primary key COMMENT '主键ID', channel_id integer COMMENT '关联通道的数据库id', diff --git a/数据库/2.7.4/更新-postgresql-kingbase-2.7.4.sql b/数据库/2.7.4/更新-postgresql-kingbase-2.7.4.sql index 9e4f80878..0ab03ae64 100644 --- a/数据库/2.7.4/更新-postgresql-kingbase-2.7.4.sql +++ b/数据库/2.7.4/更新-postgresql-kingbase-2.7.4.sql @@ -1,4 +1,3 @@ -drop table IF EXISTS wvp_jt_terminal; create table IF NOT EXISTS wvp_jt_terminal ( id serial primary key, phone_number character varying(50), @@ -22,7 +21,6 @@ create table IF NOT EXISTS wvp_jt_terminal ( sdp_ip character varying(50), 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 ( id serial primary key, 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 keepalive_time; -drop table IF EXISTS wvp_alarm; create table IF NOT EXISTS wvp_alarm ( id serial primary key, channel_id integer,