CREATE TABLE `zw_m_fence_type` (
  `id` varchar(64) NOT NULL COMMENT '围栏种类id',
  `fence_type_name` varchar(50) NOT NULL COMMENT '种类名称',
  `color_code` varchar(10) NOT NULL COMMENT '颜色码',
  `transparency` varchar(10) NOT NULL COMMENT '透明度',
  `draw_way` varchar(10) NOT NULL COMMENT '绘制方式 1:多边形; 2:圆; 3:路线; 4:标注; 多个逗号分隔',
  `remark` varchar(100) DEFAULT NULL COMMENT '备注',
  `flag` smallint(6) NOT NULL DEFAULT '1' COMMENT '0不显示、1显示',
  `create_data_time` datetime DEFAULT NULL,
  `create_data_username` varchar(45) DEFAULT NULL,
  `update_data_time` datetime DEFAULT NULL,
  `update_data_username` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;


ALTER TABLE zw_m_fence_info add fence_type_id varchar(64) DEFAULT NULL  COMMENT '围栏种类id';
ALTER TABLE zw_m_fence_info add area double DEFAULT '0'  COMMENT '面积';

CREATE TABLE `zw_m_monitor_scheduled_info` (
  `id` varchar(64) NOT NULL COMMENT 'id（监控对象排班信息）',
  `scheduled_info_id` varchar(64) NOT NULL COMMENT '排班id',
  `monitor_id` varchar(64) NOT NULL COMMENT '监控对象id',
  `start_date` date NOT NULL COMMENT '开始日期',
  `end_date` date NOT NULL COMMENT '结束日期',
  `date_duplicate_type` varchar(20) NOT NULL COMMENT '日期重复类型（周一至周日（1至7）逗号分隔，8：每天；）',
  `flag` smallint(6) NOT NULL DEFAULT '1' COMMENT '0不显示、1显示',
  PRIMARY KEY (`id`),
  KEY `index_scheduled_info_id` (`scheduled_info_id`),
  KEY `index_monitor_id` (`monitor_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE `zw_m_scheduled_info` (
  `id` varchar(64) NOT NULL COMMENT 'id（排班信息）',
  `scheduled_name` varchar(20) NOT NULL COMMENT '排班名称',
  `start_date` date NOT NULL COMMENT '开始日期',
  `end_date` date NOT NULL COMMENT '结束日期',
  `date_duplicate_type` varchar(20) NOT NULL COMMENT '日期重复类型（周一至周日（1至7）逗号分隔，8：每天；）',
  `remark` varchar(100) DEFAULT NULL COMMENT '备注',
  `group_id` varchar(64) NOT NULL COMMENT '创建人所属组织id',
  `flag` smallint(6) NOT NULL DEFAULT '1' COMMENT '0不显示、1显示',
  `is_mandatory_termination` smallint(6) NOT NULL DEFAULT '0' COMMENT '0不是强制结束、1强制结束',
  `create_data_time` datetime DEFAULT NULL,
  `create_data_username` varchar(45) DEFAULT NULL,
  `update_data_time` datetime DEFAULT NULL,
  `update_data_username` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;


CREATE TABLE `zw_m_scheduled_item_info` (
  `id` varchar(64) NOT NULL COMMENT 'id（排班项信息）',
  `scheduled_info_id` varchar(64) NOT NULL COMMENT '排班id',
  `control_type` smallint(6) NOT NULL COMMENT '控制类别；1:围栏；2:RFID；3:NFC; 4:二维码;',
  `fence_info_id` varchar(64) NOT NULL COMMENT '围栏id',
  `start_time` varchar(10) NOT NULL COMMENT '开始时间',
  `end_time` varchar(10) NOT NULL COMMENT '结束时间',
  `relation_alarm` varchar(20) DEFAULT NULL COMMENT '关联报警（1:上班未到岗; 2:上班离岗; 3:超时长停留;）',
  `residence_time` int(2) DEFAULT NULL COMMENT '停留时间（分钟）',
  `flag` smallint(6) NOT NULL DEFAULT '1' COMMENT '0不显示、1显示',
  PRIMARY KEY (`id`),
  KEY `index_scheduled_info_id` (`scheduled_info_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;


CREATE TABLE `zw_m_designate_info` (
  `id` varchar(64) NOT NULL COMMENT 'id（指派信息）',
  `designate_name` varchar(20) NOT NULL COMMENT '指派名称',
  `task_id` varchar(64) NOT NULL COMMENT '任务id',
  `start_date` date NOT NULL COMMENT '开始日期',
  `end_date` date NOT NULL COMMENT '结束日期',
  `date_duplicate_type` varchar(20) NOT NULL COMMENT '日期重复类型（周一至周日（1至7）逗号分隔，8：每天；）',
  `remark` varchar(100) DEFAULT NULL COMMENT '备注',
  `group_id` varchar(64) NOT NULL COMMENT '创建人所属组织id',
  `flag` smallint(6) NOT NULL DEFAULT '1' COMMENT '0不显示、1显示',
  `create_data_time` datetime DEFAULT NULL,
  `create_data_username` varchar(45) DEFAULT NULL,
  `update_data_time` datetime DEFAULT NULL,
  `update_data_username` varchar(45) DEFAULT NULL,
  `forced_end` smallint(6) DEFAULT NULL COMMENT '1表示强制结束',
  PRIMARY KEY (`id`),
  KEY `inx_task_id` (`task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;



CREATE TABLE `zw_m_monitor_designate_info` (
  `id` varchar(64) NOT NULL COMMENT 'id（监控对象指派信息）',
  `designate_info_id` varchar(64) NOT NULL COMMENT '指派id',
  `monitor_id` varchar(64) NOT NULL COMMENT '监控对象id',
  `start_date` date NOT NULL COMMENT '开始日期',
  `end_date` date NOT NULL COMMENT '结束日期',
  `date_duplicate_type` varchar(20) NOT NULL COMMENT '日期重复类型（周一至周日（1至7）逗号分隔，8：每天；）',
  `flag` smallint(6) NOT NULL DEFAULT '1' COMMENT '0不显示、1显示',
  PRIMARY KEY (`id`),
  KEY `inx_monitor_id` (`monitor_id`),
  KEY `idx_designate_id` (`designate_info_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;


CREATE TABLE `zw_m_task_info` (
  `id` varchar(64) NOT NULL COMMENT 'id（任务信息）',
  `task_name` varchar(20) NOT NULL COMMENT '任务名称',
  `remark` varchar(100) DEFAULT NULL COMMENT '备注',
  `group_id` varchar(64) NOT NULL COMMENT '创建人所属组织id',
  `flag` smallint(6) NOT NULL DEFAULT '1' COMMENT '0不显示、1显示',
  `create_data_time` datetime DEFAULT NULL,
  `create_data_username` varchar(45) DEFAULT NULL,
  `update_data_time` datetime DEFAULT NULL,
  `update_data_username` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE `zw_m_task_item_info` (
  `id` varchar(64) NOT NULL COMMENT 'id（任务项信息）',
  `task_id` varchar(64) NOT NULL COMMENT '任务id',
  `control_type` smallint(6) NOT NULL COMMENT '控制类别；1:围栏；2:RFID；3:NFC; 4:二维码;',
  `fence_info_id` varchar(64) NOT NULL COMMENT '围栏id',
  `start_time` varchar(10) NOT NULL COMMENT '开始时间',
  `end_time` varchar(10) NOT NULL COMMENT '结束时间',
  `relation_alarm` varchar(20) DEFAULT NULL COMMENT '关联报警（1:任务未到岗; 2:任务离岗; ）',
  `flag` smallint(6) NOT NULL DEFAULT '1' COMMENT '0不显示、1显示',
  PRIMARY KEY (`id`),
  KEY `idx_task_id` (`task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE `zw_m_user_defined_setting` (
  `id` varchar(64) NOT NULL COMMENT 'id',
  `relation_id` varchar(64) NOT NULL COMMENT '关联id',
  `user_id` varchar(64) NOT NULL COMMENT '用户id',
  `mark` varchar(64) NOT NULL COMMENT '标识 1、围栏显示',
  `flag` smallint(6) NOT NULL DEFAULT '1' COMMENT '0不显示、1显示',
  `create_data_time` datetime DEFAULT NULL,
  `create_data_username` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`) VALUES ('a123117c-51c7-11e8-9c2d-fa7ae01baa01', '上班未到岗', NULL, '1', NULL, NULL, NULL, NULL, 'scheduledAlarm', NULL, '0', '152');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`) VALUES ('a123117c-51c7-11e8-9c2d-fa7ae01baa02', '上班离岗', NULL, '1', NULL, NULL, NULL, NULL, 'scheduledAlarm', NULL, '0', '153');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`) VALUES ('a123117c-51c7-11e8-9c2d-fa7ae01baa03', '超时长停留', NULL, '1', NULL, NULL, NULL, NULL, 'scheduledAlarm', NULL, '0', '154');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`) VALUES ('a123117c-51c7-11e8-9c2d-fa7ae01baa04', '任务未到岗', NULL, '1', NULL, NULL, NULL, NULL, 'taskAlarm', NULL, '0', '155');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`) VALUES ('a123117c-51c7-11e8-9c2d-fa7ae01baa05', '任务离岗', NULL, '1', NULL, NULL, NULL, NULL, 'taskAlarm', NULL, '0', '156');

INSERT INTO `zw_c_dictionary` VALUES ('44zzb001-b4c7-11e9-be49-408d5cc21838', null, null, 'A1', 'DRVING_LICENCE_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb002-b4c7-11e9-be49-408d5cc21838', null, null, 'A2', 'DRVING_LICENCE_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb003-b4c7-11e9-be49-408d5cc21838', null, null, 'A3', 'DRVING_LICENCE_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb004-b4c7-11e9-be49-408d5cc21838', null, null, 'B1', 'DRVING_LICENCE_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb005-b4c7-11e9-be49-408d5cc21838', null, null, 'B2', 'DRVING_LICENCE_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb006-b4c7-11e9-be49-408d5cc21838', null, null, 'C1', 'DRVING_LICENCE_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb007-b4c7-11e9-be49-408d5cc21838', null, null, 'C2', 'DRVING_LICENCE_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb008-b4c7-11e9-be49-408d5cc21838', null, null, 'C3', 'DRVING_LICENCE_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb009-b4c7-11e9-be49-408d5cc21838', null, null, 'C4', 'DRVING_LICENCE_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb010-b4c7-11e9-be49-408d5cc21838', null, null, 'D', 'DRVING_LICENCE_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb011-b4c7-11e9-be49-408d5cc21838', null, null, 'E', 'DRVING_LICENCE_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb012-b4c7-11e9-be49-408d5cc21838', null, null, 'F', 'DRVING_LICENCE_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb013-b4c7-11e9-be49-408d5cc21838', null, null, 'M', 'DRVING_LICENCE_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb014-b4c7-11e9-be49-408d5cc21838', null, null, 'N', 'DRVING_LICENCE_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb015-b4c7-11e9-be49-408d5cc21838', null, null, 'P', 'DRVING_LICENCE_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb016-b4c7-11e9-be49-408d5cc21838', null, null, '1级', 'CERTIFICATION_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb017-b4c7-11e9-be49-408d5cc21838', null, null, '2级', 'CERTIFICATION_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb018-b4c7-11e9-be49-408d5cc21838', null, null, '3级', 'CERTIFICATION_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb019-b4c7-11e9-be49-408d5cc21838', null, null, '4级', 'CERTIFICATION_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb020-b4c7-11e9-be49-408d5cc21838', null, null, '5级', 'CERTIFICATION_CATEGORY', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb021-b4c7-11e9-be49-408d5cc21838', null, null, '汉族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb022-b4c7-11e9-be49-408d5cc21838', null, null, '满族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb023-b4c7-11e9-be49-408d5cc21838', null, null, '蒙古族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb024-b4c7-11e9-be49-408d5cc21838', null, null, '回族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb025-b4c7-11e9-be49-408d5cc21838', null, null, '藏族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb026-b4c7-11e9-be49-408d5cc21838', null, null, '维吾尔族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb027-b4c7-11e9-be49-408d5cc21838', null, null, '苗族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb028-b4c7-11e9-be49-408d5cc21838', null, null, '彝族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb029-b4c7-11e9-be49-408d5cc21838', null, null, '壮族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb030-b4c7-11e9-be49-408d5cc21838', null, null, '布依族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb031-b4c7-11e9-be49-408d5cc21838', null, null, '侗族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb032-b4c7-11e9-be49-408d5cc21838', null, null, '瑶族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb033-b4c7-11e9-be49-408d5cc21838', null, null, '白族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb034-b4c7-11e9-be49-408d5cc21838', null, null, '土家族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb035-b4c7-11e9-be49-408d5cc21838', null, null, '哈尼族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb036-b4c7-11e9-be49-408d5cc21838', null, null, '哈萨克族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb037-b4c7-11e9-be49-408d5cc21838', null, null, '傣族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb038-b4c7-11e9-be49-408d5cc21838', null, null, '黎族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb039-b4c7-11e9-be49-408d5cc21838', null, null, '傈僳族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb040-b4c7-11e9-be49-408d5cc21838', null, null, '佤族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb041-b4c7-11e9-be49-408d5cc21838', null, null, '畲族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb042-b4c7-11e9-be49-408d5cc21838', null, null, '高山族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb043-b4c7-11e9-be49-408d5cc21838', null, null, '拉祜族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb044-b4c7-11e9-be49-408d5cc21838', null, null, '水族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb045-b4c7-11e9-be49-408d5cc21838', null, null, '东乡族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb046-b4c7-11e9-be49-408d5cc21838', null, null, '纳西族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb047-b4c7-11e9-be49-408d5cc21838', null, null, '景颇族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb048-b4c7-11e9-be49-408d5cc21838', null, null, '柯尔克孜族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb049-b4c7-11e9-be49-408d5cc21838', null, null, '土族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb050-b4c7-11e9-be49-408d5cc21838', null, null, '达斡尔族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb051-b4c7-11e9-be49-408d5cc21838', null, null, '仫佬族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb052-b4c7-11e9-be49-408d5cc21838', null, null, '羌族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb053-b4c7-11e9-be49-408d5cc21838', null, null, '布朗族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb054-b4c7-11e9-be49-408d5cc21838', null, null, '撒拉族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb055-b4c7-11e9-be49-408d5cc21838', null, null, '毛南族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb056-b4c7-11e9-be49-408d5cc21838', null, null, '仡佬族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb057-b4c7-11e9-be49-408d5cc21838', null, null, '锡伯族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb058-b4c7-11e9-be49-408d5cc21838', null, null, '阿昌族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb059-b4c7-11e9-be49-408d5cc21838', null, null, '普米族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb060-b4c7-11e9-be49-408d5cc21838', null, null, '朝鲜族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb061-b4c7-11e9-be49-408d5cc21838', null, null, '塔吉克族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb062-b4c7-11e9-be49-408d5cc21838', null, null, '怒族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb063-b4c7-11e9-be49-408d5cc21838', null, null, '乌孜别克族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb064-b4c7-11e9-be49-408d5cc21838', null, null, '俄罗斯族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb065-b4c7-11e9-be49-408d5cc21838', null, null, '鄂温克族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb066-b4c7-11e9-be49-408d5cc21838', null, null, '德昂族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb067-b4c7-11e9-be49-408d5cc21838', null, null, '保安族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb068-b4c7-11e9-be49-408d5cc21838', null, null, '裕固族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb069-b4c7-11e9-be49-408d5cc21838', null, null, '京族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb070-b4c7-11e9-be49-408d5cc21838', null, null, '塔塔尔族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb071-b4c7-11e9-be49-408d5cc21838', null, null, '独龙族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb072-b4c7-11e9-be49-408d5cc21838', null, null, '鄂伦春族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb073-b4c7-11e9-be49-408d5cc21838', null, null, '赫哲族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb074-b4c7-11e9-be49-408d5cc21838', null, null, '门巴族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb075-b4c7-11e9-be49-408d5cc21838', null, null, '珞巴族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb076-b4c7-11e9-be49-408d5cc21838', null, null, '基诺族', 'NATION', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb077-b4c7-11e9-be49-408d5cc21838', null, null, 'A', 'BLOOD_TYPE', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb078-b4c7-11e9-be49-408d5cc21838', null, null, 'B', 'BLOOD_TYPE', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb079-b4c7-11e9-be49-408d5cc21838', null, null, 'AB', 'BLOOD_TYPE', '');
INSERT INTO `zw_c_dictionary` VALUES ('44zzb080-b4c7-11e9-be49-408d5cc21838', null, null, 'O', 'BLOOD_TYPE', '');

ALTER TABLE zw_m_people_info MODIFY job_id varchar(64) DEFAULT 'default' COMMENT '职位id';
INSERT INTO `zw_m_job_info` VALUES ('default', '巡检人员', '15687979650155.png', '', '1', '2019-04-23 14:41:51', 'admin', '2019-09-18 17:12:45', 'ydy1-1');

CREATE TABLE `zw_m_temp_assignment_interlocutor` (
  `id` varchar(64) NOT NULL COMMENT '临时组与对讲对象',
  `assignment_id` varchar(64) DEFAULT NULL COMMENT '分组ID',
  `intercom_group_id` bigint(20) DEFAULT NULL COMMENT '对讲群组id',
  `interlocutor_id` varchar(64) DEFAULT NULL COMMENT '对讲对象id',
  PRIMARY KEY (`id`),
  KEY `temp_assignment_interlocutor_index` (`intercom_group_id`,`interlocutor_id`),
  KEY `temp_assignment_interlocutor_id_index` (`interlocutor_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE `zw_m_intercom_notification_record` (
  `id` varchar(64) NOT NULL DEFAULT '' COMMENT '调度通知记录表',
  `initiate_id` varchar(64) NOT NULL COMMENT '发起通知id',
  `receive_id` varchar(64) NOT NULL COMMENT '接收通知id',
  `content` varchar(255) DEFAULT NULL COMMENT '通知内容',
  `create_data_time` datetime DEFAULT NULL COMMENT '发送时间',
  PRIMARY KEY (`id`),
  KEY `initiate_receive` (`initiate_id`,`receive_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#主动安全平台参数设置表 添加字段
alter table zw_m_risk_event add COLUMN `event_common_field` varchar(50) DEFAULT NULL COMMENT '主动安全报警事件统称';
alter table zw_m_adas_alarm_param_setting add primary_channel int(11) DEFAULT NULL COMMENT '主码流视频通道号';
alter table zw_m_adas_alarm_param_setting add subcode_channel int(11) DEFAULT NULL COMMENT '子码流视频通道';
alter table zw_m_adas_alarm_param_setting add capture_channel int(11) DEFAULT NULL COMMENT '抓拍视频通道';
alter table zw_m_adas_alarm_param_setting add day_time int(11) DEFAULT NULL COMMENT '日间连续驾驶时间阀值';
alter table zw_m_adas_alarm_param_setting add night_time int(11) DEFAULT NULL COMMENT '夜间连续驾驶时间阀值';
alter table zw_m_adas_alarm_param_setting add min_stop_time int(11) DEFAULT NULL COMMENT '最小停车休息时间阀值';
alter table zw_m_adas_alarm_param_setting add night_time_value int(11) DEFAULT NULL COMMENT '夜间定义时段';
alter table zw_m_adas_alarm_param_setting add one_day_drive_time int(11) DEFAULT NULL COMMENT '24小时累计驾驶时间阀值';

#4.1.3优化代码sql
#改变表结构
SET @dbname = DATABASE();
SET @tablename = "zw_m_809_config";
SET @columnname = "protocol_type";
SET @preparedStatement = (SELECT IF(
    (
      SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS
      WHERE
        (table_name = @tablename)
        AND (table_schema = @dbname)
        AND (column_name = @columnname)
    ) > 0,
    "SELECT 1",
    CONCAT("ALTER TABLE ", @tablename, " ADD ", @columnname, " varchar(20) DEFAULT NULL COMMENT '808协议';")
));
PREPARE alterIfNotExists FROM @preparedStatement;
EXECUTE alterIfNotExists;
DEALLOCATE PREPARE alterIfNotExists;

#改变基础表数据
UPDATE zw_m_risk_event set risk_event='车道偏离',event_common_name =null where risk_event='车道偏移';
update zw_m_risk_event set risk_event='电池电量低报警' where risk_event='电池电量过低';
update zw_m_risk_event set risk_event='未系安全带报警' where risk_event='未系安全带';
#统一报警的名称
update zw_m_risk_event set risk_event=CONCAT(risk_event,'报警') where risk_event in ('车道左偏离','车道右偏离','未系安全带');
#滤掉无用的统称
UPDATE zw_m_risk_event set event_common_name =null where risk_event in ('急加/急减/急转弯','车道偏离','侧后方接近','车道偏离报警','实线变道','驾驶员身份识别');

#重新替换事件统称
UPDATE zw_m_risk_event set event_common_name =risk_event where event_common_name in ('车道偏离（左右偏离）','未系安全带','急加/急减/急转弯');

UPDATE zw_m_risk_event set event_common_name =risk_event where risk_event in ('电池电量低报警');
#设置commen_field
update zw_m_risk_event set event_common_field='eyeClose'  where event_common_name='闭眼';
update zw_m_risk_event set event_common_field='yawning'  where event_common_name='打哈欠';
update zw_m_risk_event set event_common_field='fatigueDriving'  where event_common_name='疲劳驾驶';
update zw_m_risk_event set event_common_field='timeoutDriving'  where event_common_name='超时驾驶';
update zw_m_risk_event set event_common_field='smoke'  where event_common_name='抽烟';
update zw_m_risk_event set event_common_field='phone'  where event_common_name='接打手持电话';
update zw_m_risk_event set event_common_field='abnormalPosture'  where event_common_name='长时间不目视前方';
update zw_m_risk_event set event_common_field='distractedDriving'  where event_common_name='分神驾驶';
update zw_m_risk_event set event_common_field='driverException'  where event_common_name='驾驶员异常';
update zw_m_risk_event set event_common_field='keepOut'  where event_common_name='遮挡';
update zw_m_risk_event set event_common_field='infraredBlocking'  where event_common_name='红外阻断';
update zw_m_risk_event set event_common_field='inConformityCertificate'  where event_common_name='人证不符';
update zw_m_risk_event set event_common_field='noDriverDetected'  where event_common_name='驾驶员不在驾驶位置';
update zw_m_risk_event set event_common_field='assistFailure'  where event_common_name='驾驶辅助功能失效';
update zw_m_risk_event set event_common_field='driverBehaviorMonitorFailure'  where event_common_name='驾驶员行为监测功能失效';
update zw_m_risk_event set event_common_field='offWheel'  where event_common_name='双手同时脱离方向盘';
update zw_m_risk_event set event_common_field='notWearingSeatBelt'  where event_common_name='未系安全带报警';
update zw_m_risk_event set event_common_field='vehicleCrash'  where event_common_name='前向碰撞';
update zw_m_risk_event set event_common_field='leftOffset'  where event_common_name='车道左偏离报警';
update zw_m_risk_event set event_common_field='rightOffset'  where event_common_name='车道右偏离报警';
update zw_m_risk_event set event_common_field='distance'  where event_common_name='车距过近';
update zw_m_risk_event set event_common_field='pedestrianCollisions'  where event_common_name='行人碰撞';
update zw_m_risk_event set event_common_field='changeLanes'  where event_common_name='频繁变道';
update zw_m_risk_event set event_common_field='quickCrossing'  where event_common_name='路口快速通过';
update zw_m_risk_event set event_common_field='accelerate'  where event_common_name='急加速';
update zw_m_risk_event set event_common_field='slowDown'  where event_common_name='急减速';
update zw_m_risk_event set event_common_field='turn'  where event_common_name='急转弯';
update zw_m_risk_event set event_common_field='roadMarkTransfinite'  where event_common_name='道路标识超限';
update zw_m_risk_event set event_common_field='obstacles'  where event_common_name='障碍物';
update zw_m_risk_event set event_common_field='highTirePressure'  where event_common_name='胎压过高';
update zw_m_risk_event set event_common_field='lowTirePressure'  where event_common_name='胎压过低';
update zw_m_risk_event set event_common_field='highTireTemperature'  where event_common_name='胎温过高';
update zw_m_risk_event set event_common_field='sensorAnomaly'  where event_common_name='传感器异常';
update zw_m_risk_event set event_common_field='imbalanceTirePressure'  where event_common_name='胎压不平衡';
update zw_m_risk_event set event_common_field='slowLeak'  where event_common_name='慢漏气';
update zw_m_risk_event set event_common_field='lowBattery'  where event_common_name='电池电量低报警';
update zw_m_risk_event set event_common_field='closeBehind'  where event_common_name='后方接近';
update zw_m_risk_event set event_common_field='leftRearApproach'  where event_common_name='左侧后方接近';
update zw_m_risk_event set event_common_field='rightRearApproach'  where event_common_name='右侧后方接近';
update zw_m_risk_event set event_common_field='leftBlindAlert'  where event_common_name='左侧盲区预警';
update zw_m_risk_event set event_common_field='rightBlindAlert'  where event_common_name='右侧盲区预警';
update zw_m_risk_event set event_common_field='idleSpeed'  where event_common_name='怠速';
update zw_m_risk_event set event_common_field='abnormalFlameOut'  where event_common_name='异常熄火';
update zw_m_risk_event set event_common_field='neutralTaxiing'  where event_common_name='空挡滑行';
update zw_m_risk_event set event_common_field='engineOverdrive'  where event_common_name='发动机超转';

alter table zw_m_risk_event add index_pos int(11) DEFAULT NULL COMMENT '按位计算标志位,没有报警的风险定义参数设置项为空';
alter table zw_m_risk_event add  alarm_pos varchar(20) DEFAULT NULL COMMENT '0x64:驾驶辅助,0x65:司机状态监测,0x66,0x67,0x70';

#调整中位标准的报警
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`=NULL WHERE (`id`='c4b76245-ad82-4c9b-b280-62fd3f67113f');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`=NULL WHERE (`id`='ac1ac405-e839-47ed-9ae7-44ce10d90e87');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='1' WHERE (`id`='c1165401-2213-49f1-89a2-c76b2492c6a7');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='2' WHERE (`id`='48dcc69e-3dab-4d5b-ba76-0cd6a27f5ab6');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='3' WHERE (`id`='a30465b2-761a-4cfa-99f1-d61521e18e11');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='4' WHERE (`id`='04a349f3-6d43-456e-8929-e06a03ba09d8');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='5' WHERE (`id`='e316c1df-72dd-4142-8b8d-bb187dbcd2ad');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='6' WHERE (`id`='f61868c6-51b2-492e-a3ed-7cd62bcdd70d');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='7' WHERE (`id`='f74dd84a-e056-4c95-b75c-c63adca33561');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='9' WHERE (`id`='10743826-e144-4079-981f-e20ca23c735a');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='10' WHERE (`id`='de4c8ad4-ca37-4b48-93d0-a7b9198dd491');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='11' WHERE (`id`='1a8ee493-f7a5-4fb6-8337-f8adc16b02da');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='6' WHERE (`id`='f56c9916-e056-5c74-b75c-c6e2e44b06b34');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='7' WHERE (`id`='c6c9a916-bb31-8168-b75c-c6sd41f4b34');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='18' WHERE (`id`='62e9c74a-a013-4253-beac-d15f081961d2');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='19' WHERE (`id`='e46db246-5a84-4031-9c98-2b9fdaa77687');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='1' WHERE (`id`='15354cd2-64cb-4194-ac5b-932e5180fa70');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='2' WHERE (`id`='28103b10-5c7a-44ba-949e-2202e351c936');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='5' WHERE (`id`='e939e7a4-b160-4ca9-9a5a-52284814a8e1');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='3' WHERE (`id`='99e6c60e-d070-4685-817e-5b08b462c2e5');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='4' WHERE (`id`='e2674b7f-4752-4087-b99e-429ec118dc5d');

#川标
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x70', `index_pos`='5' WHERE (`id`='cbf278b7-8381-4ed3-9ae2-9e825d93faf4');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x70', `index_pos`='4' WHERE (`id`='1bf1b0a4-29b8-4102-9a93-c012e163b41c');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x70', `index_pos`='7' WHERE (`id`='7e5be969-3cd5-43a5-9325-fd0e339520c7');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x70', `index_pos`='6' WHERE (`id`='48c3ce81-1ade-4807-8f27-9c1a6503af44');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='1' WHERE (`id`='324d0768-3d13-4f1f-9e3e-6c1c9a4dedcb');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='7' WHERE (`id`='e85783f4-bbaf-4c9e-8d1a-046e735b102c');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='6' WHERE (`id`='b5de0920-3727-4fbd-88af-6e9532b5e8ba');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`=NULL WHERE (`id`='9f77e478-75ca-4339-9e2e-7d821bbb2be9');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='3' WHERE (`id`='9715ff8e-91d5-4260-b3fc-82f2c1562013');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='4' WHERE (`id`='7198862a-f2a0-4d28-977e-a7f5e8367d5c');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x70', `index_pos`='1' WHERE (`id`='5bd4ea6b-8fc1-482c-a60f-d4bac6c210df');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x70', `index_pos`='2' WHERE (`id`='583d5e32-5d5b-4f77-95df-4c4e6dc204e0');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x70', `index_pos`='3' WHERE (`id`='405c5381-98f8-4f8d-8a68-f911527f132d');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='5' WHERE (`id`='331231ed-ad48-4975-94e6-5589223cc468');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x67', `index_pos`='3' WHERE (`id`='29c3ac30-eb24-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x67', `index_pos`='2' WHERE (`id`='29c1283a-eb24-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x66', `index_pos`='8' WHERE (`id`='29bc14e5-eb24-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`=NULL WHERE (`id`='0d6f2925-e986-4307-a631-c2a4586f54a4');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='2' WHERE (`id`='11533413-bd64-4648-a516-a387ac254dd8');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x66', `index_pos`='2' WHERE (`id`='29ac9384-eb24-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x66', `index_pos`='3' WHERE (`id`='29ae6ac2-eb24-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x66', `index_pos`='4' WHERE (`id`='29b0908b-eb24-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x66', `index_pos`='5' WHERE (`id`='29b3dfc6-eb24-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x66', `index_pos`='6' WHERE (`id`='29b6fd2c-eb24-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x66', `index_pos`='7' WHERE (`id`='29b9a7c4-eb24-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x67', `index_pos`='1' WHERE (`id`='29bea00b-eb24-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='8' WHERE (`id`='364f41ca-cde0-407b-9a58-741b2f0c4fe1');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='5' WHERE (`id`='35194d4a-ca5d-4ae4-837d-78022709ee9a');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='6' WHERE (`id`='63ea7087-dc44-4e08-9847-6da8eb8794f0');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='18' WHERE (`id`='8078afdd-3c62-4910-a305-75c8d573f018');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='7' WHERE (`id`='8b530bc7-a4d0-43d1-a168-33e1d3df4e08');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='8' WHERE (`id`='c902c31c-683d-40ef-8fd5-c4fd7e2bf9d8');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='17' WHERE (`id`='0ac79c83-bb55-4e6b-899b-9c8a39eb1a5a');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='3' WHERE (`id`='251bebfa-7f4d-49a5-95c8-eafad836fc89');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='2' WHERE (`id`='1e87f70d-fe0b-4182-8f85-e16e2dbe17ff');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='4' WHERE (`id`='13d267be-0711-4cc6-b124-19752be56efe');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='1' WHERE (`id`='176359d0-b755-4c4d-84ff-3d338a664f3a');

#冀标
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`='6' WHERE (`id`='09897def-ad7c-4af5-a03b-204f8dadc8d8');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`=NULL WHERE (`id`='ef5607e5-d631-440e-95ab-b143051a2151');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`='1' WHERE (`id`='c2696cd1-42ea-4e92-a03c-107e9af37de5');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`='7' WHERE (`id`='c1e5c33d-7914-4f71-ab9a-8cb4abd5e767');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`='2' WHERE (`id`='7da9accc-06a6-403f-b366-5c30e407a5a3');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`='5' WHERE (`id`='5019a663-00b8-4c3d-92a4-29e326edbb4f');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`='4' WHERE (`id`='268cfea6-964a-4c22-b837-c6bea8ec171a');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`=NULL WHERE (`id`='2350684f-4411-4873-a318-5370e5f87421');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`='3' WHERE (`id`='032bd7c7-ce8c-4cec-8e0e-57fc266200ce');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x65', `index_pos`=NULL WHERE (`id`='88e4a12a-73dd-4dc0-87eb-ea246fe88673');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x65', `index_pos`='17' WHERE (`id`='18acefc0-f0b5-4fb8-b98f-ea321b927c81');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x65', `index_pos`='6' WHERE (`id`='d4b88051-1373-472a-8723-4a72baf84f19');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x65', `index_pos`='5' WHERE (`id`='5a65e7cd-6f3e-4242-9769-ec8abc66c084');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x65', `index_pos`='2' WHERE (`id`='86478e51-3e63-475c-9549-7bbbd6194b30');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x65', `index_pos`='4' WHERE (`id`='93817060-c366-45b3-ac81-ea42d68476d5');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x65', `index_pos`='3' WHERE (`id`='e2d46bf3-3ee6-4ae6-9c42-2286dbe8bbd9');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x65', `index_pos`='1' WHERE (`id`='869c2e4c-a11b-49a4-ab42-b5ac9023790c');

#桂标
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x70', `index_pos`='7' WHERE (`id`='dfe1ba39-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x70', `index_pos`='6' WHERE (`id`='dfdf7bdc-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x70', `index_pos`='5' WHERE (`id`='dfdd4f44-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x70', `index_pos`='4' WHERE (`id`='dfdb1ccf-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`='8' WHERE (`id`='dfba759c-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`='6' WHERE (`id`='dfb82f7e-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x70', `index_pos`='1' WHERE (`id`='dfbcc9b9-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x70', `index_pos`='2' WHERE (`id`='dfbf2cce-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x70', `index_pos`='3' WHERE (`id`='dfc19491-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x66', `index_pos`='2' WHERE (`id`='dfc3cde9-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x66', `index_pos`='3' WHERE (`id`='dfc62714-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x66', `index_pos`='4' WHERE (`id`='dfc84b6a-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x66', `index_pos`='5' WHERE (`id`='dfca80b8-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x66', `index_pos`='6' WHERE (`id`='dfcd5f44-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x66', `index_pos`='7' WHERE (`id`='dfcf8a2e-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x66', `index_pos`='8' WHERE (`id`='dfd1e1eb-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x67', `index_pos`='1' WHERE (`id`='dfd434d9-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x67', `index_pos`='2' WHERE (`id`='dfd69159-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x67', `index_pos`='3' WHERE (`id`='dfd8dca2-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`='3' WHERE (`id`='dfb5e6e8-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x67', `index_pos`=NULL WHERE (`id`='a9b3e943-f491-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`=NULL WHERE (`id`='c5658be8-db6e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`=NULL WHERE (`id`='c567406f-db6e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`='7' WHERE (`id`='dfaa140f-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`='5' WHERE (`id`='dface939-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`='2' WHERE (`id`='dfaf2479-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`='1' WHERE (`id`='dfb14fda-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x64', `index_pos`='4' WHERE (`id`='dfb39261-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x65', `index_pos`='6' WHERE (`id`='dfa7bdc2-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x65', `index_pos`='17' WHERE (`id`='dfa570f7-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x65', `index_pos`='7' WHERE (`id`='dfa30cd1-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x65', `index_pos`='5' WHERE (`id`='dfa0b003-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x65', `index_pos`=NULL WHERE (`id`='2a998787-f492-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x65', `index_pos`='4' WHERE (`id`='df9dfbbd-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x65', `index_pos`='3' WHERE (`id`='df9c348d-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x65', `index_pos`='2' WHERE (`id`='df989193-dad6-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `alarm_pos`='0x65', `index_pos`='1' WHERE (`id`='df96138f-dad6-11e9-9469-000c29920fdc');

#江苏
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x66', `index_pos`='2' WHERE (`id`='1100917d-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='5' WHERE (`id`='4b733abb-e9c9-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='7' WHERE (`id`='4b70aa6f-e9c9-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`=NULL WHERE (`id`='4b6eb753-e9c9-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`=NULL WHERE (`id`='4b6c9f55-e9c9-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='2' WHERE (`id`='4b761dd2-e9c9-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='1' WHERE (`id`='4b79460e-e9c9-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='4' WHERE (`id`='4b7c446e-e9c9-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='3' WHERE (`id`='4b7f1e56-e9c9-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='6' WHERE (`id`='4b81e04a-e9c9-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x67', `index_pos`='3' WHERE (`id`='11189893-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x67', `index_pos`='2' WHERE (`id`='1115d121-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x67', `index_pos`='1' WHERE (`id`='11132a9a-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x66', `index_pos`='8' WHERE (`id`='111070c7-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x66', `index_pos`='7' WHERE (`id`='110dc6aa-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x66', `index_pos`='6' WHERE (`id`='110a7606-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x66', `index_pos`='5' WHERE (`id`='11071780-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x66', `index_pos`='4' WHERE (`id`='11047c44-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x66', `index_pos`='3' WHERE (`id`='1102aafd-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`=NULL, `index_pos`=NULL WHERE (`id`='b8eb1d64-f3d5-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='17' WHERE (`id`='28cd933a-e9ca-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='2' WHERE (`id`='28d58b28-e9ca-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='3' WHERE (`id`='28d342ba-e9ca-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='5' WHERE (`id`='28d157c6-e9ca-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='4' WHERE (`id`='28cf8945-e9ca-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='1' WHERE (`id`='28d7540b-e9ca-11e9-9469-000c29920fdc');

#浙标
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='5' WHERE (`id`='ede74f76-e29e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x66', `index_pos`='3' WHERE (`id`='ee04e1dc-e29e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x66', `index_pos`='2' WHERE (`id`='ee01ce33-e29e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x66', `index_pos`='1' WHERE (`id`='edfec750-e29e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='7' WHERE (`id`='edfb82b9-e29e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='6' WHERE (`id`='edf87919-e29e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='3' WHERE (`id`='edf520c0-e29e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='4' WHERE (`id`='edf25150-e29e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='1' WHERE (`id`='edef3c15-e29e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='2' WHERE (`id`='edeadda2-e29e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`=NULL WHERE (`id`='d4ec9fd4-ec95-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`=NULL WHERE (`id`='d4eec9f6-ec95-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='7' WHERE (`id`='ede43b69-e29e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='6' WHERE (`id`='ede1406a-e29e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='4' WHERE (`id`='edde4f41-e29e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='5' WHERE (`id`='eddb196d-e29e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='3' WHERE (`id`='edd7f9af-e29e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='2' WHERE (`id`='edd56c6f-e29e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='8' WHERE (`id`='edd34049-e29e-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='1' WHERE (`id`='edce93c8-e29e-11e9-9469-000c29920fdc');

#吉标
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='2' WHERE (`id`='61cdc92c-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`=NULL WHERE (`id`='fde30686-ec95-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`=NULL WHERE (`id`='fde0be24-ec95-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`=NULL WHERE (`id`='8c05ba34-ecc4-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x67', `index_pos`='5' WHERE (`id`='61e7296a-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x67', `index_pos`='4' WHERE (`id`='61e45220-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x67', `index_pos`='3' WHERE (`id`='61e1f97f-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x67', `index_pos`='2' WHERE (`id`='61df78eb-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x67', `index_pos`='1' WHERE (`id`='61dd0e97-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='7' WHERE (`id`='61da9366-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='6' WHERE (`id`='61d83bf2-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='3' WHERE (`id`='61d54c9d-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='4' WHERE (`id`='61d2d5df-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='1' WHERE (`id`='61d048fe-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='5' WHERE (`id`='61cb391e-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='19' WHERE (`id`='61c89073-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='18' WHERE (`id`='61c5bf93-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='18' WHERE (`id`='61c34e84-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='17' WHERE (`id`='61c0e206-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='11' WHERE (`id`='61be9178-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='10' WHERE (`id`='61bb8e3f-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='5' WHERE (`id`='61b88073-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='4' WHERE (`id`='61b5902d-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='3' WHERE (`id`='61b319e9-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='2' WHERE (`id`='61b11ebc-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='15' WHERE (`id`='61ae05e9-e2ae-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='1' WHERE (`id`='61af7d1b-e2ae-11e9-9469-000c29920fdc');

#陕标
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='1' WHERE (`id`='84caaf43-e2a4-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`=NULL WHERE (`id`='f053353e-ec96-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`=NULL WHERE (`id`='f051633e-ec96-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x67', `index_pos`='3' WHERE (`id`='84dcac23-e2a4-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x67', `index_pos`='2' WHERE (`id`='84d99ddb-e2a4-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x67', `index_pos`='1' WHERE (`id`='84d73295-e2a4-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='7' WHERE (`id`='84d4b052-e2a4-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='6' WHERE (`id`='84d24db2-e2a4-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='3' WHERE (`id`='84cf84b8-e2a4-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='4' WHERE (`id`='84cd026f-e2a4-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='2' WHERE (`id`='84c8258d-e2a4-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x64', `index_pos`='5' WHERE (`id`='84c57096-e2a4-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='17' WHERE (`id`='84c31381-e2a4-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='6' WHERE (`id`='84c052e7-e2a4-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='4' WHERE (`id`='84bdcad4-e2a4-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='5' WHERE (`id`='84bb7370-e2a4-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='3' WHERE (`id`='84b94402-e2a4-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='2' WHERE (`id`='84b76fa3-e2a4-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0x65', `index_pos`='1' WHERE (`id`='84b59064-e2a4-11e9-9469-000c29920fdc');
update zw_m_risk_event set 808_pos ='17816' where id ='dfb82f7e-dad6-11e9-9469-000c29920fdc';
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `index_pos`, `alarm_pos`, `event_common_field`) VALUES ('2edbee0d-0500-11ea-9469-000c29920fdc', '障碍物', '碰撞危险', '障碍物危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '166407', '16', '50', '4', '障碍物', '3', '7', '0.3', '0.4', '0.5', '30', '50', '70', NULL, NULL, '0x64', 'obstacles');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `index_pos`, `alarm_pos`, `event_common_field`) VALUES ('068539fb-08e8-11ea-9469-000c29920fdc', '盲区监测', '碰撞危险', '盲区监测危险说明', '1', '2019-11-17 11:03:01', NULL, NULL, NULL, '186704', '18', '50', '4', NULL, NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, NULL, '0x67', NULL);
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `index_pos`, `alarm_pos`, `event_common_field`) VALUES ('4389f486-08e7-11ea-9469-000c29920fdc', '盲区监测', '碰撞危险', '盲区监测危险说明', '1', '2019-11-17 11:03:01', NULL, NULL, NULL, '126704', '12', '50', '4', NULL, NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, NULL, '0x67', NULL);
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `index_pos`, `alarm_pos`, `event_common_field`) VALUES ('438bc5c2-08e7-11ea-9469-000c29920fdc', '胎压监测', '碰撞危险', '胎压监测危险说明', '1', '2019-11-17 11:03:01', NULL, NULL, NULL, '126608', '12', '50', '4', NULL, NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, NULL, '0x66', NULL);
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `index_pos`, `alarm_pos`, `event_common_field`) VALUES ('6a574144-08e7-11ea-9469-000c29920fdc', '盲区监测', '碰撞危险', '盲区监测危险说明', '1', '2019-11-17 11:03:01', NULL, NULL, NULL, '146705', '14', '50', '4', NULL, NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, NULL, '0x67', NULL);
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `index_pos`, `alarm_pos`, `event_common_field`) VALUES ('6a58d167-08e7-11ea-9469-000c29920fdc', '胎压监测', '碰撞危险', '胎压监测危险说明', '1', '2019-11-17 11:03:01', NULL, NULL, NULL, '146608', '14', '50', '4', NULL, NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, NULL, '0x66', NULL);
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `index_pos`, `alarm_pos`, `event_common_field`) VALUES ('9021e6f3-08e7-11ea-9469-000c29920fdc', '盲区监测', '碰撞危险', '盲区监测危险说明', '1', '2019-11-17 11:03:01', NULL, NULL, NULL, '156704', '15', '50', '4', NULL, NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, NULL, '0x67', NULL);
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `index_pos`, `alarm_pos`, `event_common_field`) VALUES ('9023e64f-08e7-11ea-9469-000c29920fdc', '胎压监测', '碰撞危险', '胎压监测危险说明', '1', '2019-11-17 11:03:01', NULL, NULL, NULL, '156608', '15', '50', '4', NULL, NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, NULL, '0x66', NULL);
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `index_pos`, `alarm_pos`, `event_common_field`) VALUES ('99aa9adc-08e8-11ea-9469-000c29920fdc', '驾驶员身份识别', '违规异常', '驾驶员身份识别危险说明', '1', '2019-11-17 11:03:01', NULL, NULL, NULL, '166517', '16', '20', '3', NULL, NULL, '12', '0.5', '0.5', '0.5', '30', '50', '70', NULL, NULL, '0x65', NULL);
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `index_pos`, `alarm_pos`, `event_common_field`) VALUES ('a6d3b806-08e8-11ea-9469-000c29920fdc', '驾驶员身份识别', '违规异常', '驾驶员身份识别危险说明', '1', '2019-11-17 11:03:01', NULL, NULL, NULL, '176510', '17', '20', '3', NULL, NULL, '12', '0.5', '0.5', '0.5', '30', '50', '70', NULL, NULL, '0x65', NULL);
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `index_pos`, `alarm_pos`, `event_common_field`) VALUES ('ad6ad416-08e8-11ea-9469-000c29920fdc', '驾驶员身份识别', '违规异常', '驾驶员身份识别危险说明', '1', '2019-11-17 11:03:01', NULL, NULL, NULL, '186515', '18', '20', '3', NULL, NULL, '12', '0.5', '0.5', '0.5', '30', '50', '70', NULL, NULL, '0x65', NULL);
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `index_pos`, `alarm_pos`, `event_common_field`) VALUES ('d015f080-08e7-11ea-9469-000c29920fdc', '盲区监测', '碰撞危险', '盲区监测危险说明', '1', '2019-11-17 11:03:01', NULL, NULL, NULL, '166704', '16', '50', '4', NULL, NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, NULL, '0x66', NULL);
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `index_pos`, `alarm_pos`, `event_common_field`) VALUES ('ebbcfe11-08e7-11ea-9469-000c29920fdc', '盲区监测', '碰撞危险', '盲区监测危险说明', '1', '2019-11-17 11:03:01', NULL, NULL, NULL, '176706', '17', '50', '4', NULL, NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, NULL, '0x67', NULL);
#轨迹回放
delete from zw_c_custom_column where mark ='TRACKPLAY_STOP' and title in('ACC状态','定位方式','卫星颗数');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('dbff9038-09b9-11ea-9469-000c29920fdc', '监控对象', 'monitorName', 'TRACKPLAY_RUN', '0', '1', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('dc013639-09b9-11ea-9469-000c29920fdc', '所属分组', 'assignmentName', 'TRACKPLAY_RUN', '0', '2', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('dc0317bc-09b9-11ea-9469-000c29920fdc', '行驶时长', 'runTime', 'TRACKPLAY_RUN', '0', '3', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('dc0553b5-09b9-11ea-9469-000c29920fdc', '行驶里程', 'runMile', 'TRACKPLAY_RUN', '0', '4', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('dc075bf5-09b9-11ea-9469-000c29920fdc', '用油量', 'useOil', 'TRACKPLAY_RUN', '0', '5', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('dc0a5be0-09b9-11ea-9469-000c29920fdc', '耗油量', 'consumeOil', 'TRACKPLAY_RUN', '1', '6', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('dc0d23bb-09b9-11ea-9469-000c29920fdc', '行驶开始时间', 'runStartTime', 'TRACKPLAY_RUN', '0', '7', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('dc0fc74b-09b9-11ea-9469-000c29920fdc', '行驶开始位置', 'runStartLocation', 'TRACKPLAY_RUN', '0', '8', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('dc128156-09b9-11ea-9469-000c29920fdc', '行驶结束时间', 'runEndTime', 'TRACKPLAY_RUN', '0', '9', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('dc1528a7-09b9-11ea-9469-000c29920fdc', '行驶结束位置', 'runEndLocation', 'TRACKPLAY_RUN', '0', '10', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('dc17d837-09b9-11ea-9469-000c29920fdc', '终端号', 'deviceNumber', 'TRACKPLAY_RUN', '0', '11', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('dc1a8baf-09b9-11ea-9469-000c29920fdc', 'SIM卡号', 'simcardNumber', 'TRACKPLAY_RUN', '0', '12', 'TRACKPLAY', NULL);

INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES (UUID(), '定位状态', 'locationStatus', 'TRACKPLAY_DATA', '0', '15', 'TRACKPLAY', NULL);
UPDATE `zw_c_custom_column` SET  `sort`='16' WHERE (`id`='6676748c-a450-11e9-9469-000c29920fdc');
UPDATE `zw_c_custom_column` SET  `sort`='17' WHERE (`id`='667a6764-a450-11e9-9469-000c29920fdc');
UPDATE `zw_c_custom_column` SET  `sort`='18' WHERE (`id`='667e1c97-a450-11e9-9469-000c29920fdc');


#F3高精度报表菜单
INSERT INTO `zw_c_resource` (	`id`,	`icon_cls`,	`resource_name`,	`type`,	`code`,	`permission`,	`perm_value`,	`description`,	`parent_id`,	`sort_order`,	`editable`,	`enabled`,
	`create_data_time`,	`create_data_username`,	`update_data_time`,	`update_data_username`,	`domain`,	`code_num`,	`flag`)
VALUES	(		'e0d60dd8-fe6e-4da5-a13a-abe414cdd9ae',		'',		'F3高精度报表',		'0',		NULL,		'',		'/v/oilmgt/f3hpr/list',		'',		'48c5b1ee-5f60-5953-cb6d-c5b28ad78a31',		'151',		'1',		'1',		NULL,		NULL,		NULL,		NULL,		NULL,		NULL,		'1'	);

INSERT INTO `zw_c_role_resource` (`id`, `resource_id`, `role_id`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `flag`, `editable`)
VALUES ('b0661265-bbe2-4bde-8df6-6b670b4b5d77', 'e0d60dd8-fe6e-4da5-a13a-abe414cdd9ae', 'cn=ROLE_ADMIN,ou=Groups', '2019-04-29 15:16:56', 'admin', NULL, NULL, '1', '0');

INSERT INTO `zw_c_role_resource` (`id`, `resource_id`, `role_id`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `flag`, `editable`)
VALUES ('615dcd0a-c0cb-47f4-809d-8b168632ec69', 'e0d60dd8-fe6e-4da5-a13a-abe414cdd9ae', 'cn=POWER_USER,ou=Groups', '2019-04-29 15:16:56', 'admin', NULL, NULL, '1', '0');
#风险监管
INSERT INTO `zw_c_resource` (`id`, `icon_cls`, `resource_name`, `type`, `code`, `permission`, `perm_value`, `description`, `parent_id`, `sort_order`, `editable`, `enabled`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `domain`, `code_num`, `flag`) VALUES ('baf66d4e-0a6e-11ea-9469-000c29920fdc', '', '风险监管', '0', NULL, '', '/adas/s/riskManage/intelligence/enterprise/list', '', 'd6770672-8165-11e7-bb31-be2e44b06b34', '6', '1', '1', NULL, NULL, NULL, NULL, NULL, NULL, '1');

INSERT INTO `zw_c_role_resource` (`id`, `resource_id`, `role_id`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `flag`, `editable`) VALUES ('fa01d2a2-0a6e-11ea-9469-000c29920fdc', 'baf66d4e-0a6e-11ea-9469-000c29920fdc', 'cn=ROLE_ADMIN,ou=Groups', '2019-11-19 09:42:23', 'admin', NULL, NULL, '1', '1');

#实时监控定制列
INSERT INTO `zw_c_custom_column`
(`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`)
 VALUES
 ('61b584c7-b713-4fb6-b62a-ab8c482887e5', '时间', 'gpsTime', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '1', 'REALTIME_MONITORING', NULL)
,('36f2de19-747c-4365-8f75-d77b5fab7294', '监控对象', 'monitorName', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '2', 'REALTIME_MONITORING', NULL)
,('9ba1a721-1eac-4e6f-80b3-55bdfb1d13fe', '终端号', 'deviceNumber', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '3', 'REALTIME_MONITORING', NULL)
,('68927ab9-a80f-4853-be9e-86752e4b75bc', 'SIM卡号', 'simcardNumber', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '4', 'REALTIME_MONITORING', NULL)
,('75da0a40-891d-4c2f-a207-90b48cc26b3e', '行驶状态', 'travelState', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '5', 'REALTIME_MONITORING', NULL)
,('2523d3b4-c2d5-4afb-9e53-2f3626bd035d', '行驶速度', 'gpsSpeed', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '6', 'REALTIME_MONITORING', NULL)
,('0156a572-8037-4acd-9646-b9cfc2ccc9a9', '位置', 'formattedAddress', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '7', 'REALTIME_MONITORING', NULL)
,('63332dfa-497d-43d2-a708-18a5fd80d9d9', '所属企业', 'groupName', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '8', 'REALTIME_MONITORING', NULL)
,('45b16899-1eee-4c28-b0bb-4f7bf143fbad', '所属分组', 'assignmentName', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '9', 'REALTIME_MONITORING', NULL)
,('828b2780-e86e-42b7-b7f1-a102f4b85892', '对象类型', 'monitorType', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '10', 'REALTIME_MONITORING', NULL)
,('a6d46230-27eb-4592-aa7e-8b6e8a90d3c3', 'ACC状态', 'acc', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '11', 'REALTIME_MONITORING', NULL)
,('14adac25-238a-49c7-8390-96b5ef3df43c', '当日里程', 'todayMileage', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '12', 'REALTIME_MONITORING', NULL)
,('8c96d422-e724-4194-877c-9e1939c3a31a', '经纬度', 'longitudeAndLatitude', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '13', 'REALTIME_MONITORING', NULL)
,('62a2451d-f18d-4546-af4f-ad1b84e0e712', '总里程', 'allMileage', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '14', 'REALTIME_MONITORING', NULL)
,('6afb4f35-fc90-4787-9ba4-f74f7a28f654', '方向', 'direction', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '15', 'REALTIME_MONITORING', NULL)
,('57e5035e-7a8a-4d7d-a660-a720e2936102', '记录仪速度', 'grapherSpeed', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '16', 'REALTIME_MONITORING', NULL)
,('82ecf648-2901-440d-b53d-58dfcbb6be81', '高程', 'altitude', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '17', 'REALTIME_MONITORING', NULL)
,('52f1e708-f326-45bd-a8af-75e42587d557', '电子运单', 'electronicWaybill', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '18', 'REALTIME_MONITORING', NULL)
,('6a47f647-0e03-4de6-8a34-9ac3b4dce626', '从业人员', 'professionalsName', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '19', 'REALTIME_MONITORING', NULL)
,('acf9d531-f6ff-4523-bd22-b82e099f1c5c', '身份证号', 'idCardNo', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '20', 'REALTIME_MONITORING', NULL)
,('bd7b6ac3-af4a-404d-8eff-315a14c6aa97', '从业资格证号', 'identity', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '21', 'REALTIME_MONITORING', NULL)
,('8366ab7b-db78-4125-89c5-8804754f2470', '发证机构', 'tcb', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '22', 'REALTIME_MONITORING', NULL)
,('4fc4b332-6495-4994-969d-7c0a57be44a4', '运营状态', 'operatingState', 'AlERT_WINDOW_REALTIME_DATA_LIST', '23', '3', 'REALTIME_MONITORING', NULL);

#調整146410
update zw_m_risk_event set risk_type='违规异常',risk_type_num=3 where  id='dfba759c-dad6-11e9-9469-000c29920fdc';

#F3高精度添加
INSERT INTO `zw_m_alarm_type` ( `id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device` ) VALUES ( '507b91c9-b39c-4a29-8d2e-e23b369690d7', '电量报警', NULL, '1', NULL, NULL, NULL, NULL, 'highPrecisionAlarm', NULL, '1', '18811', '0', '1' );

INSERT INTO `zw_m_alarm_type` ( `id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device` ) VALUES ( 'ebf4b8c7-498d-428e-b27d-1b245569b1c9', '急加速报警', NULL, '1', NULL, NULL, NULL, NULL, 'highPrecisionAlarm', NULL, '1', '18711', '0', '1' );

INSERT INTO `zw_m_alarm_type` ( `id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device` ) VALUES ( '246b6938-8f47-4355-a821-a500bf86464c', '急减速报警', NULL, '1', NULL, NULL, NULL, NULL, 'highPrecisionAlarm', NULL, '1', '18712', '0', '1' );

INSERT INTO `zw_m_alarm_type` ( `id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device` ) VALUES ( 'f94a5c41-992f-4ffb-a5a1-92e6b118a868', '急转弯报警', NULL, '1', NULL, NULL, NULL, NULL, 'highPrecisionAlarm', NULL, '1', '18713', '0', '1' );

INSERT INTO `zw_m_alarm_type` ( `id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device` ) VALUES ( 'cb41e78c-ce25-4ad1-9fd3-7a260f209b0a', '异常异动报警', NULL, '1', NULL, NULL, NULL, NULL, 'highPrecisionAlarm', NULL, '1', '18714', '0', '1' );

INSERT INTO `zw_m_alarm_type` ( `id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device` ) VALUES ( '4faad6be-9085-41e3-8431-31874fdfb227', '加速度传感器异常报警', NULL, '1', NULL, NULL, NULL, NULL, 'highPrecisionAlarm', NULL, '1', '18715', '0', '1' );

INSERT INTO `zw_m_alarm_type` ( `id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device` ) VALUES ( '617eca5e-ab18-4b94-8183-59b78406071e', 'ACC接线异常报警', NULL, '1', NULL, NULL, NULL, NULL, 'highPrecisionAlarm', NULL, '1', '18716', '0', '1' );

INSERT INTO `zw_m_alarm_type` ( `id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device` ) VALUES ( 'bb14a4d1-68d6-4ee5-883a-264504c54063', '车辆电池馈电报警', NULL, '1', NULL, NULL, NULL, NULL, 'highPrecisionAlarm', NULL, '1', '18717', '0', '1' );

INSERT INTO `zw_m_alarm_parameter` ( `id`, `param_code`, `alarm_type_id`, `default_value`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `io_monitor_id` ) VALUES ( '60cc2fcf-42b6-45d1-83ab-26ae33b42dbe', 'param1', '507b91c9-b39c-4a29-8d2e-e23b369690d7', '20', '电量报警阈值，单位：%', '1', '2018-03-13 11:20:49', NULL, NULL, NULL, NULL );

INSERT INTO `zw_m_alarm_parameter` ( `id`, `param_code`, `alarm_type_id`, `default_value`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `io_monitor_id` ) VALUES ( 'c6e3e5ee-ce76-40e2-a368-33a5b298c02c', 'param1', 'ebf4b8c7-498d-428e-b27d-1b245569b1c9', '50', '急加速报警阈值，单位：m/s²', '1', '2018-03-13 11:21:49', NULL, NULL, NULL, NULL );

INSERT INTO `zw_m_alarm_parameter` ( `id`, `param_code`, `alarm_type_id`, `default_value`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `io_monitor_id` ) VALUES ( '48c2f1ae-6e85-40b2-a2f9-c50ea9c21b90', 'param1', '246b6938-8f47-4355-a821-a500bf86464c', '50', '急减速报警阈值，单位：m/s²', '1', '2018-03-13 11:22:49', NULL, NULL, NULL, NULL );

INSERT INTO `zw_m_alarm_parameter` ( `id`, `param_code`, `alarm_type_id`, `default_value`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `io_monitor_id` ) VALUES ( 'dbc0fa3a-c0ba-4963-9979-cc6f9d7d6a4f', 'param1', 'f94a5c41-992f-4ffb-a5a1-92e6b118a868', '10', '急转弯报警阈值，单位：1°/s²', '1', '2018-03-13 11:23:49', NULL, NULL, NULL, NULL );

INSERT INTO `zw_m_alarm_parameter` ( `id`, `param_code`, `alarm_type_id`, `default_value`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `io_monitor_id` ) VALUES ( '216c6d35-434b-4bbd-9569-1c2fea152821', 'param1', 'cb41e78c-ce25-4ad1-9fd3-7a260f209b0a', NULL, NULL, '1', '2018-12-27 17:50:45', NULL, NULL, NULL, NULL );

INSERT INTO `zw_m_alarm_parameter` ( `id`, `param_code`, `alarm_type_id`, `default_value`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `io_monitor_id` ) VALUES ( 'c967a336-759b-491c-ab56-8a89b268137a', 'param1', '4faad6be-9085-41e3-8431-31874fdfb227', NULL, NULL, '1', '2018-12-27 17:51:45', NULL, NULL, NULL, NULL );

INSERT INTO `zw_m_alarm_parameter` ( `id`, `param_code`, `alarm_type_id`, `default_value`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `io_monitor_id` ) VALUES ( 'd5eaa895-f20f-470c-aa43-54da9b5fd981', 'param1', '617eca5e-ab18-4b94-8183-59b78406071e', NULL, NULL, '1', '2018-12-27 17:52:45', NULL, NULL, NULL, NULL );

INSERT INTO `zw_m_alarm_parameter` ( `id`, `param_code`, `alarm_type_id`, `default_value`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `io_monitor_id` ) VALUES ( 'cdacf1ac-160e-4248-a6b6-ccc3f0d375f6', 'param1', 'bb14a4d1-68d6-4ee5-883a-264504c54063', NULL, NULL, '1', '2018-12-27 17:53:45', NULL, NULL, NULL, NULL );
#---------协议默认参数---------
#苏标
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('3fb01e10-4910-4e25-9744-093ae1dc1f03', 'default', '0x01', '0x01', '6', '0', NULL, NULL, NULL, NULL, '1', '30', '15', '64', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('30673cf6-67ce-4f20-8d10-48dfd27cc4af', 'default', '0x01', '0x01', '6', '0', NULL, NULL, NULL, NULL, '1', '30', '15', '65', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('4ca36c7e-fd2c-45ae-a447-b073a8649c72', 'default', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL, '15', '66', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('8ed8da98-06b9-4518-bd96-097691b43a12', 'default', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL, '15', '67', NULL, NULL);

INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('0d45241c-654c-43c9-8b34-349b738ff637', 'default', '156409', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', '2', NULL, NULL, NULL, NULL, NULL, '1', '64', '1', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('219a1f50-2bc7-4a38-9a92-2e42ef03f62a', 'default', '156404', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '30', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('49c7f604-8226-4eeb-8857-30878cc6ef0e', 'default', '156407', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '30', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('817b77da-9613-41d9-a582-f4adbc68a62c', 'default', '156401', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '27', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('8531dd34-7502-419c-91c7-50fb0837fb70', 'default', '156403', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '10', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('88da8141-02d6-45cd-ace2-dc6ebdf6e3c4', 'default', '156405', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '60', '50', '5', NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('fb640ef4-5ffe-4101-ab39-9b6a5e9fb748', 'default', '156402', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('2e6b0942-9eeb-4efe-a2d0-65030704b27f', 'default', '156505', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('535109e6-fa4c-4e6f-8120-834a0fab5bb2', 'default', '156513', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('b121d615-8d7e-44d3-8620-b7e6a231d36d', 'default', '156503', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '180', '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('b8b366b8-c13e-4c5b-87a2-ca932338adb5', 'default', '156504', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('bc09317f-719d-4c67-b75a-86f0e061f666', 'default', '156502', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '120', '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('bfda552c-7127-42db-9dac-aed70dae2572', 'default', '156515', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('32851459-5cf1-4dd4-b101-108febb0b739', 'default', '156608', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '66', '1', NULL, NULL, NULL, '-1', '3', '140', '20', '5', '110', '189', '80', '10', '60', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('b0df9cff-908a-4b5d-88a5-41c48c538969', 'default', '156704', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '67', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', '3', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

#桂标
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('7e590e79-f721-4952-8890-c8f762c34028', 'default', '0x01', '0x01', '6', '0', NULL, NULL, NULL, NULL, '1', '30', '14', '64', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('c3bee8bc-951e-4e95-b4d6-71931853a2dc', 'default', '0x01', '0x01', '6', '0', NULL, NULL, NULL, NULL, '1', '30', '14', '65', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('0260e532-ae51-4471-a47a-e933b299ccd4', 'default', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL, '14', '66', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('1b749f22-84ea-4888-8a0f-3bd615ca7553', 'default', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL, '14', '67', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('6d382bcd-c49f-4e91-89cd-47a3bc37306f', 'default', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL, '14', '70', NULL, NULL);

INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('15752d6d-d1a2-4784-b5fb-50e5da87998a', 'default', '146404', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '27', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('1ffbe71f-4357-4c7f-ab3f-b12533fe94bf', 'default', '146407', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '30', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('78e7d26a-1ad0-462c-a266-f6e76cb31488', 'default', '146402', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('b9083534-b6c0-47eb-b5cc-33a0896b62b0', 'default', '146403', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '27', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('d808f284-7741-4ecc-ace0-433afb4192ee', 'default', '146405', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '30', '50', '5', NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('f2120098-0eec-46a7-a729-9bedb2c628fc', 'default', '146401', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '27', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('f83009d5-ea50-4010-a535-3cde684876a8', 'default', '146409', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', '2', NULL, NULL, NULL, NULL, NULL, '1', '64', '1', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('0960d326-192d-4b1f-bd3d-1e95a0df7981', 'default', '146515', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('3d000be6-b586-4fd7-9b07-ab5072791eee', 'default', '146502', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '120', '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('66c5d61b-9b49-4384-ba36-b0e2e342cbfc', 'default', '146513', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('c17a0aa1-e9e2-4c3e-9c5f-138f95474a81', 'default', '146508', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('d46e830c-0a21-40b0-bb0d-df7befc5e3b0', 'default', '146510', NULL, NULL, NULL, NULL, NULL, '0', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('f85d623d-3976-4fef-89a7-9d6850cd6367', 'default', '146503', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '180', '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('23fa2630-b774-42e9-9325-5084dce3f50e', 'default', '146608', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '66', '1', NULL, NULL, NULL, '-1', '3', '140', '20', '5', '110', '189', '80', '10', '60', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('646e02f7-eea3-4fe0-a2f4-93f91b1026ae', 'default', '146705', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '67', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', '3', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('310b8cb0-0674-42b1-83df-92ba5db1797d', 'default', '1464081', '1', '100', '10', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '70', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('371fcf33-1211-4a3e-b42e-48a2eb9bcbd7', 'default', '147003', '1', NULL, '600', '2000', '30', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '70', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('6fb8c87a-f6fb-451d-8e16-8e49c61ad333', 'default', '147004', '1', NULL, '60', '3000', '30', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '70', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('a7f5d4b7-1b1f-4a96-81e4-0d540d88c92a', 'default', '1464082', '1', '100', '10', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '70', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('bf7dfb88-2944-4136-9a00-76530266fbd8', 'default', '147002', '1', NULL, '600', '2000', '30', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '70', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('e281fa64-59f0-4ee3-a7aa-ffa1d8764bc0', 'default', '147001', '1', NULL, '600', '2000', '30', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '70', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('efe4a2ee-6325-410f-8d0d-0cd496e11a50', 'default', '1464083', '1', '100', '10', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '70', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

#浙标
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('add1b246-0826-42eb-bc7f-b1305f82661e', 'default', '0x01', '0x01', '6', '0', NULL, NULL, NULL, NULL, '1', '30', '16', '64', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('2185afde-d078-4b34-bed9-852499e8680b', 'default', '0x01', '0x01', '6', '0', NULL, NULL, NULL, NULL, '1', '15', '16', '65', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('1ea13499-3b0c-47ee-9fb1-9584fe6aded9', 'default', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL, '16', '67', NULL, NULL);

INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('14adb629-063a-4e2d-bda6-d66b97a6c1b8', 'default', '166401', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '27', NULL, '60', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('1b2c3ae3-0181-42df-a5d0-3d6e5f53a98f', 'default', '166405', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '60', '60', '5', NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('27d235af-cd8c-471e-9228-f47e60857e82', 'default', '166404', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '30', NULL, '60', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('2ee5d645-a8ec-4626-ad24-8cb507e8341a', 'default', '166409', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', '2', NULL, NULL, NULL, NULL, NULL, '1', '64', '1', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('383428ab-2af1-4322-ad9b-ba1b19238e34', 'default', '166403', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '10', NULL, '60', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('60e8f93a-2941-4376-ac2e-dd885944ba85', 'default', '166407', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '30', NULL, '60', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('84585d48-727b-442b-a658-9d2807694a24', 'default', '166410', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('9c4bf8ea-e1a2-4049-ae24-e6d1c38046c3', 'default', '166402', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '60', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('182139fc-c367-4520-8d38-39f373c9a273', 'default', '166508', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '60', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('38ba1845-ccc7-4410-8a92-2449a10871a9', 'default', '166515', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5', '3', '2', NULL, NULL, '15', NULL, NULL, NULL, '65', '1', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('6b607b85-0693-4a40-99b1-a8077d6d0171', 'default', '166503', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '180', '60', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('7fcea656-2fae-4d0b-863f-c64e5c1bad5a', 'default', '166502', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '120', '60', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('80e119a2-2fd1-40b2-b9e7-634d87e200a3', 'default', '166504', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '60', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('be9b7993-45eb-41be-823b-4d1875677dce', 'default', '166513', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '60', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('c41e4cf9-5d25-4a5f-ab34-f5f22f0e8d99', 'default', '166517', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('ec6eae3a-b81b-4879-be5e-bb0d21d1d30f', 'default', '166514', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5', '3', '2', NULL, NULL, '15', NULL, NULL, NULL, '65', '1', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '4', '4', '20', '8', '8');
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('faaedc41-18c2-4704-872b-a8314efc25e2', 'default', '166516', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '65', '1', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('ca735868-5653-451f-a460-82972943ea2f', 'default', '166704', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '67', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', '3', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

#吉标
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('df857a40-c115-4c8b-8f13-493b32a875ca', 'default', '0x01', '0x01', '6', '0', NULL, NULL, NULL, NULL, '1', '30', '17', '64', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('e7367381-0936-4755-aced-3f663a8a27d6', 'default', '0x01', '0x01', '6', '0', NULL, NULL, NULL, NULL, '1', '30', '17', '65', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('f3954e32-01d6-40e5-aa82-1fdc78687b57', 'default', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL, '17', '67', NULL, NULL);

INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('5047103e-ea44-4ff3-9b84-894cfe8eedc4', 'default', '176402', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', '0', '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('68db3364-a4d7-4c91-8dcf-a30b99b5a8a9', 'default', '176401', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '27', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', '0', '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('7a6bbb75-3628-470a-8358-71bd9d7b571e', 'default', '176403', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '10', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', '0', '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('9dbe9ed8-2fdb-4896-9dc4-eab5944efe66', 'default', '176410', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('b4ac7a82-0d54-49fe-9b4a-3c3a936e47c4', 'default', '176405', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '60', '50', '5', NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', '0', '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('b95d5bf3-a0cb-4e90-8c25-43cbf69509b7', 'default', '176404', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '30', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', '0', '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('de9789a0-fc95-4507-aa2b-c46f88107417', 'default', '176407', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '30', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', '0', '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('f987ac66-d22e-43f8-8dd6-038fa883c84b', 'default', '176409', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', '2', NULL, NULL, NULL, NULL, NULL, '1', '64', '1', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('0dde5430-bf2a-48b2-a244-8fccd8bbb04e', 'default', '176509', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '65', '1', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('27d221b2-2a07-4184-b0b5-1c2baee6d217', 'default', '176504', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', '0', '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('27f15c28-a171-4dc4-aeea-bfa6c9e38372', 'default', '176510', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('37db2e2a-6674-46c6-9634-713119740a21', 'default', '176508', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '65', '1', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('7d96ef09-aa9c-46b8-b3d0-0851a9ea04a5', 'default', '176502', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '120', '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', '0', '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('c38967a6-8770-4f93-9dd4-40cd3540bc1f', 'default', '176513', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', '0', '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('e07fca89-f9b1-4e49-97e5-476eb8b45e6c', 'default', '176505', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', '0', '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('f399ded7-8b26-4397-89c5-8521ae34e695', 'default', '176517', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', '0', '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('fb4d7d94-e2b3-4a8e-8cec-8d296afd331c', 'default', '176503', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '180', '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', '0', '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('fc70cc0d-2130-4fb1-8d0a-fe26d98b1d90', 'default', '176506', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', '0', '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('17b16e4a-362c-4e2e-8b6f-db5ab89f9d47', 'default', '176706', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '67', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', '3', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

#陕标
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('db1394e8-3fd8-4035-aec8-2d23af8efccd', 'default', '0x01', '0x01', '6', '0', NULL, NULL, NULL, NULL, '1', '30', '18', '64', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('bea1e3f7-a4fb-4abc-983f-887fc94761a0', 'default', '0x01', '0x01', '6', '0', NULL, NULL, NULL, NULL, '1', '30', '18', '65', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('594fe3fa-5b87-4f01-b2c4-c114ead4e536', 'default', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL, '18', '67', NULL, NULL);

INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('000c7df6-10a5-4b3a-9230-1fe6ce291ce9', 'default', '186404', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '30', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('2d03d2ca-8e47-4eb1-ac51-97bd09714029', 'default', '186407', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '30', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('6a81914f-1460-4d23-a9b6-9c2c2f35c742', 'default', '186405', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '60', '50', '5', NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('9ef323d3-eb0e-469b-b9d1-248f8f8ac77e', 'default', '186401', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '27', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('af25e6ee-d1fb-409e-b2e1-d2752623978b', 'default', '186409', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', '2', NULL, NULL, NULL, NULL, NULL, '1', '64', '1', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('c1050374-46e8-41cd-a427-7ae19d66db80', 'default', '186402', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('d574186c-b2ef-4987-b0d8-3f14fe93db02', 'default', '186403', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '10', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('0f530464-5be7-4ab0-b9d8-dbae0ce2ed90', 'default', '186515', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('38ea11c3-9f3e-4797-a153-ebdae54a36f6', 'default', '186504', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('6da86716-4b67-4f52-a8fa-e07c08494618', 'default', '186508', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('82b7e8c0-e160-4b78-b346-ecc4a8999e4e', 'default', '186502', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '120', '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('9326fb2c-9b77-48fe-b0be-031dd9f93916', 'default', '186513', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('d15bade0-5e33-4efc-9143-27a45b68f05f', 'default', '186503', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '180', '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('48aa9f3d-b88b-44b5-9781-12d57a778a07', 'default', '186704', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '67', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', '3', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#轨迹回放
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES
  (UUID(), '轨迹线粗', 'lineSize', 'TRACKPLAY_SPEED', '0', '3', 'TRACKPLAY', '6');

#川标
delete from zw_m_adas_common_param_setting where vehicle_id ='default' and protocol_type =12;
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('f81374fc-385b-4dce-a3ce-e10d69a8b312', 'default', '0x01', '0x01', '6', '0', NULL, NULL, NULL, NULL, '1', '30', '12', '64', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('199275e6-4527-47f7-9e59-f84bd49af6f9', 'default', '0x01', '0x01', '6', '0', NULL, NULL, NULL, NULL, '1', '30', '12', '65', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('150dba4a-f027-46a5-a046-bd7c6dd8e6b7', 'default', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL, '12', '66', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('ff89cbbe-a923-4122-9c62-4760c3246fab', 'default', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL, '12', '67', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('3be592c6-91ca-419f-99a9-6e01d34a5eb9', 'default', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL, '12', '70', NULL, NULL);
delete from zw_m_adas_alarm_param_setting where vehicle_id ='default' and risk_function_id like "12%";
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('11e6fd4b-7250-4281-81bc-040c1bed1886', 'default', '126402', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('17ca3d0c-14c7-40c6-99b0-14a09d54e29d', 'default', '126403', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '27', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('31bd8bea-db19-4367-9081-73e714306dc4', 'default', '126405', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '30', '50', '5', NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('a1f6eabe-6256-4eef-8c60-e65654574c93', 'default', '126404', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '27', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('a5fd4473-5a99-4e24-bb8a-3ed3d066a345', 'default', '126401', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '27', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('a926b677-c889-47b1-aa5e-9f0b3f83a1e1', 'default', '126409', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('f92988a4-4124-46c5-a96c-99cb7f4a8dfc', 'default', '126407', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '27', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('1a251efa-0ebe-48fc-afea-cee8b94e0ea9', 'default', '126515', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('1ed68f0c-d833-4ee9-b25b-ea6db6a332da', 'default', '126513', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('33914a21-8b5b-4342-8e0a-a9d43be0321f', 'default', '126503', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '180', '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('49f516bb-a304-442b-8e2c-83507376c37a', 'default', '126502', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '120', '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('6fbf5f6a-c00f-4e10-91e5-9b7c9d8a3a50', 'default', '126510', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('d9bb8bc4-2ec6-4165-a77d-b0d7b0e0daac', 'default', '126508', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('ddbc41a5-c972-4d96-a195-ec3af483fcd2', 'default', '126608', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '66', '1', NULL, NULL, NULL, '-1', '3', '140', '20', '5', '110', '189', '80', '10', '60', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('4d7ec90e-f1fa-4109-9599-4370c79060f7', 'default', '126704', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '67', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', '3', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('2be96fd4-d82e-4e5d-bf67-217074cb77bf', 'default', '127002', '1', NULL, '10', '2000', '30', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '70', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('2e010a21-b6ac-44b7-81c7-9ff48e1003c3', 'default', '1264082', '1', '100', '10', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '70', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('3622dc2f-8d0f-4ea9-b49b-0ce5a413e110', 'default', '1264083', '1', '100', '10', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '70', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('597f25c4-27c0-4fc2-849b-c6cc3da64fc2', 'default', '127004', '1', NULL, '10', '2000', '30', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '70', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('6ee634b5-332d-45ee-9c3f-9903d504fd8b', 'default', '1264081', '1', '100', '10', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '70', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('8a0a7a52-bece-4a94-84f1-e18b507d1e8e', 'default', '127003', '1', NULL, '10', '2000', '30', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '70', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('962cc725-e7f1-4ab4-9a90-f6120b9378f6', 'default', '127001', '1', NULL, '10', '2000', '30', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '70', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#更改中位标准的alarm_pos
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE2' WHERE (`id`='15354cd2-64cb-4194-ac5b-932e5180fa70');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE2' WHERE (`id`='28103b10-5c7a-44ba-949e-2202e351c936');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE2' WHERE (`id`='f56c9916-e056-5c74-b75c-c6e2e44b06b34');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE2' WHERE (`id`='62e9c74a-a013-4253-beac-d15f081961d2');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE2' WHERE (`id`='99e6c60e-d070-4685-817e-5b08b462c2e5');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE2' WHERE (`id`='e939e7a4-b160-4ca9-9a5a-52284814a8e1');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE2' WHERE (`id`='e46db246-5a84-4031-9c98-2b9fdaa77687');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE2' WHERE (`id`='e2674b7f-4752-4087-b99e-429ec118dc5d');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE2' WHERE (`id`='c6c9a916-bb31-8168-b75c-c6sd41f4b34');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE1' WHERE (`id`='c1165401-2213-49f1-89a2-c76b2492c6a7');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE1' WHERE (`id`='f74dd84a-e056-4c95-b75c-c63adca33561');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE1' WHERE (`id`='f61868c6-51b2-492e-a3ed-7cd62bcdd70d');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE1' WHERE (`id`='e316c1df-72dd-4142-8b8d-bb187dbcd2ad');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE1' WHERE (`id`='de4c8ad4-ca37-4b48-93d0-a7b9198dd491');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE1' WHERE (`id`='c4b76245-ad82-4c9b-b280-62fd3f67113f');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE1' WHERE (`id`='04a349f3-6d43-456e-8929-e06a03ba09d8');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE1' WHERE (`id`='ac1ac405-e839-47ed-9ae7-44ce10d90e87');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE1' WHERE (`id`='a30465b2-761a-4cfa-99f1-d61521e18e11');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE1' WHERE (`id`='48dcc69e-3dab-4d5b-ba76-0cd6a27f5ab6');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE1' WHERE (`id`='1a8ee493-f7a5-4fb6-8337-f8adc16b02da');
UPDATE `zw_m_risk_event` SET  `alarm_pos`='0xE1' WHERE (`id`='10743826-e144-4079-981f-e20ca23c735a');
#更新实时监控气泡
INSERT INTO `zw_c_custom_column`
(`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`)
 VALUES
('cdf20dea-163b-11ea-8d71-362b9e155667', '报警类型', 'alarmType', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '15', 'REALTIME_MONITORING', NULL)
,('cdf21204-163b-11ea-8d71-362b9e155667', '路网限速', 'roadLimitSpeed', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '19', 'REALTIME_MONITORING', NULL)
,('cdf21376-163b-11ea-8d71-362b9e155667', '道路类型', 'roadType', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '20', 'REALTIME_MONITORING', NULL)
,('cdf214b6-163b-11ea-8d71-362b9e155667', '油路状态', 'oilStatus', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '27', 'REALTIME_MONITORING', NULL)
,('cdf215ec-163b-11ea-8d71-362b9e155667', '电路状态', 'circuitStatus', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '28', 'REALTIME_MONITORING', NULL)
,('cdf21722-163b-11ea-8d71-362b9e155667', '车门状态', 'carDoorStatus', 'AlERT_WINDOW_REALTIME_DATA_LIST', '0', '29', 'REALTIME_MONITORING', NULL);

UPDATE zw_c_custom_column set sort=16 where id='6afb4f35-fc90-4787-9ba4-f74f7a28f654' and title='方向';
UPDATE zw_c_custom_column set sort=17 where id='57e5035e-7a8a-4d7d-a660-a720e2936102' and title='记录仪速度';
UPDATE zw_c_custom_column set sort=18 where id='82ecf648-2901-440d-b53d-58dfcbb6be81' and title='高程';
UPDATE zw_c_custom_column set sort=21 where id='52f1e708-f326-45bd-a8af-75e42587d557' and title='电子运单';
UPDATE zw_c_custom_column set sort=22 where id='6a47f647-0e03-4de6-8a34-9ac3b4dce626' and title='从业人员';
UPDATE zw_c_custom_column set sort=23 where id='acf9d531-f6ff-4523-bd22-b82e099f1c5c' and title='身份证号';
UPDATE zw_c_custom_column set sort=24 where id='bd7b6ac3-af4a-404d-8eff-315a14c6aa97' and title='从业资格证号';
UPDATE zw_c_custom_column set sort=25 where id='8366ab7b-db78-4125-89c5-8804754f2470' and title='发证机构';
UPDATE zw_c_custom_column set sort=26,status=0 where id='4fc4b332-6495-4994-969d-7c0a57be44a4' and title='运营状态';
UPDATE zw_m_alarm_type SET name='异常移动报警' WHERE id ='cb41e78c-ce25-4ad1-9fd3-7a260f209b0a';
UPDATE `zw_c_custom_column` SET `sort` = 14 WHERE `id` = '49a19924-0527-11ea-b517-00163e2cf72b';
UPDATE `zw_c_custom_column` SET `sort` = 18 WHERE `id` = '49fa98ab-0527-11ea-b517-00163e2cf72b';
UPDATE `zw_c_custom_column` SET `sort` = 22 WHERE `id` = '5792e236-a454-11e9-9469-000c29920fdc';
UPDATE `zw_c_custom_column` SET `sort` = 26 WHERE `id` = '5796e9b5-a454-11e9-9469-000c29920fdc';
UPDATE `zw_c_custom_column` SET `sort` = 30 WHERE `id` = '579c4b76-a454-11e9-9469-000c29920fdc';
UPDATE `zw_c_custom_column` SET `sort` = 34 WHERE `id` = '57a04110-a454-11e9-9469-000c29920fdc';
ALTER TABLE zw_m_fence_type ADD COLUMN `group_id` varchar(60) DEFAULT NULL COMMENT '组织ID';
#app版本修改
update zw_app_config set version  = 20103;
UPDATE zw_app_config set update_message = '1、查找监控对象增加最近搜索功能；
2、综合统计选择对象增加按对象名称和分组名称搜索功能；
3、证件录入功能优化新增从业人员上传身份证逻辑；
4、新增消息中心和到期提醒功能；
5、新增视频回放功能，音视频监控同步调整为实时视频；
6、实时地图对象移动统一算法优化；
7、解决了若干遗留Bug。';

use clbs;
INSERT INTO `zw_c_resource` (`id`, `icon_cls`, `resource_name`, `type`, `code`, `permission`, `perm_value`, `description`, `parent_id`, `sort_order`, `editable`, `enabled`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `domain`, `code_num`, `flag`) VALUES ('dd1f57c2-1f14-11ea-be83-000c29920fdc', NULL, '两客一危监控', '0', NULL, 'realtimeMonitor', '/lkyw/v/monitoring/list', NULL, '84113afa-df07-4247-8666-f164a7acbefa', '500', '1', '1', NULL, NULL, NULL, NULL, NULL, '90132', '1');
INSERT INTO `zw_c_role_resource` (`id`, `resource_id`, `role_id`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `flag`, `editable`) VALUES ('e98ff099-1f14-11ea-be83-000c29920fdc', 'dd1f57c2-1f14-11ea-be83-000c29920fdc', 'cn=ROLE_ADMIN,ou=Groups', '2019-11-13 09:42:23', 'admin', NULL, NULL, '1', '1');
#多窗口、视频轮播、持续超速菜单
UPDATE `zw_c_resource` SET `id`='ae18a4e9-df5b-11e9-a9a6-000c294a3301', `icon_cls`=NULL, `resource_name`='多窗口跟踪', `type`='0', `code`='', `permission`='realtimeMonitor', `perm_value`='/v/multiWindowmonitoring/list', `description`=NULL, `parent_id`='84113afa-df07-4247-8666-f164a7acbefa', `sort_order`='503', `editable`='1', `enabled`='1', `create_data_time`=NULL, `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `domain`=NULL, `code_num`='500003', `flag`='1' WHERE (`id`='ae18a4e9-df5b-11e9-a9a6-000c294a3301');
INSERT INTO `zw_c_resource` (`id`, `icon_cls`, `resource_name`, `type`, `code`, `permission`, `perm_value`, `description`, `parent_id`, `sort_order`, `editable`, `enabled`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `domain`, `code_num`, `flag`) VALUES ('73957721-fb09-4df1-b15a-6d1e372a74aa', NULL, '视频轮播', '0', NULL, 'realtimeMonitor', '/lkyw/videoCarousel/list', NULL, '84113afa-df07-4247-8666-f164a7acbefa', '502', '1', '1', NULL, NULL, NULL, NULL, NULL, '500002', '1');
INSERT INTO `zw_c_role_resource` (`id`, `resource_id`, `role_id`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `flag`, `editable`) VALUES ('e98ff099-1f14-11ea-be83-000c29920123', 'dfd958b6-3fa2-410e-a5c4-3a665a0a21e2', 'cn=ROLE_ADMIN,ou=Groups', '2019-11-13 09:42:23', 'admin', NULL, NULL, '1', '1');
INSERT INTO `zw_c_role_resource` (`id`, `resource_id`, `role_id`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `flag`, `editable`) VALUES ('e98ff099-1f14-11ea-be83-000c29920321', '73957721-fb09-4df1-b15a-6d1e372a74aa', 'cn=ROLE_ADMIN,ou=Groups', '2019-11-13 09:42:23', 'admin', NULL, NULL, '1', '1');


#定制列
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('0a218af9-f97e-4a5b-a63f-5eb585c1dc40', '限速值', 'driverSpeedLimit', 'TGAC_REALTIME_MONITORING_LIST', '1', '45', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b8221-25f0-11ea-bfbf-000c294a3301', '传感器轮胎气压(bar)', 'tyreInfos', 'TGAC_REALTIME_MONITORING_LIST', '1', '44', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b819e-25f0-11ea-bfbf-000c294a3301', '传感器IO状态', 'sensorIOStatus', 'TGAC_REALTIME_MONITORING_LIST', '1', '43', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b811a-25f0-11ea-bfbf-000c294a3301', '终端IO状态', 'terminalIOStatus', 'TGAC_REALTIME_MONITORING_LIST', '1', '42', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b8098-25f0-11ea-bfbf-000c294a3301', '传感器工时状态', 'workHourSensor', 'TGAC_REALTIME_MONITORING_LIST', '1', '41', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b8013-25f0-11ea-bfbf-000c294a3301', '传感器载荷重量(kg)', 'loadInfos', 'TGAC_REALTIME_MONITORING_LIST', '1', '40', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b549e-25f0-11ea-bfbf-000c294a3301', '传感器总里程(km)', 'sensorTotalMileage', 'TGAC_REALTIME_MONITORING_LIST', '1', '39', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b7f8e-25f0-11ea-bfbf-000c294a3301', '传感器当日里程(km)', 'sensorDayMileage', 'TGAC_REALTIME_MONITORING_LIST', '1', '38', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b7f06-25f0-11ea-bfbf-000c294a3301', '传感器正反转状态', 'positiveNegative', 'TGAC_REALTIME_MONITORING_LIST', '1', '37', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b7e84-25f0-11ea-bfbf-000c294a3301', '传感器湿度(%)', 'temphumiditySensor', 'TGAC_REALTIME_MONITORING_LIST', '1', '36', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b7dfb-25f0-11ea-bfbf-000c294a3301', '传感器温度(℃)', 'temperatureSensor', 'TGAC_REALTIME_MONITORING_LIST', '1', '35', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b7c50-25f0-11ea-bfbf-000c294a3301', '传感器当日油耗(L)', 'dayOilWear', 'TGAC_REALTIME_MONITORING_LIST', '1', '34', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b7d6b-25f0-11ea-bfbf-000c294a3301', '电量电压', 'elecData', 'TGAC_REALTIME_MONITORING_LIST', '1', '33', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b7bc9-25f0-11ea-bfbf-000c294a3301', '传感器液体量(L)', 'oilMass', 'TGAC_REALTIME_MONITORING_LIST', '1', '32', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b7cde-25f0-11ea-bfbf-000c294a3301', '传感器总油耗(L)', 'oilExpend', 'TGAC_REALTIME_MONITORING_LIST', '1', '31', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b6f40-25f0-11ea-bfbf-000c294a3301', '位置', 'positionDescription', 'TGAC_REALTIME_MONITORING_LIST', '0', '30', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b84c8-25f0-11ea-bfbf-000c294a3301', '纬度', 'latitude', 'TGAC_REALTIME_MONITORING_LIST', '0', '29', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b8897-25f0-11ea-bfbf-000c294a3301', '车门状态', 'carDoorStatus', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '29', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b7683-25f0-11ea-bfbf-000c294a3301', '经度', 'longitude', 'TGAC_REALTIME_MONITORING_LIST', '0', '28', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b880f-25f0-11ea-bfbf-000c294a3301', '电路状态', 'circuitStatus', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '28', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b6ebe-25f0-11ea-bfbf-000c294a3301', '记录仪速度', 'grapherSpeed', 'TGAC_REALTIME_MONITORING_LIST', '1', '27', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b8782-25f0-11ea-bfbf-000c294a3301', '油路状态', 'oilStatus', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '27', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b5257-25f0-11ea-bfbf-000c294a3301', '运营状态', 'operatingState', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '26', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b7a1c-25f0-11ea-bfbf-000c294a3301', '道路类型', 'roadType', 'TGAC_REALTIME_MONITORING_LIST', '0', '26', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b782b-25f0-11ea-bfbf-000c294a3301', '发证机构', 'tcb', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '25', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b83b4-25f0-11ea-bfbf-000c294a3301', '路网限速', 'roadLimitSpeed', 'TGAC_REALTIME_MONITORING_LIST', '0', '25', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b6e3b-25f0-11ea-bfbf-000c294a3301', '高程', 'altitude', 'TGAC_REALTIME_MONITORING_LIST', '0', '24', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b8440-25f0-11ea-bfbf-000c294a3301', '从业资格证号', 'identity', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '24', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b6da9-25f0-11ea-bfbf-000c294a3301', 'CAN油量(L)', 'gpsOil', 'TGAC_REALTIME_MONITORING_LIST', '1', '23', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b832c-25f0-11ea-bfbf-000c294a3301', '身份证号', 'idCardNo', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '23', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b6d21-25f0-11ea-bfbf-000c294a3301', '终端总里程(km)', 'terminalTotalMileage', 'TGAC_REALTIME_MONITORING_LIST', '0', '22', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b7449-25f0-11ea-bfbf-000c294a3301', '从业人员', 'professionalsName', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '22', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b5384-25f0-11ea-bfbf-000c294a3301', '电子运单', 'electronicWaybill', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '21', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b6c8e-25f0-11ea-bfbf-000c294a3301', '终端当日里程(km)', 'terminalDayMileage', 'TGAC_REALTIME_MONITORING_LIST', '0', '21', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b4f91-25f0-11ea-bfbf-000c294a3301', '卫星颗数', 'satellitesNumber', 'TGAC_REALTIME_MONITORING_LIST', '0', '20', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b86fc-25f0-11ea-bfbf-000c294a3301', '道路类型', 'roadType', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '20', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b6baf-25f0-11ea-bfbf-000c294a3301', '定位方式', 'locationType', 'TGAC_REALTIME_MONITORING_LIST', '0', '19', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b8671-25f0-11ea-bfbf-000c294a3301', '路网限速', 'roadLimitSpeed', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '19', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b498b-25f0-11ea-bfbf-000c294a3301', '报警位置 ', 'alarmPosition', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '18', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b5d96-25f0-11ea-bfbf-000c294a3301', '信号强度', 'signalStrength', 'TGAC_REALTIME_MONITORING_LIST', '0', '18', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b7799-25f0-11ea-bfbf-000c294a3301', '高程', 'altitude', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '18', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b5024-25f0-11ea-bfbf-000c294a3301', '纬度', 'latitude', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '17', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b540f-25f0-11ea-bfbf-000c294a3301', '记录仪速度', 'grapherSpeed', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '17', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b716e-25f0-11ea-bfbf-000c294a3301', '电池电压', 'batteryVoltage', 'TGAC_REALTIME_MONITORING_LIST', '1', '17', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b5d0d-25f0-11ea-bfbf-000c294a3301', '方向', 'direction', 'TGAC_REALTIME_MONITORING_LIST', '0', '16', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b74d9-25f0-11ea-bfbf-000c294a3301', '方向', 'direction', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '16', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b75f4-25f0-11ea-bfbf-000c294a3301', '经度', 'longtitude', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '16', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b5c8a-25f0-11ea-bfbf-000c294a3301', '速度', 'gpsSpeed', 'TGAC_REALTIME_MONITORING_LIST', '0', '15', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b7ab0-25f0-11ea-bfbf-000c294a3301', '道路类型', 'roadType', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '15', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b85e6-25f0-11ea-bfbf-000c294a3301', '报警类型', 'alarmType', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '15', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b5c03-25f0-11ea-bfbf-000c294a3301', '信号状态', 'signalState', 'TGAC_REALTIME_MONITORING_LIST', '0', '14', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b720c-25f0-11ea-bfbf-000c294a3301', '总里程', 'allMileage', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '14', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b7329-25f0-11ea-bfbf-000c294a3301', '路网限速', 'roadLimitSpeed', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '14', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b4904-25f0-11ea-bfbf-000c294a3301', '围栏名称 ', 'defenceName', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '13', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b5b7d-25f0-11ea-bfbf-000c294a3301', '对象状态', 'objectState', 'TGAC_REALTIME_MONITORING_LIST', '0', '13', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b7971-25f0-11ea-bfbf-000c294a3301', '经纬度', 'longitudeAndLatitude', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '13', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b1644-25f0-11ea-bfbf-000c294a3301', '当日里程', 'todayMileage', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '12', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b487d-25f0-11ea-bfbf-000c294a3301', '围栏类型 ', 'defenceType', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '12', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b5af3-25f0-11ea-bfbf-000c294a3301', 'ACC', 'acc', 'TGAC_REALTIME_MONITORING_LIST', '0', '12', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b47fa-25f0-11ea-bfbf-000c294a3301', '驾驶员', 'professionalsName', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '11', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b4f0c-25f0-11ea-bfbf-000c294a3301', '报警结束时间 ', 'warningEndTime', 'TGAC_REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '11', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b5a6d-25f0-11ea-bfbf-000c294a3301', '从业人员', 'professionalsName', 'TGAC_REALTIME_MONITORING_LIST', '0', '11', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b82a2-25f0-11ea-bfbf-000c294a3301', 'ACC状态', 'acc', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '11', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b4e84-25f0-11ea-bfbf-000c294a3301', '驾驶证号 ', 'drivingLicenseNo', 'TGAC_REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '10', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b52f1-25f0-11ea-bfbf-000c294a3301', '驾驶证号 ', 'drivingLicenseNo', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '10', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b59e0-25f0-11ea-bfbf-000c294a3301', 'SIM卡号', 'simcardNumber', 'TGAC_REALTIME_MONITORING_LIST', '0', '10', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b7710-25f0-11ea-bfbf-000c294a3301', '对象类型', 'monitorType', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '10', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b4dff-25f0-11ea-bfbf-000c294a3301', '驾驶员 ', 'driverName', 'TGAC_REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '9', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b5144-25f0-11ea-bfbf-000c294a3301', '所属分组', 'assignmentName', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '9', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b5959-25f0-11ea-bfbf-000c294a3301', '终端号', 'deviceNumber', 'TGAC_REALTIME_MONITORING_LIST', '0', '9', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b476f-25f0-11ea-bfbf-000c294a3301', '报警类型 ', 'alarmType', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '8', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b4cdd-25f0-11ea-bfbf-000c294a3301', '视频/图片 ', 'picVideo', 'TGAC_REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '8', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b58be-25f0-11ea-bfbf-000c294a3301', '标识颜色', 'plateColorName', 'TGAC_REALTIME_MONITORING_LIST', '0', '8', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b729a-25f0-11ea-bfbf-000c294a3301', '所属企业', 'groupName', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '8', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b1368-25f0-11ea-bfbf-000c294a3301', '位置', 'formattedAddress', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '7', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b46e2-25f0-11ea-bfbf-000c294a3301', '标识颜色 ', 'plateColorName', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '7', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b4c50-25f0-11ea-bfbf-000c294a3301', '开始报警时间 ', 'warningTime', 'TGAC_REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '7', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b57f8-25f0-11ea-bfbf-000c294a3301', '对象类型', 'vehicleType', 'TGAC_REALTIME_MONITORING_LIST', '0', '7', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b342c-25f0-11ea-bfbf-000c294a3301', '行驶速度', 'gpsSpeed', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '6', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b4647-25f0-11ea-bfbf-000c294a3301', '对象类型', 'vehicleType', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '6', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b4bc4-25f0-11ea-bfbf-000c294a3301', '报警位置 ', 'address', 'TGAC_REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '6', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b5775-25f0-11ea-bfbf-000c294a3301', '所属企业', 'groupName', 'TGAC_REALTIME_MONITORING_LIST', '0', '6', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b45b2-25f0-11ea-bfbf-000c294a3301', '所属分组 ', 'assignmentName', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '5', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b4d64-25f0-11ea-bfbf-000c294a3301', '速度', 'speed', 'TGAC_REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '5', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b56e6-25f0-11ea-bfbf-000c294a3301', '所属分组', 'assignmentName', 'TGAC_REALTIME_MONITORING_LIST', '0', '5', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b7564-25f0-11ea-bfbf-000c294a3301', '行驶状态', 'travelState', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '5', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b4520-25f0-11ea-bfbf-000c294a3301', '处理状态 ', 'handleStatus', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '4', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b4b35-25f0-11ea-bfbf-000c294a3301', '报警等级 ', 'riskLevel', 'TGAC_REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '4', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b5656-25f0-11ea-bfbf-000c294a3301', '服务器时间', 'uploadTime', 'TGAC_REALTIME_MONITORING_LIST', '0', '4', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b73b4-25f0-11ea-bfbf-000c294a3301', 'SIM卡号', 'simcardNumber', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '4', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b4aa1-25f0-11ea-bfbf-000c294a3301', '报警类型 ', 'riskType', 'TGAC_REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '3', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b55c7-25f0-11ea-bfbf-000c294a3301', '定位时间', 'gpsTime', 'TGAC_REALTIME_MONITORING_LIST', '0', '3', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b7b41-25f0-11ea-bfbf-000c294a3301', '终端号', 'deviceNumber', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '3', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b891d-25f0-11ea-bfbf-000c294a3301', '报警结束时间', 'alarmEndTime', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '3', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b4487-25f0-11ea-bfbf-000c294a3301', '报警开始时间', 'alarmTime', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '2', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b4a12-25f0-11ea-bfbf-000c294a3301', '监控对象 ', 'brand', 'TGAC_REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '2', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b50b5-25f0-11ea-bfbf-000c294a3301', '监控对象', 'monitorName', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '2', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b5530-25f0-11ea-bfbf-000c294a3301', '监控对象', 'monitorName', 'TGAC_REALTIME_MONITORING_LIST', '0', '2', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b43b9-25f0-11ea-bfbf-000c294a3301', '监控对象 ', 'monitorName', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '1', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b6fbf-25f0-11ea-bfbf-000c294a3301', '时间', 'gpsTime', 'TGAC_AlERT_WINDOW_REALTIME_DATA_LIST', '0', '1', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b8551-25f0-11ea-bfbf-000c294a3301', '操作 ', 'ope', 'TGAC_REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '1', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b97cb-25f0-11ea-bfbf-000c294a3301', '报警开始速度', 'speed', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '1', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('313b9892-25f0-11ea-bfbf-000c294a3301', '行车记录仪速度', 'recorderSpeed', 'TGAC_REALTIME_MONITORING_ALARM_LIST', '0', '1', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
#快速帅选列
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('e47b4702-4b4e-49cd-9895-428dc572e826', '全部车辆', 'onlineVehicle', 'TGAC_RAPID_SCREENING', '0', '1', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('34d62a35-06c6-4507-958c-a8dcc6265cc4', '808报警', '808Alarm', 'TGAC_RAPID_SCREENING', '0', '2', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('875523f2-e8a8-40d5-8754-52143eb2cd38', '主动安全', 'activitySecurity', 'TGAC_RAPID_SCREENING', '0', '3', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('ba027d7d-d05a-4d66-84f9-52e5885324d5', '接打手持电话', 'phone', 'TGAC_RAPID_SCREENING', '0', '4', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('a615245b-b4f9-41c3-a0d6-146fa39ab27c', '抽烟', 'smoke', 'TGAC_RAPID_SCREENING', '0', '5', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('cf0fedd8-261e-42c8-bba6-a4cc7ba49649', '疑似疲劳', 'fatigueDriving', 'TGAC_RAPID_SCREENING', '0', '6', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('eb08b962-a5e1-4343-8150-e5af589e0e47', '长时间不目视前方', 'abnormalPosture', 'TGAC_RAPID_SCREENING', '0', '7', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('478e43b8-1cb6-44fb-b5f4-59cb77d2cde6', '超速报警', 'overSpeedAlarm', 'TGAC_RAPID_SCREENING', '0', '8', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('b8067a74-c1b6-4899-bb8b-a6fc0981577b', '疲劳驾驶', 'tireDriving', 'TGAC_RAPID_SCREENING', '0', '9', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('b1fa86a5-2c8e-4f99-9e9b-dca748255ba0', '偏离报警', 'deviationAlarms', 'TGAC_RAPID_SCREENING', '0', '10', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('e881aa84-2432-481b-9149-33a84ddbbf4b', '异动报警', 'transactionAlarm', 'TGAC_RAPID_SCREENING', '0', '11', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('3a138b97-28bc-4d75-8565-292a8d98a421', '区域报警', 'areaAlarm', 'TGAC_RAPID_SCREENING', '0', '12', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('945b44f6-d661-4c10-839a-225f2fa4c18b', '紧急报警', 'emergencyAlarm', 'TGAC_RAPID_SCREENING', '0', '13', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('9caf5b18-02a8-4623-b452-e407971a1b99', '未处理报警', 'unprocessedAlarm', 'TGAC_RAPID_SCREENING', '0', '14', 'TWO_GUEST_A_CRISIS_REALTIME_MONITORING', NULL);


#添加车辆定位统计报表引导栏
INSERT INTO `zw_c_resource` ( `id`, `icon_cls`, `resource_name`, `type`, `code`, `permission`, `perm_value`, `description`, `parent_id`, `sort_order`, `editable`, `enabled`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `domain`, `code_num`, `flag` ) VALUES ( '293323ba-4acb-11e8-9c2d-fa7ae01bfgbc', NULL, '车辆定位统计', '0', NULL, '', '/lkyw/vehicle/positioning/statistics/list', NULL, 'd41f83a4-4dd9-11e8-9c2d-fa7ae01bbebc', '1405', '1', '1', NULL, NULL, NULL, NULL, NULL, '14005', '1' );

INSERT INTO `zw_c_role_resource` ( `id`, `resource_id`, `role_id`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `flag`, `editable` ) VALUES ( '265a9951-41ad-43ff-aeb5-77d5b8c62101', '293323ba-4acb-11e8-9c2d-fa7ae01bfgbc', 'cn=ROLE_ADMIN,ou=Groups', '2019-12-23 11:25:14', 'admin', NULL, NULL, '1', '1' );


#添加一级菜单消息管理
INSERT INTO `zw_c_resource`(`id`, `icon_cls`, `resource_name`, `type`, `code`, `permission`, `perm_value`, `description`, `parent_id`, `sort_order`, `editable`, `enabled`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `domain`, `code_num`, `flag`) VALUES ('fba6805e-7d1d-4eed-8212-5151fbe2081f', 'fa fa-pencil', '消息管理', 1, NULL, 'messageManagement', 'javascript:void(0);', NULL, '0', 17, 1, 1, '2019-12-23 09:52:33', 'admin', NULL, NULL, NULL, '1700', 1);
#添加二级菜单下发消息模板
INSERT INTO `zw_c_resource`(`id`, `icon_cls`, `resource_name`, `type`, `code`, `permission`, `perm_value`, `description`, `parent_id`, `sort_order`, `editable`, `enabled`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `domain`, `code_num`, `flag`) VALUES ('6a8255cd-5347-4c42-a912-0a3f621543e0', NULL, '下发消息模板', 0, NULL, 'sendMessageTemplate', '/lkyw/message/template/list', NULL, 'fba6805e-7d1d-4eed-8212-5151fbe2081f', 0, 1, 1, '2019-12-23 10:44:45', 'admin', NULL, NULL, NULL, '17001', 1);
#移动菜单聊天记录查询至消息管理菜单下
UPDATE `zw_c_resource` SET `parent_id` = 'fba6805e-7d1d-4eed-8212-5151fbe2081f' WHERE `id` = '9e63336e-57e3-11e8-9c2d-fa7ae01bbebc';

#创建下发消息模板表
CREATE TABLE `zw_m_message_template` (
  `id` varchar(64) NOT NULL COMMENT '下发消息模板',
  `content` varchar(255) not NULL COMMENT '消息内容',
  `status` tinyint (10) NOT NULL DEFAULT '1' COMMENT '下发消息模板状态：0:停用  1:启用',
  `remark` varchar(100) DEFAULT NULL COMMENT '备注',
  `flag` tinyint(10) NOT NULL DEFAULT '1',
  `create_data_time` datetime DEFAULT NULL,
  `create_data_username` varchar(64) DEFAULT NULL,
  `update_data_time` datetime DEFAULT NULL,
  `update_data_username` varchar(64) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

#赣标默认主动安全参数设置
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('1072057e-6dc7-4537-addf-42be8b13a89d', 'default', '196407', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '30', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('264296cf-8c72-469d-a878-8cd4299f7cf6', 'default', '196402', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('48fc6b92-2cc8-45f9-ba8a-3497ea012633', 'default', '196409', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', '2', NULL, NULL, NULL, NULL, NULL, '1', '64', '1', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('7730d60c-4b09-443a-b955-4f7c0908da54', 'default', '196401', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '27', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('dc96dcf3-d7e1-41b6-9ae9-092125c68b80', 'default', '196405', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '60', '50', '5', NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('f56b84b3-cbdf-41a2-9361-bb8fe82f17e9', 'default', '196404', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '30', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('fd37ae72-0ec9-47ec-a58c-8f59749fd49e', 'default', '196403', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', '10', NULL, '50', NULL, NULL, NULL, '64', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('117071b9-e943-4127-98a1-925984ff9c26', 'default', '196504', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('17b22e78-f391-4d6b-b105-bff9f5df42a3', 'default', '196503', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '180', '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('5d7ffd7c-29bf-4383-b5b9-e177399e01b3', 'default', '196502', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, '120', '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('66dfe703-63ba-40c5-8761-2284a5696816', 'default', '196513', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('7342ed7f-fc10-48a9-9f17-5593c7cb643f', 'default', '196515', NULL, NULL, NULL, NULL, NULL, '1', NULL, '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('78cce8a0-61d9-47ad-8c25-2649dcb7a491', 'default', '196508', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('f4ac2f71-285a-4801-8bc5-fa6956b1d343', 'default', '196514', NULL, NULL, NULL, NULL, NULL, '1', '1', '5', '3', '2', NULL, NULL, '50', NULL, NULL, NULL, '65', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `zw_m_adas_alarm_param_setting` (`id`, `vehicle_id`, `risk_function_id`, `alarm_enable`, `gravity_acceleration_threshold`, `time_threshold`, `engine_threshold`, `speed_threshold`, `one_level_alarm_enable`, `two_level_alarm_enable`, `video_recording_time`, `photograph_number`, `photograph_time`, `time_distance_threshold`, `time_slot_threshold`, `alarm_level_speed_threshold`, `frequency_threshold`, `touch_status`, `road_sign_recognition`, `param_type`, `flag`, `road_sign_enable`, `create_time`, `update_time`, `tyre_number`, `unit`, `pressure`, `pressure_threshold`, `slow_leak_threshold`, `low_pressure`, `high_pressure`, `high_temperature`, `electricity_threshold`, `upload_time`, `rear`, `sideRear`, `primary_channel`, `subcode_channel`, `capture_channel`, `day_time`, `night_time`, `min_stop_time`, `night_time_value`, `one_day_drive_time`) VALUES ('efb8345f-61db-429e-9cf1-b527dae1b9a2', 'default', '196704', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '67', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', '3', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);


INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('c6e92fab-bb23-4b74-b0bc-43257f4a39b4', 'default', '0x01', '0x01', '6', '0', NULL, NULL, NULL, NULL, '1', '30', '19', '64', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('5f442e39-222e-410f-b672-fe4f42d310ab', 'default', '0x01', '0x01', '6', '0', NULL, NULL, NULL, NULL, '1', '30', '19', '65', NULL, NULL);
INSERT INTO `zw_m_adas_common_param_setting` (`id`, `vehicle_id`, `camera_resolution`, `video_resolution`, `alarm_volume`, `touch_status`, `photograph_number`, `photograph_time`, `timing_photo_interval`, `distance_photo_interval`, `flag`, `speed_limit`, `protocol_type`, `param_type`, `create_time`, `update_time`) VALUES ('a45f0156-d9ee-4f43-8b8d-10a7824778da', 'default', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL, '19', '67', NULL, NULL);
#视频巡检报表
INSERT INTO `zw_c_role_resource` (`id`, `resource_id`, `role_id`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `flag`, `editable`) VALUES ('945a4e15-2885-11ea-be83-000c29920fdc', '49252499-2885-11ea-be83-000c29920fdc', 'cn=ROLE_ADMIN,ou=Groups', '2019-11-13 09:42:23', 'admin', NULL, NULL, '1', '1');
INSERT INTO `zw_c_resource` (`id`, `icon_cls`, `resource_name`, `type`, `code`, `permission`, `perm_value`, `description`, `parent_id`, `sort_order`, `editable`, `enabled`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `domain`, `code_num`, `flag`) VALUES ('49252499-2885-11ea-be83-000c29920fdc', NULL, '视频巡检统计', '0', NULL, '', '/lkyw/report/videoCarouselReport/list', NULL, 'd41f83a4-4dd9-11e8-9c2d-fa7ae01bbebc', '9013', '1', '1', NULL, NULL, NULL, NULL, NULL, '90135', '1');
#赣标
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('3158bd6e-1ee5-11ea-be83-000c29920fdc', '疲劳驾驶报警', '疑似疲劳', '疲劳驾驶报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196513', '19', '60', '1', '疲劳驾驶', '5', '8', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'fatigueDriving', '1', '0x65');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('315c7b25-1ee5-11ea-be83-000c29920fdc', '接打电话报警', '注意力分散', '接打电话报警报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196502', '19', '30', '2', '接打手持电话', '3', '7', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'phone', '2', '0x65');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('31613770-1ee5-11ea-be83-000c29920fdc', '抽烟报警', '注意力分散', '抽烟报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196503', '19', '30', '2', '抽烟', '3', '7', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'smoke', '3', '0x65');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('31634eae-1ee5-11ea-be83-000c29920fdc', '驾驶员异常报警', '注意力分散', '驾驶员异常报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196504', '19', '30', '2', '驾驶员异常', '4', '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'driverException', '5', '0x65');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('3165aa19-1ee5-11ea-be83-000c29920fdc', '分神驾驶报警', '注意力分散', '分神驾驶报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '186508', '19', '30', '2', '分神驾驶', '4', '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'distractedDriving', '4', '0x65');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('31684049-1ee5-11ea-be83-000c29920fdc', '驾驶员双手脱离方向盘报警', '违规异常', '驾驶员双手脱离方向盘报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196514', '19', '20', '3', '双手同时脱离方向盘', NULL, '12', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'offWheel', '6', '0x65');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('316ad6d5-1ee5-11ea-be83-000c29920fdc', '驾驶员不系安全带报警', '违规异常', '驾驶员不系安全带报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196516', '19', '20', '3', '未系安全带报警', NULL, '12', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'notWearingSeatBelt', '7', '0x65');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('316d376c-1ee5-11ea-be83-000c29920fdc', '盲区监测', '碰撞危险', '盲区监测危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196704', '19', '50', '4', NULL, NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, NULL, NULL, '0x67');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('316fc0ab-1ee5-11ea-be83-000c29920fdc', '频繁变道报警', '碰撞危险', '频繁变道报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196405', '19', '50', '4', '频繁变道', '4', '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'changeLanes', '5', '0x64');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('3172321b-1ee5-11ea-be83-000c29920fdc', '车道偏离报警', '碰撞危险', '车道偏离报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196402', '19', '50', '4', NULL, '4', '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, NULL, '2', '0x64');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('3174aa12-1ee5-11ea-be83-000c29920fdc', '前向碰撞报警', '碰撞危险', '前向碰撞报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196401', '19', '50', '4', '前向碰撞', '4', '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'vehicleCrash', '1', '0x64');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('31771112-1ee5-11ea-be83-000c29920fdc', '行人碰撞报警', '碰撞危险', '行人碰撞报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196404', '19', '50', '4', '行人碰撞', '9', '12', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'pedestrianCollisions', '4', '0x64');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('317980e3-1ee5-11ea-be83-000c29920fdc', '车距过近报警', '碰撞危险', '车距过近报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196403', '19', '50', '4', '车距过近', '4', '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'distance', '3', '0x64');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('317bf388-1ee5-11ea-be83-000c29920fdc', '道路标识超限报警', '碰撞危险', '道路标识超限报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '186409', '19', '50', '4', '道路标识超限', NULL, '12', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'roadMarkTransfinite', '6', '0x64');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('317e81b1-1ee5-11ea-be83-000c29920fdc', '障碍物报警', '碰撞危险', '障碍物报警报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196407', '19', '50', '4', '障碍物', '3', '7', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'obstacles', '7', '0x64');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('3180ffa7-1ee5-11ea-be83-000c29920fdc', '后方接近报警', '碰撞危险', '后方接近报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196701', '19', '50', '4', '后方接近', NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'closeBehind', '1', '0x67');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('3183601c-1ee5-11ea-be83-000c29920fdc', '左侧后方接近报警', '碰撞危险', '左侧后方接近报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196702', '19', '50', '4', '左侧后方接近', NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'leftRearApproach', '2', '0x67');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('3185c930-1ee5-11ea-be83-000c29920fdc', '右侧后方接近报警', '碰撞危险', '右侧后方接近报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196703', '19', '50', '4', '右侧后方接近', NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'rightRearApproach', '3', '0x67');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('31882325-1ee5-11ea-be83-000c29920fdc', '车道左偏离报警', '碰撞危险', '车道左偏离报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '1964021', '19', '50', '4', '车道左偏离报警', '4', '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'leftOffset', NULL, '0x64');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('318a9672-1ee5-11ea-be83-000c29920fdc', '车道右偏离报警', '碰撞危险', '车道右偏离报警危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '1964022', '19', '50', '4', '车道右偏离报警', '4', '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'rightOffset', NULL, '0x64');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('318d075d-1ee5-11ea-be83-000c29920fdc', '胎压过高', '碰撞危险', '胎压过高危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196601', '19', '50', '4', '胎压过高', NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'highTirePressure', '2', '0x66');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('318f7470-1ee5-11ea-be83-000c29920fdc', '胎压过低', '碰撞危险', '危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196602', '19', '50', '4', '胎压过低', NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'lowTirePressure', '3', '0x66');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('3192054f-1ee5-11ea-be83-000c29920fdc', '胎温过高', '碰撞危险', '胎温过高危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196603', '19', '50', '4', '胎温过高', NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'highTireTemperature', '4', '0x66');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('319474a5-1ee5-11ea-be83-000c29920fdc', '传感器异常', '碰撞危险', '传感器异常危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196604', '19', '50', '4', '传感器异常', NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'sensorAnomaly', '5', '0x66');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('3196d707-1ee5-11ea-be83-000c29920fdc', '胎压不平衡', '碰撞危险', '胎压不平衡危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196605', '19', '50', '4', '胎压不平衡', NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'imbalanceTirePressure', '6', '0x66');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('31994135-1ee5-11ea-be83-000c29920fdc', '慢漏气', '碰撞危险', '慢漏气危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196606', '19', '50', '4', '慢漏气', NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'slowLeak', '7', '0x66');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('319bb3bd-1ee5-11ea-be83-000c29920fdc', '电池电量低报警', '碰撞危险', '电池电量过低危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196607', '19', '50', '4', '电池电量低报警', NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'lowBattery', '8', '0x66');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('319e07d5-1ee5-11ea-be83-000c29920fdc', '胎压监测', '碰撞危险', '胎压监测危险说明', '1', '2019-12-15 10:19:01', NULL, NULL, NULL, '196608', '19', '50', '4', NULL, NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, NULL, NULL, '0x66');
#更改高精度报警的pos
UPDATE `zw_m_alarm_type` SET  `pos`='18710' WHERE (`id`='507b91c9-b39c-4a29-8d2e-e23b369690d7');
#新增企业ID
SET @dbname = DATABASE();
SET @tablename = "zw_m_vehicle_info";
SET @columnname = "group_id";
SET @preparedStatement = (SELECT IF(
(
SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS
WHERE
(table_name = @tablename)
AND (table_schema = @dbname)
AND (column_name = @columnname)
) > 0,
"SELECT 1",
CONCAT("ALTER TABLE ", @tablename, " ADD ", @columnname, " varchar(64) DEFAULT NULL COMMENT '车辆所属企业ID';")
));
PREPARE alterIfNotExists FROM @preparedStatement;
EXECUTE alterIfNotExists;
DEALLOCATE PREPARE alterIfNotExists;

SET @dbname = DATABASE();
SET @tablename = "zw_m_vehicle_adas_event";
SET @columnname = "keep_out";
SET @preparedStatement = (SELECT IF(
(
SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS
WHERE
(table_name = @tablename)
AND (table_schema = @dbname)
AND (column_name = @columnname)
) > 0,
"SELECT 1",
CONCAT("ALTER TABLE ", @tablename, " ADD ", @columnname, " int(11)DEFAULT 0 COMMENT '车辆所属企业ID';")));
PREPARE alterIfNotExists FROM @preparedStatement;
EXECUTE alterIfNotExists;
DEALLOCATE PREPARE alterIfNotExists;



#历史抓拍
ALTER TABLE zw_m_media ADD COLUMN `latitude` varchar(15) DEFAULT NULL COMMENT '经度';
ALTER TABLE zw_m_media ADD COLUMN `longitude` varchar(15) DEFAULT NULL COMMENT '纬度';
ALTER TABLE zw_m_media ADD COLUMN `speed` varchar(15) DEFAULT NULL COMMENT '速度';
ALTER TABLE zw_m_media ADD COLUMN `monitor_name` varchar(50) DEFAULT NULL COMMENT '监控对象名字';

drop INDEX idx_risk_event_id on zw_m_media;
drop INDEX idx_risk_id on zw_m_media;
drop INDEX zw_m_media_risk_event_id_index on zw_m_media;
ALTER TABLE zw_m_media ADD INDEX  vehicle_id_create_data_time(vehicle_id, create_data_time);

#报警设置的sql
insert into zw_m_alarm_parameter(`id`, `param_code`, `alarm_type_id`, `default_value`, `description`, `flag`,
                                 `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `io_monitor_id`)
select '6ac3s05c-ac26-13e6-a4b6-cec0ax32ce01', 'param1', '61395c94-1b55-4ca9-83d2-425de0948acb', '100', '超速报警（路网）', '1', '2017-01-13 16:18:54', NULL, NULL, NULL, NULL from dual where not EXISTS (select id from zw_m_alarm_parameter where id='6ac3s05c-ac26-13e6-a4b6-cec0ax32ce01');
#车辆定位统计(修改顺序)
UPDATE `zw_c_resource` SET `id` = '293323ba-4acb-11e8-9c2d-fa7ae01bfgbc', `icon_cls` = NULL, `resource_name` = '车辆定位统计', `type` = '0', `code` = NULL, `permission` = '', `perm_value` = '/lkyw/vehicle/positioning/statistics/list', `description` = NULL, `parent_id` = 'd41f83a4-4dd9-11e8-9c2d-fa7ae01bbebc', `sort_order` = '1409', `editable` = '1', `enabled` = '1', `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '14009', `flag` = '1' WHERE ( `id` = '293323ba-4acb-11e8-9c2d-fa7ae01bfgbc' );
#下发消息统计菜单
INSERT INTO `zw_c_resource` (`id`, `icon_cls`, `resource_name`, `type`, `code`, `permission`, `perm_value`, `description`, `parent_id`, `sort_order`, `editable`, `enabled`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `domain`, `code_num`, `flag`) VALUES ('767ca4cc-3b24-11ea-b77f-2e728ce88125', NULL, '下发消息统计', '0', NULL, '', '/lkyw/sendMessageReport/list', NULL, 'd41f83a4-4dd9-11e8-9c2d-fa7ae01bbebc', '1408', '1', '1', NULL, NULL, NULL, NULL, NULL, '14008', '1');

INSERT INTO `zw_c_role_resource` (`id`, `resource_id`, `role_id`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `flag`, `editable`) VALUES ('0a75b1ef-865d-4761-a356-9c64c3ed2cd0', '767ca4cc-3b24-11ea-b77f-2e728ce88125', 'cn=ROLE_02526ae8-da82-4ece-9909-1490fc876c67,ou=Groups', '2020-01-14 16:39:08', 'ss1', NULL, NULL, '1', '1');
INSERT INTO `zw_c_role_resource` (`id`, `resource_id`, `role_id`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `flag`, `editable`) VALUES ('37075ea9-cf1c-4546-a030-ae82f38f755c', '767ca4cc-3b24-11ea-b77f-2e728ce88125', 'cn=POWER_USER,ou=Groups', '2020-01-06 15:15:04', 'admin', NULL, NULL, '1', '1');

UPDATE `zw_m_risk_event` SET  `function_id`='196508'  WHERE `id`='3165aa19-1ee5-11ea-be83-000c29920fdc';
UPDATE `zw_m_risk_event` SET  `function_id`='196409'  WHERE `id`='317bf388-1ee5-11ea-be83-000c29920fdc';

#沪标主动安全事件
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('8d8cbb58-732e-11ea-93b0-000c29920fdc', '驾驶员身份识别', '违规异常', '驾驶员身份识别危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206519', '20', '20', '3', '人证不符', NULL, '12', '0.3', '0.4', '0.5', '30', '50', '70', NULL, 'inConformityCertificate', NULL, '0x65');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90be641a-7259-11ea-93b0-000c29920fdc', '疲劳驾驶报警', '疑似疲劳', '疲劳驾驶报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206513', '20', '60', '1', '疲劳驾驶', '5', '8', '0.3', '0.4', '0.5', '30', '50', '70', '18811', 'fatigueDriving', '1', '0x65');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90c0535f-7259-11ea-93b0-000c29920fdc', '接打电话报警', '注意力分散', '接打电话报警报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206502', '20', '30', '2', '接打手持电话', '3', '7', '0.3', '0.4', '0.5', '30', '50', '70', '18812', 'phone', '2', '0x65');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90c46eed-7259-11ea-93b0-000c29920fdc', '抽烟报警', '注意力分散', '抽烟报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206503', '20', '30', '2', '抽烟', '3', '7', '0.3', '0.4', '0.5', '30', '50', '70', '18813', 'smoke', '3', '0x65');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90c65db2-7259-11ea-93b0-000c29920fdc', '驾驶员异常报警', '注意力分散', '驾驶员异常报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206504', '20', '30', '2', '驾驶员异常', '4', '9', '0.3', '0.4', '0.5', '30', '50', '70', '18814', 'driverException', '5', '0x65');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90c8a61a-7259-11ea-93b0-000c29920fdc', '分神驾驶报警', '注意力分散', '分神驾驶报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206508', '20', '30', '2', '分神驾驶', '4', '9', '0.3', '0.4', '0.5', '30', '50', '70', '18815', 'distractedDriving', '4', '0x65');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90cb15f4-7259-11ea-93b0-000c29920fdc', '双脱把报警', '违规异常', '双脱把报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206514', '20', '20', '3', '双手同时脱离方向盘', NULL, '12', '0.3', '0.4', '0.5', '30', '50', '70', '18816', 'offWheel', '11', '0x65');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90cd6127-7259-11ea-93b0-000c29920fdc', '不系安全带报警', '违规异常', '不系安全带报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206515', '20', '20', '3', '未系安全带报警', NULL, '12', '0.3', '0.4', '0.5', '30', '50', '70', '18817', 'notWearingSeatBelt', '10', '0x65');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90cfcacd-7259-11ea-93b0-000c29920fdc', '驾驶员变更', '违规异常', '驾驶员变更危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206516', '20', '20', '3', '人证不符', NULL, '12', '0.3', '0.4', '0.5', '30', '50', '70', '18818', 'inConformityCertificate', '17', '0x65');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90d1f093-7259-11ea-93b0-000c29920fdc', '摄像头遮挡报警', '违规异常', '摄像头遮挡报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206517', '20', '20', '3', '遮挡', NULL, '12', '0.3', '0.4', '0.5', '30', '50', '70', '18819', 'keepOut', '42', '0x65');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90d42f7e-7259-11ea-93b0-000c29920fdc', '红外阻隔性墨镜报警', '违规异常', '红外阻隔性墨镜报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206518', '20', '20', '3', '红外阻断', NULL, '12', '0.3', '0.4', '0.5', '30', '50', '70', '18820', 'infraredBlocking', '43', '0x65');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90d6c284-7259-11ea-93b0-000c29920fdc', '频繁变道报警', '碰撞危险', '频繁变道报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206405', '20', '50', '4', '频繁变道', '4', '9', '0.3', '0.4', '0.5', '30', '50', '70', '18715', 'changeLanes', '5', '0x64');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90d8a7ba-7259-11ea-93b0-000c29920fdc', '车道偏离报警', '碰撞危险', '车道偏离报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206402', '20', '50', '4', '车道偏离', '4', '9', '0.3', '0.4', '0.5', '30', '50', '70', '18712', NULL, '2', '0x64');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90dab804-7259-11ea-93b0-000c29920fdc', '前向碰撞报警', '碰撞危险', '前向碰撞报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206401', '20', '50', '4', '前向碰撞', '4', '9', '0.3', '0.4', '0.5', '30', '50', '70', '18711', 'vehicleCrash', '1', '0x64');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90dcf5b5-7259-11ea-93b0-000c29920fdc', '行人碰撞报警', '碰撞危险', '行人碰撞报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206404', '20', '50', '4', '行人碰撞', '9', '12', '0.3', '0.4', '0.5', '30', '50', '70', '18714', 'pedestrianCollisions', '4', '0x64');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90df2271-7259-11ea-93b0-000c29920fdc', '车距过近报警', '碰撞危险', '车距过近报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206403', '20', '50', '4', '车距过近', '4', '9', '0.3', '0.4', '0.5', '30', '50', '70', '18713', 'distance', '3', '0x64');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90e17173-7259-11ea-93b0-000c29920fdc', '道路标识超限报警', '碰撞危险', '道路标识超限报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206409', '20', '50', '4', '道路标识超限', NULL, '12', '0.3', '0.4', '0.5', '30', '50', '70', '18716', 'roadMarkTransfinite', '6', '0x64');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90e3a21d-7259-11ea-93b0-000c29920fdc', '障碍物报警', '碰撞危险', '障碍物报警报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206407', '20', '50', '4', '障碍物', '3', '7', '0.3', '0.4', '0.5', '30', '50', '70', '18717', 'obstacles', '7', '0x64');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90e5bb48-7259-11ea-93b0-000c29920fdc', '车道左偏离报警', '碰撞危险', '车道左偏离报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '2064021', '20', '50', '4', '车道左偏离报警', '4', '9', '0.3', '0.4', '0.5', '30', '50', '70', '18712', 'leftOffset', NULL, '0x64');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90e8478d-7259-11ea-93b0-000c29920fdc', '车道右偏离报警', '碰撞危险', '车道右偏离报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '2064022', '20', '50', '4', '车道右偏离报警', '4', '9', '0.3', '0.4', '0.5', '30', '50', '70', '18712', 'rightOffset', NULL, '0x64');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90ea9753-7259-11ea-93b0-000c29920fdc', '盲区监测', '碰撞危险', '盲区监测危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206704', '20', '50', '4', NULL, NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', NULL, NULL, NULL, '0x67');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90eced60-7259-11ea-93b0-000c29920fdc', '后方接近报警', '碰撞危险', '后方接近报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206701', '20', '50', '4', '后方接近', NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', '18911', 'closeBehind', '1', '0x67');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90ef1a2d-7259-11ea-93b0-000c29920fdc', '左侧后方接近报警', '碰撞危险', '左侧后方接近报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206702', '20', '50', '4', '左侧后方接近', NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', '18912', 'leftRearApproach', '2', '0x67');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90f13f49-7259-11ea-93b0-000c29920fdc', '右侧后方接近报警', '碰撞危险', '右侧后方接近报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206703', '20', '50', '4', '右侧后方接近', NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', '18913', 'rightRearApproach', '3', '0x67');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90f378cb-7259-11ea-93b0-000c29920fdc', '超员报警', '违规异常', '超员报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206801', '20', '50', '3', '超员', NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', '19011', 'overMan', '1', '0x68');
INSERT INTO `zw_m_risk_event` (`id`, `risk_event`, `risk_type`, `description`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `function_id`, `protocol_type`, `interval_time`, `risk_type_num`, `event_common_name`, `one_level`, `two_level`, `one_speed_factor`, `two_speed_factor`, `three_speed_factor`, `one_speed`, `two_speed`, `three_speed`, `808_pos`, `event_common_field`, `index_pos`, `alarm_pos`) VALUES ('90f5dcca-7259-11ea-93b0-000c29920fdc', '不按规定上下客报警', '违规异常', '不按规定上下客报警危险说明', '1', '2020-03-30 14:24:01', NULL, NULL, NULL, '206802', '20', '50', '3', '不按规定上下客', NULL, '9', '0.3', '0.4', '0.5', '30', '50', '70', '19012', 'abormalLoad', '2', '0x68');


#苏标主动安全事件
UPDATE `zw_m_risk_event` SET `id`='1100917d-e9c8-11e9-9469-000c29920fdc', `risk_event`='胎压过高', `risk_type`='碰撞危险', `description`='胎压过高危险说明', `flag`='1', `create_data_time`='2019-10-00 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156601', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='胎压过高', `one_level`=NULL, `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19411', `event_common_field`='highTirePressure', `index_pos`='2', `alarm_pos`='0x66' WHERE (`id`='1100917d-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='1102aafd-e9c8-11e9-9469-000c29920fdc', `risk_event`='胎压过低', `risk_type`='碰撞危险', `description`='危险说明', `flag`='1', `create_data_time`='2019-10-00 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156602', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='胎压过低', `one_level`=NULL, `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19412', `event_common_field`='lowTirePressure', `index_pos`='3', `alarm_pos`='0x66' WHERE (`id`='1102aafd-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='11047c44-e9c8-11e9-9469-000c29920fdc', `risk_event`='胎温过高', `risk_type`='碰撞危险', `description`='胎温过高危险说明', `flag`='1', `create_data_time`='2019-10-00 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156603', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='胎温过高', `one_level`=NULL, `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19413', `event_common_field`='highTireTemperature', `index_pos`='4', `alarm_pos`='0x66' WHERE (`id`='11047c44-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='11071780-e9c8-11e9-9469-000c29920fdc', `risk_event`='传感器异常', `risk_type`='碰撞危险', `description`='传感器异常危险说明', `flag`='1', `create_data_time`='2019-10-00 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156604', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='传感器异常', `one_level`=NULL, `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19414', `event_common_field`='sensorAnomaly', `index_pos`='5', `alarm_pos`='0x66' WHERE (`id`='11071780-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='110a7606-e9c8-11e9-9469-000c29920fdc', `risk_event`='胎压不平衡', `risk_type`='碰撞危险', `description`='胎压不平衡危险说明', `flag`='1', `create_data_time`='2019-10-00 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156605', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='胎压不平衡', `one_level`=NULL, `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19415', `event_common_field`='imbalanceTirePressure', `index_pos`='6', `alarm_pos`='0x66' WHERE (`id`='110a7606-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='110dc6aa-e9c8-11e9-9469-000c29920fdc', `risk_event`='慢漏气', `risk_type`='碰撞危险', `description`='慢漏气危险说明', `flag`='1', `create_data_time`='2019-10-00 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156606', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='慢漏气', `one_level`=NULL, `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19416', `event_common_field`='slowLeak', `index_pos`='7', `alarm_pos`='0x66' WHERE (`id`='110dc6aa-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='111070c7-e9c8-11e9-9469-000c29920fdc', `risk_event`='电池电量低报警', `risk_type`='碰撞危险', `description`='电池电量过低危险说明', `flag`='1', `create_data_time`='2019-10-00 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156607', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='电池电量低报警', `one_level`=NULL, `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19417', `event_common_field`='lowBattery', `index_pos`='8', `alarm_pos`='0x66' WHERE (`id`='111070c7-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='11132a9a-e9c8-11e9-9469-000c29920fdc', `risk_event`='后方接近', `risk_type`='碰撞危险', `description`='后方接近危险说明', `flag`='1', `create_data_time`='2019-09-19 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156701', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='后方接近', `one_level`=NULL, `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19311', `event_common_field`='closeBehind', `index_pos`='1', `alarm_pos`='0x67' WHERE (`id`='11132a9a-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='1115d121-e9c8-11e9-9469-000c29920fdc', `risk_event`='左侧后方接近', `risk_type`='碰撞危险', `description`='左侧后方接近危险说明', `flag`='1', `create_data_time`='2019-09-19 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156702', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='左侧后方接近', `one_level`=NULL, `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19312', `event_common_field`='leftRearApproach', `index_pos`='2', `alarm_pos`='0x67' WHERE (`id`='1115d121-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='11189893-e9c8-11e9-9469-000c29920fdc', `risk_event`='右侧后方接近', `risk_type`='碰撞危险', `description`='右侧后方接近危险说明', `flag`='1', `create_data_time`='2019-09-19 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156703', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='右侧后方接近', `one_level`=NULL, `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19313', `event_common_field`='rightRearApproach', `index_pos`='3', `alarm_pos`='0x67' WHERE (`id`='11189893-e9c8-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='28cd933a-e9ca-11e9-9469-000c29920fdc', `risk_event`='驾驶员变更', `risk_type`='违规异常', `description`='驾驶员变更危险说明', `flag`='1', `create_data_time`='2019-09-19 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156516', `protocol_type`='15', `interval_time`='20', `risk_type_num`='3', `event_common_name`='人证不符', `one_level`=NULL, `two_level`='12', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19217', `event_common_field`='inConformityCertificate', `index_pos`='17', `alarm_pos`='0x65' WHERE (`id`='28cd933a-e9ca-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='28cf8945-e9ca-11e9-9469-000c29920fdc', `risk_event`='分神驾驶报警', `risk_type`='注意力分散', `description`='分神驾驶报警危险说明', `flag`='1', `create_data_time`='2019-09-29 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156505', `protocol_type`='15', `interval_time`='30', `risk_type_num`='2', `event_common_name`='分神驾驶', `one_level`='4', `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19215', `event_common_field`='distractedDriving', `index_pos`='4', `alarm_pos`='0x65' WHERE (`id`='28cf8945-e9ca-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='28d157c6-e9ca-11e9-9469-000c29920fdc', `risk_event`='驾驶员异常报警', `risk_type`='注意力分散', `description`='驾驶员异常报警危险说明', `flag`='1', `create_data_time`='2019-09-29 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156504', `protocol_type`='15', `interval_time`='30', `risk_type_num`='2', `event_common_name`='驾驶员异常', `one_level`='4', `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19214', `event_common_field`='driverException', `index_pos`='5', `alarm_pos`='0x65' WHERE (`id`='28d157c6-e9ca-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='28d342ba-e9ca-11e9-9469-000c29920fdc', `risk_event`='抽烟报警', `risk_type`='注意力分散', `description`='抽烟报警危险说明', `flag`='1', `create_data_time`='2019-09-29 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156503', `protocol_type`='15', `interval_time`='30', `risk_type_num`='2', `event_common_name`='抽烟', `one_level`='3', `two_level`='7', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19213', `event_common_field`='smoke', `index_pos`='3', `alarm_pos`='0x65' WHERE (`id`='28d342ba-e9ca-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='28d58b28-e9ca-11e9-9469-000c29920fdc', `risk_event`='接打手持电话报警', `risk_type`='注意力分散', `description`='接打手持电话报警危险说明', `flag`='1', `create_data_time`='2019-09-29 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156502', `protocol_type`='15', `interval_time`='30', `risk_type_num`='2', `event_common_name`='接打手持电话', `one_level`='3', `two_level`='7', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19212', `event_common_field`='phone', `index_pos`='2', `alarm_pos`='0x65' WHERE (`id`='28d58b28-e9ca-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='28d7540b-e9ca-11e9-9469-000c29920fdc', `risk_event`='疲劳驾驶报警', `risk_type`='疑似疲劳', `description`='疲劳驾驶报警危险说明', `flag`='1', `create_data_time`='2019-09-29 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156513', `protocol_type`='15', `interval_time`='60', `risk_type_num`='1', `event_common_name`='疲劳驾驶', `one_level`='5', `two_level`='8', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19211', `event_common_field`='fatigueDriving', `index_pos`='1', `alarm_pos`='0x65' WHERE (`id`='28d7540b-e9ca-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='4b6c9f55-e9c9-11e9-9469-000c29920fdc', `risk_event`='车道左偏离报警', `risk_type`='碰撞危险', `description`='车道左偏离危险说明', `flag`='1', `create_data_time`='2019-09-19 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='1564021', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='车道偏离', `one_level`='4', `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19112', `event_common_field`='leftOffset', `index_pos`=NULL, `alarm_pos`='0x64' WHERE (`id`='4b6c9f55-e9c9-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='4b6eb753-e9c9-11e9-9469-000c29920fdc', `risk_event`='车道右偏离报警', `risk_type`='碰撞危险', `description`='车道右偏离危险说明', `flag`='1', `create_data_time`='2019-09-19 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='1564022', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='车道偏离', `one_level`='4', `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19112', `event_common_field`='rightOffset', `index_pos`=NULL, `alarm_pos`='0x64' WHERE (`id`='4b6eb753-e9c9-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='4b70aa6f-e9c9-11e9-9469-000c29920fdc', `risk_event`='障碍物', `risk_type`='碰撞危险', `description`='障碍物危险说明', `flag`='1', `create_data_time`='2019-09-19 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156407', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='障碍物', `one_level`='3', `two_level`='7', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19117', `event_common_field`='obstacles', `index_pos`='7', `alarm_pos`='0x64' WHERE (`id`='4b70aa6f-e9c9-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='4b733abb-e9c9-11e9-9469-000c29920fdc', `risk_event`='频繁变道', `risk_type`='碰撞危险', `description`='频繁变道危险说明', `flag`='1', `create_data_time`='2019-09-19 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156405', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='频繁变道', `one_level`='4', `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19115', `event_common_field`='changeLanes', `index_pos`='5', `alarm_pos`='0x64' WHERE (`id`='4b733abb-e9c9-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='4b761dd2-e9c9-11e9-9469-000c29920fdc', `risk_event`='车道偏离', `risk_type`='碰撞危险', `description`='车道偏离危险说明', `flag`='1', `create_data_time`='2019-09-19 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156402', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='车道偏离', `one_level`='4', `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19112', `event_common_field`=NULL, `index_pos`='2', `alarm_pos`='0x64' WHERE (`id`='4b761dd2-e9c9-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='4b79460e-e9c9-11e9-9469-000c29920fdc', `risk_event`='前向碰撞', `risk_type`='碰撞危险', `description`='前向碰撞危险说明', `flag`='1', `create_data_time`='2019-09-19 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156401', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='前向碰撞', `one_level`='4', `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19111', `event_common_field`='vehicleCrash', `index_pos`='1', `alarm_pos`='0x64' WHERE (`id`='4b79460e-e9c9-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='4b7c446e-e9c9-11e9-9469-000c29920fdc', `risk_event`='行人碰撞', `risk_type`='碰撞危险', `description`='行人碰撞危险说明', `flag`='1', `create_data_time`='2019-09-19 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156404', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='行人碰撞', `one_level`='9', `two_level`='12', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19114', `event_common_field`='pedestrianCollisions', `index_pos`='4', `alarm_pos`='0x64' WHERE (`id`='4b7c446e-e9c9-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='4b7f1e56-e9c9-11e9-9469-000c29920fdc', `risk_event`='车距过近', `risk_type`='碰撞危险', `description`='车距过近危险说明', `flag`='1', `create_data_time`='2019-09-19 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156403', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='车距过近', `one_level`='4', `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19113', `event_common_field`='distance', `index_pos`='3', `alarm_pos`='0x64' WHERE (`id`='4b7f1e56-e9c9-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='4b81e04a-e9c9-11e9-9469-000c29920fdc', `risk_event`='道路标识超限', `risk_type`='碰撞危险', `description`='道路标识超限危险说明', `flag`='1', `create_data_time`='2019-09-19 19:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156409', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`='道路标识超限', `one_level`=NULL, `two_level`='12', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`='19116', `event_common_field`='roadMarkTransfinite', `index_pos`='6', `alarm_pos`='0x64' WHERE (`id`='4b81e04a-e9c9-11e9-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='9021e6f3-08e7-11ea-9469-000c29920fdc', `risk_event`='盲区监测', `risk_type`='碰撞危险', `description`='盲区监测危险说明', `flag`='1', `create_data_time`='2019-11-17 11:03:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156704', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`=NULL, `one_level`=NULL, `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`=NULL, `event_common_field`=NULL, `index_pos`=NULL, `alarm_pos`='0x67' WHERE (`id`='9021e6f3-08e7-11ea-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='9023e64f-08e7-11ea-9469-000c29920fdc', `risk_event`='胎压监测', `risk_type`='碰撞危险', `description`='胎压监测危险说明', `flag`='1', `create_data_time`='2019-11-17 11:03:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156608', `protocol_type`='15', `interval_time`='50', `risk_type_num`='4', `event_common_name`=NULL, `one_level`=NULL, `two_level`='9', `one_speed_factor`='0.3', `two_speed_factor`='0.4', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`=NULL, `event_common_field`=NULL, `index_pos`=NULL, `alarm_pos`='0x66' WHERE (`id`='9023e64f-08e7-11ea-9469-000c29920fdc');
UPDATE `zw_m_risk_event` SET `id`='b8eb1d64-f3d5-11e9-9469-000c29920fdc', `risk_event`='驾驶员身份识别', `risk_type`='违规异常', `description`='驾驶员身份识别危险说明', `flag`='1', `create_data_time`='2019-06-05 16:32:01', `create_data_username`=NULL, `update_data_time`=NULL, `update_data_username`=NULL, `function_id`='156515', `protocol_type`='15', `interval_time`='20', `risk_type_num`='3', `event_common_name`=NULL, `one_level`=NULL, `two_level`='12', `one_speed_factor`='0.5', `two_speed_factor`='0.5', `three_speed_factor`='0.5', `one_speed`='30', `two_speed`='50', `three_speed`='70', `808_pos`=NULL, `event_common_field`=NULL, `index_pos`=NULL, `alarm_pos`=NULL WHERE (`id`='b8eb1d64-f3d5-11e9-9469-000c29920fdc');


#领导看板数据
alter table zw_m_vehicle_adas_event add column  abormal_load int(11) DEFAULT '0' COMMENT '(风险事不按规定上下客报警)';
alter table zw_m_vehicle_adas_event add column  over_man int(11) DEFAULT '0' COMMENT '(风险事超员)';


INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('a9ad779e-cf1d-4e3c-bc69-9469a5fea031', '前向碰撞报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18711', '20', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('e066f572-47a5-45d6-b790-df37eb822a15', '车道偏离报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18712', '20', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('4dd5ed76-174d-4307-afe0-e7428b25e414', '车距过近报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18713', '20', '1');

INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('7ed0df16-dca4-4e2b-8ffa-ff7048d7a16b', '行人碰撞报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18714', '20', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('4a146719-9a15-4dff-82fa-ed32f252a41d', '频繁变道报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18715', '20', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('686e5845-8fd7-4caa-998f-47ffc3e4d347', '道路标识超限报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18716', '20', '1');

INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('40c1cb51-64f9-4c74-aeda-f70e5574017a', '障碍物报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18717', '20', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('f79f9bf2-73bf-4043-a9db-0f6f1f6ae2d9', '疲劳驾驶报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18811', '20', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('3d11841e-0d8e-48c8-bd1b-2641973fc5d9', '接打电话报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18812', '20', '1');

INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('4fd26b49-7fcd-41dd-90c9-efaa6f347cc8', '抽烟报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18813', '20', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('949842d9-1f19-45ea-bbe5-0ade2807935e', '驾驶员异常报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18814', '20', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('6a9dbd38-da3e-458c-bba3-57b369ae41b0', '分神驾驶报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18815', '20', '1');

INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('80362588-9f0f-4385-bb37-1a212761fcff', '双脱把报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18816', '20', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('fd487084-3403-4f7a-abc3-4c22b3f3fdab', '不系安全带报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18817', '20', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('1e30c769-13a2-42dc-9c7c-1c5c44234cdb', '驾驶员变更', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18818', '20', '1');

INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('321f99ad-9178-48ea-bd4f-82bf388317a8', '探头遮挡报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18819', '20', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('99181803-a8f8-4569-b307-1fb99fdfd3a7', '红外阻断墨镜报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18820', '20', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('305e540a-42ce-4c9b-9cf7-793b629b2766', '后方接近', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18911', '20', '1');

INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('c315bcf9-1f59-42bc-a16b-56dda712e8c6', '左侧后方接近', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18912', '20', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('1c3112b7-bf8e-4b62-9ea4-ca140be19709', '右侧后方接近', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '18913', '20', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('c7db5b32-3746-4c6f-8ae8-f87e1b8e2007', '超员报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19011', '20', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('d25a4397-6517-4844-b6a7-650f3797667c', '不按规定上下客报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19012', '20', '1');

INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('f4f189cd-9400-4be4-a857-9331fdb16b25', '前向碰撞报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19111', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('8a80ff6c-c134-4184-9f75-1c9da596ce39', '车道偏离报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19112', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('bf6656ce-4ec8-49f8-8bf0-5d4a00e63c84', '车距过近报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19113', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('a05dd71b-2d5f-45f6-b514-d414ea6a6a42', '行人碰撞报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19114', '15', '1');

INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('65318aa7-6eaf-4e99-9ad1-28cf53517e75', '频繁变道报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19115', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('194d5622-a752-468d-9e6d-0a3363835587', '道路标识超限报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19116', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('79620ec9-2295-439d-91ef-c2cc0a54a93b', '障碍物报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19117', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('57bcad85-576f-4261-96a6-76f56fcfb6a6', '疲劳驾驶报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19211', '15', '1');

INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('0bbe91dd-3fd7-42fd-a082-ff7ad8720aec', '接打电话报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19212', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('99611018-a70f-4e12-9b4f-6875015ebb1f', '抽烟报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19213', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('a432d454-d885-4529-8bd0-fb078d6557a4', '驾驶员异常报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19214', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('33819024-7213-4f3c-af94-d6d3fc2bc2ca', '分神驾驶报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19215', '15', '1');

INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('db4492f9-5ca9-4beb-85cd-9a23b167ebfc', '驾驶员身份识别', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19216', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('a76b8649-a3cf-4dfb-ae28-26bf281e3f3b', '驾驶员变更', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19217', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('82b97188-2947-4c1b-95f1-f7721917618c', '后方接近', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19311', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('12dcf579-5ca3-4e32-b300-d886b0300e90', '左侧后方接近', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19312', '15', '1');

INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('e2dec02d-b508-45b9-9de8-d8a910b5c395', '右侧后方接近', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19313', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('0300d3d9-6c23-4e30-8f71-e33e993c302d', '胎压过高报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19411', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('7002b9ac-6939-4dbd-b315-885f84901aa2', '胎压过低报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19412', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('14b9634e-2158-45c6-b4a6-87e5de2d43f4', '胎温过高报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19413', '15', '1');

INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('a512ed05-2907-4afa-b98e-c710f9d409f0', '传感器异常报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19414', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('f22f1e5f-8aa6-47fd-baa2-f425a0214d1f', '胎压不平衡报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19415', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('2da6b811-44ff-4daa-94e4-a95c8d61448f', '慢漏气报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19416', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('f393bac7-0245-4157-88d5-4211cb71ee45', '电池电量过低报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19417', '15', '1');
INSERT INTO `zw_m_alarm_type` (`id`, `name`, `parent_id`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `type`, `description`, `sendFlag`, `pos`, `protocol_type`, `platform_or_device`) VALUES ('1cc7205d-52e3-43a1-9739-a89c1838db04', '定时上报', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '19418', '15', '1');

#808_809映射表
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('1b2d620a-7973-11ea-bfbf-000c294a3301', '1001-default', '23', '0x000B', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('1b2f9ac9-7973-11ea-bfbf-000c294a3301', '1001-default', '28', '0x000C', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('1b314abd-7973-11ea-bfbf-000c294a3301', '1001-default', '18', '0x000D', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('99a79335-7a26-11ea-bfbf-000c294a3301', '1001-default', '29', '0x0012', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('99a986a7-7a26-11ea-bfbf-000c294a3301', '1001-default', '16', '0x0014', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('99ab59ce-7a26-11ea-bfbf-000c294a3301', '1001-default', '158', '0x0101', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('99ad616b-7a26-11ea-bfbf-000c294a3301', '1001-default', '19211', '0x0106', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('99afed8f-7a26-11ea-bfbf-000c294a3301', '1001-default', '82', '0x0124', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('99b2939b-7a26-11ea-bfbf-000c294a3301', '1001-default', '2211', '0x0126', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('99b582cf-7a26-11ea-bfbf-000c294a3301', '1001-default', '2212', '0x0127', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('99b7e635-7a26-11ea-bfbf-000c294a3301', '1001-default', '7702', '0x0120', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('c7d7878f-7a42-11ea-bfbf-000c294a3301', '1001-default', '2', '0x0002', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fbd50bc8-731a-11ea-93b0-000c29920fdc', '1001-default', '12726', '0x0129', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fbd92580-731a-11ea-93b0-000c29920fdc', '1001-default', '12719', '0x0129', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fbdb3ca1-731a-11ea-93b0-000c29920fdc', '1001-default', '12711', '0x0129', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fbde240a-731a-11ea-93b0-000c29920fdc', '1001-default', '12724', '0x0129', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fbe114ea-731a-11ea-93b0-000c29920fdc', '1001-default', '12712', '0x0129', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fbe4bce9-731a-11ea-93b0-000c29920fdc', '1001-default', '12725', '0x0129', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fbe818e3-731a-11ea-93b0-000c29920fdc', '1001-default', '12714', '0x0129', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fbeb5639-731a-11ea-93b0-000c29920fdc', '1001-default', '12720', '0x0129', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fbeed0d9-731a-11ea-93b0-000c29920fdc', '1001-default', '12717', '0x0129', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fbf19c1c-731a-11ea-93b0-000c29920fdc', '1001-default', '12715', '0x0129', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fbf501aa-731a-11ea-93b0-000c29920fdc', '1001-default', '12721', '0x0129', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fbf897e3-731a-11ea-93b0-000c29920fdc', '1001-default', '12716', '0x0129', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fbfc61f9-731a-11ea-93b0-000c29920fdc', '1001-default', '12723', '0x0129', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fbff8dc5-731a-11ea-93b0-000c29920fdc', '1001-default', '12713', '0x0129', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc035954-731a-11ea-93b0-000c29920fdc', '1001-default', '12722', '0x0129', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc067ff4-731a-11ea-93b0-000c29920fdc', '1001-default', '12718', '0x0129', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc09e28d-731a-11ea-93b0-000c29920fdc', '1001-default', '1', '0x0001', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc0cec8c-731a-11ea-93b0-000c29920fdc', '1001-default', '164', '0x0001', '0', '1001', '1', '2019-10-30 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc105fb3-731a-11ea-93b0-000c29920fdc', '1001-default', '79', '0x0002', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc130d92-731a-11ea-93b0-000c29920fdc', '1001-default', '0', '0x0003', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc15e00e-731a-11ea-93b0-000c29920fdc', '1001-default', '2011', '0x0004', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc18f798-731a-11ea-93b0-000c29920fdc', '1001-default', '2012', '0x0005', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc1c9f71-731a-11ea-93b0-000c29920fdc', '1001-default', '26', '0x0009', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc26cd69-731a-11ea-93b0-000c29920fdc', '1001-default', '19212', '0x000E', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc2aa142-731a-11ea-93b0-000c29920fdc', '1001-default', '19213', '0x000F', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc2e12e9-731a-11ea-93b0-000c29920fdc', '1001-default', '19215', '0x0107', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc30f28d-731a-11ea-93b0-000c29920fdc', '1001-default', '19214', '0x0011', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc34701b-731a-11ea-93b0-000c29920fdc', '1001-default', '19115', '0x0013', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc37d72b-731a-11ea-93b0-000c29920fdc', '1001-default', '19111', '0x0102', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc3a95e8-731a-11ea-93b0-000c29920fdc', '1001-default', '19112', '0x0103', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc3ded4a-731a-11ea-93b0-000c29920fdc', '1001-default', '19113', '0x0104', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc4179e6-731a-11ea-93b0-000c29920fdc', '1001-default', '19114', '0x0105', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc47c535-731a-11ea-93b0-000c29920fdc', '1001-default', '19311', '0x0109', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc4aa4d2-731a-11ea-93b0-000c29920fdc', '1001-default', '19312', '0x010A', '0', '1001', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc4d98b9-731a-11ea-93b0-000c29920fdc', '1001-default', '19313', '0x010B', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc50bf7e-731a-11ea-93b0-000c29920fdc', '1001-default', '19418', '0x010C', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc53d0b5-731a-11ea-93b0-000c29920fdc', '1001-default', '19411', '0x010D', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc568e9e-731a-11ea-93b0-000c29920fdc', '1001-default', '19412', '0x010E', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc59a8c3-731a-11ea-93b0-000c29920fdc', '1001-default', '19413', '0x010F', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc5c894c-731a-11ea-93b0-000c29920fdc', '1001-default', '19414', '0x0110', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc60a036-731a-11ea-93b0-000c29920fdc', '1001-default', '19415', '0x0111', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc63622e-731a-11ea-93b0-000c29920fdc', '1001-default', '19416', '0x0112', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc671725-731a-11ea-93b0-000c29920fdc', '1001-default', '19417', '0x0113', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc6ae05d-731a-11ea-93b0-000c29920fdc', '1001-default', '18', '0x0122', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc6e0f91-731a-11ea-93b0-000c29920fdc', '1001-default', '4', '0x0130', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc719128-731a-11ea-93b0-000c29920fdc', '1001-default', '5', '0x0131', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc74ad18-731a-11ea-93b0-000c29920fdc', '1001-default', '6', '0x0132', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc790277-731a-11ea-93b0-000c29920fdc', '1001-default', '7', '0x0133', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc7c17d4-731a-11ea-93b0-000c29920fdc', '1001-default', '8', '0x0134', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc7f68fe-731a-11ea-93b0-000c29920fdc', '1001-default', '9', '0x0135', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc826a29-731a-11ea-93b0-000c29920fdc', '1001-default', '10', '0x0136', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc85b7b9-731a-11ea-93b0-000c29920fdc', '1001-default', '11', '0x0137', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc89e606-731a-11ea-93b0-000c29920fdc', '1001-default', '24', '0x0138', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc8ccbd1-731a-11ea-93b0-000c29920fdc', '1001-default', '25', '0x0139', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc8fe8a6-731a-11ea-93b0-000c29920fdc', '1001-default', '12', '0x0140', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc92ef2e-731a-11ea-93b0-000c29920fdc', '1001-default', '26', '0x0141', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('fc958833-731a-11ea-93b0-000c29920fdc', '1001-default', '19', '0x0142', '0', '1001', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('30c8cc52-7324-11ea-93b0-000c29920fdc', '1091-default', '1', '0x0001', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('30cb3ed0-7324-11ea-93b0-000c29920fdc', '1091-default', '164', '0x0001', '0', '1091', '1', '2019-10-30 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('30ceeefc-7324-11ea-93b0-000c29920fdc', '1091-default', '79', '0x0002', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('30d1964c-7324-11ea-93b0-000c29920fdc', '1091-default', '0', '0x0003', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('30d497f4-7324-11ea-93b0-000c29920fdc', '1091-default', '2011', '0x0004', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('30d79dd9-7324-11ea-93b0-000c29920fdc', '1091-default', '2012', '0x0005', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('30daa25c-7324-11ea-93b0-000c29920fdc', '1091-default', '26', '0x0009', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('30ddce99-7324-11ea-93b0-000c29920fdc', '1091-default', '18', '0x000D', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('30e2261f-7324-11ea-93b0-000c29920fdc', '1091-default', '15', '0x0010', '0', '1091', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('30e57964-7324-11ea-93b0-000c29920fdc', '1091-default', '18811', '0x6501', '0', '1091', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('30e8ae55-7324-11ea-93b0-000c29920fdc', '1091-default', '18812', '0x6502', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('30ebd25c-7324-11ea-93b0-000c29920fdc', '1091-default', '18813', '0x6503', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('30eedac3-7324-11ea-93b0-000c29920fdc', '1091-default', '18815', '0x6504', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('30f2d9ee-7324-11ea-93b0-000c29920fdc', '1091-default', '18814', '0x6505', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('30f5cf05-7324-11ea-93b0-000c29920fdc', '1091-default', '18817', '0x650A', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('30f94907-7324-11ea-93b0-000c29920fdc', '1091-default', '18818', '0x6511', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('30fd05ca-7324-11ea-93b0-000c29920fdc', '1091-default', '18819', '0x652A', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('3103b915-7324-11ea-93b0-000c29920fdc', '1091-default', '18711', '0x6401', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('31072f16-7324-11ea-93b0-000c29920fdc', '1091-default', '18712', '0x6402', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('310a6356-7324-11ea-93b0-000c29920fdc', '1091-default', '18713', '0x6403', '0', '1091', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('310d6b73-7324-11ea-93b0-000c29920fdc', '1091-default', '18714', '0x6404', '0', '1091', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('31105210-7324-11ea-93b0-000c29920fdc', '1091-default', '18715', '0x6405', '0', '1091', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('31142c34-7324-11ea-93b0-000c29920fdc', '1091-default', '18911', '0x6701', '0', '1091', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('311918da-7324-11ea-93b0-000c29920fdc', '1091-default', '18912', '0x6702', '0', '1091', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('311d15c8-7324-11ea-93b0-000c29920fdc', '1091-default', '18913', '0x6703', '0', '1091', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('3120e052-7324-11ea-93b0-000c29920fdc', '1091-default', '19011', '0x6801', '0', '1091', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('3124a5cf-7324-11ea-93b0-000c29920fdc', '1091-default', '19012', '0x6802', '0', '1091', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('a3a1031f-7970-11ea-bfbf-000c294a3301', '1091-default', '23', '0x000B', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('a3a2cc88-7970-11ea-bfbf-000c294a3301', '1091-default', '28', '0x000C', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('a3a43d8c-7970-11ea-bfbf-000c294a3301', '1091-default', '18', '0x000D', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('a3a62ed5-7970-11ea-bfbf-000c294a3301', '1091-default', '149', '0x0012', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('a3a81fd9-7970-11ea-bfbf-000c294a3301', '1091-default', '148', '0x0011', '0', '1091', '1', '0000-00-00 00:00:00', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('a3aa7262-7970-11ea-bfbf-000c294a3301', '1091-default', '18816', '0x650B', '0', '1091', '1', '0000-00-00 00:00:00', 'wanxing', NULL, NULL);
INSERT INTO `zw_m_808_809_mapping` (`id`, `809_setting_id`, `808_pos`, `809_pos`, `time`, `protocol_type`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('c15d94d9-7a42-11ea-bfbf-000c294a3301', '1091-default', '2', '0x0002', '0', '1091', '1', '2020-03-31 10:55:11', 'wanxing', NULL, NULL);


#4.2.2归类
update  zw_m_risk_event set event_common_field='inConformityCertificate' ,event_common_name='人证不符' where id ='8d8cbb58-732e-11ea-93b0-000c29920fdc' and risk_event='驾驶员身份识别';
update  zw_m_risk_event set event_common_field='fatigueDriving', event_common_name='疲劳驾驶' where id ='90be641a-7259-11ea-93b0-000c29920fdc' and risk_event='疲劳驾驶报警';
update  zw_m_risk_event set event_common_field='phone' ,event_common_name='接打手持电话' where id ='90c0535f-7259-11ea-93b0-000c29920fdc' and risk_event='接打电话报警';
update  zw_m_risk_event set event_common_field='smoke' ,event_common_name='抽烟' where id ='90c46eed-7259-11ea-93b0-000c29920fdc' and risk_event='抽烟报警';
update  zw_m_risk_event set event_common_field='driverException' ,event_common_name='驾驶员异常' where id ='90c65db2-7259-11ea-93b0-000c29920fdc' and risk_event='驾驶员异常报警';
update  zw_m_risk_event set event_common_field='distractedDriving', event_common_name='分神驾驶' where id ='90c8a61a-7259-11ea-93b0-000c29920fdc' and risk_event='分神驾驶报警';
