CREATE TABLE `zw_c_custom_column` (
  `id` varchar(64) NOT NULL,
  `title` varchar(100) DEFAULT NULL COMMENT '页面显示名称',
  `name` varchar(100) DEFAULT NULL COMMENT '字段ID',
  `mark` varchar(100) DEFAULT NULL COMMENT '标识',
  `status` smallint(6) DEFAULT '0' COMMENT '列信息: 0：默认列;  1:非默认列 ; 9: 固定列',
  `sort` smallint(6) DEFAULT NULL COMMENT '默认排序',
  `column_module` varchar(50) DEFAULT NULL COMMENT '所属模块: 如实时监控中的信息列表、报警查询、主动安全、OBD数据、日志记录是同时设置列数据，对应这种多模块，用module来进行区分',
  PRIMARY KEY (`id`),
  KEY `MARK_INDEX` (`mark`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='初始列';


INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500108', '监控对象 ', 'brand', 'REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '2', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500109', '报警类型 ', 'riskType', 'REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '3', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500110', '报警等级 ', 'riskLevel', 'REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '4', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500111', '报警位置 ', 'address', 'REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '5', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500112', '报警时间 ', 'warningTime', 'REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '6', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500113', '视频/图片 ', 'picVideo', 'REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '7', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('c5d26156-56a3-11e9-83f7-000c297cf508', '操作 ', 'ope', 'REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '1', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500097', '监控对象 ', 'monitorName', 'REALTIME_MONITORING_ALARM_LIST', '0', '1', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500098', '报警时间', 'alarmTime', 'REALTIME_MONITORING_ALARM_LIST', '0', '2', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500099', '处理状态 ', 'handleStatus', 'REALTIME_MONITORING_ALARM_LIST', '0', '3', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500100', '所属分组 ', 'assignmentName', 'REALTIME_MONITORING_ALARM_LIST', '0', '4', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500101', '对象类型', 'vehicleType', 'REALTIME_MONITORING_ALARM_LIST', '0', '5', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500102', '标识颜色 ', 'plateColorName', 'REALTIME_MONITORING_ALARM_LIST', '0', '6', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500103', '报警类型 ', 'alarmType', 'REALTIME_MONITORING_ALARM_LIST', '0', '7', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500104', '从业人员 ', 'professionalsName', 'REALTIME_MONITORING_ALARM_LIST', '0', '8', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500105', '围栏类型 ', 'defenceType', 'REALTIME_MONITORING_ALARM_LIST', '0', '9', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500106', '围栏名称 ', 'defenceName', 'REALTIME_MONITORING_ALARM_LIST', '0', '10', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500107', '报警位置 ', 'alarmPosition', 'REALTIME_MONITORING_ALARM_LIST', '0', '11', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb5cf35e', '卫星颗数', 'satellitesNumber', 'REALTIME_MONITORING_LIST', '0', '20', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('5adeb575-494c-11e9-b386-782bcb5cf35e', '传感器总里程(km)', 'sensorTotalMileage', 'REALTIME_MONITORING_LIST', '1', '35', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('60b2915f-43c2-11e9-a0de-782bcb5cf35e', '监控对象', 'monitorName', 'REALTIME_MONITORING_LIST', '0', '2', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('60b7ad20-43c2-11e9-a0de-782bcb5cf35e', '定位时间', 'gpsTime', 'REALTIME_MONITORING_LIST', '0', '3', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('60bd0084-43c2-11e9-a0de-782bcb5cf35e', '服务器时间', 'uploadTime', 'REALTIME_MONITORING_LIST', '0', '4', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('60c2016d-43c2-11e9-a0de-782bcb5cf35e', '所属分组', 'assignmentName', 'REALTIME_MONITORING_LIST', '0', '5', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('60c782bc-43c2-11e9-a0de-782bcb5cf35e', '所属企业', 'groupName', 'REALTIME_MONITORING_LIST', '0', '6', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('60cf6f76-43c2-11e9-a0de-782bcb5cf35e', '对象类型', 'vehicleType', 'REALTIME_MONITORING_LIST', '0', '7', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('60d5dc27-43c2-11e9-a0de-782bcb5cf35e', '标识颜色', 'plateColorName', 'REALTIME_MONITORING_LIST', '0', '8', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('60dc80e3-43c2-11e9-a0de-782bcb5cf35e', '终端号', 'deviceNumber', 'REALTIME_MONITORING_LIST', '0', '9', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('60e31e5f-43c2-11e9-a0de-782bcb5cf35e', 'SIM卡号', 'simcardNumber', 'REALTIME_MONITORING_LIST', '0', '10', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('60e8b740-43c2-11e9-a0de-782bcb5cf35e', '从业人员', 'professionalsName', 'REALTIME_MONITORING_LIST', '0', '11', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('60eedba0-43c2-11e9-a0de-782bcb5cf35e', 'ACC', 'acc', 'REALTIME_MONITORING_LIST', '0', '12', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('60f510ee-43c2-11e9-a0de-782bcb5cf35e', '对象状态', 'objectState', 'REALTIME_MONITORING_LIST', '0', '13', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('60fb24e7-43c2-11e9-a0de-782bcb5cf35e', '信号状态', 'signalState', 'REALTIME_MONITORING_LIST', '0', '14', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('6101d999-43c2-11e9-a0de-782bcb5cf35e', '速度', 'gpsSpeed', 'REALTIME_MONITORING_LIST', '0', '15', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('61079ec2-43c2-11e9-a0de-782bcb5cf35e', '方向', 'direction', 'REALTIME_MONITORING_LIST', '0', '16', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('61131d66-43c2-11e9-a0de-782bcb5cf35e', '信号强度', 'signalStrength', 'REALTIME_MONITORING_LIST', '0', '18', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('61195100-43c2-11e9-a0de-782bcb5cf35e', '定位方式', 'locationType', 'REALTIME_MONITORING_LIST', '0', '19', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('611f3351-43c2-11e9-a0de-782bcb5cf35e', '终端当日里程(km)', 'terminalDayMileage', 'REALTIME_MONITORING_LIST', '0', '21', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('6125174f-43c2-11e9-a0de-782bcb5cf35e', '终端总里程(km)', 'terminalTotalMileage', 'REALTIME_MONITORING_LIST', '0', '22', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('61359c23-43c2-11e9-a0de-782bcb5cf35e', 'CAN油量(L)', 'gpsOil', 'REALTIME_MONITORING_LIST', '1', '23', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('613ae4af-43c2-11e9-a0de-782bcb5cf35e', '高程', 'altitude', 'REALTIME_MONITORING_LIST', '0', '24', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('61412848-43c2-11e9-a0de-782bcb5cf35e', '记录仪速度', 'grapherSpeed', 'REALTIME_MONITORING_LIST', '1', '25', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('6146f1e1-43c2-11e9-a0de-782bcb5cf35e', '位置', 'positionDescription', 'REALTIME_MONITORING_LIST', '0', '26', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('62334ecq-43c2-11e9-a0de-782bcb5cf35e', '电池电压', 'batteryVoltage', 'REALTIME_MONITORING_LIST', '1', '17', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('9c636c9e-4924-11e9-b386-782bcb5cf35e', '传感器液体量(L)', 'oilMass', 'REALTIME_MONITORING_LIST', '1', '27', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('9c67d199-4924-11e9-b386-782bcb5cf35e', '传感器当日油耗(L)', 'dayOilWear', 'REALTIME_MONITORING_LIST', '1', '28', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('9c6be7ff-4924-11e9-b386-782bcb5cf35e', '传感器总油耗(L)', 'oilExpend', 'REALTIME_MONITORING_LIST', '1', '29', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('9c70ae92-4924-11e9-b386-782bcb5cf35e', '电量电压', 'elecData', 'REALTIME_MONITORING_LIST', '1', '30', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('9c761aa2-4924-11e9-b386-782bcb5cf35e', '传感器温度(℃)', 'temperatureSensor', 'REALTIME_MONITORING_LIST', '1', '31', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('9c7bdea7-4924-11e9-b386-782bcb5cf35e', '传感器湿度(%)', 'temphumiditySensor', 'REALTIME_MONITORING_LIST', '1', '32', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('9c842038-4924-11e9-b386-782bcb5cf35e', '传感器正反转状态', 'positiveNegative', 'REALTIME_MONITORING_LIST', '1', '33', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('9c8a673f-4924-11e9-b386-782bcb5cf35e', '传感器当日里程(km)', 'sensorDayMileage', 'REALTIME_MONITORING_LIST', '1', '34', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('9c912143-4924-11e9-b386-782bcb5cf35e', '传感器载荷重量(kg)', 'loadInfos', 'REALTIME_MONITORING_LIST', '1', '36', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('9c97dd91-4924-11e9-b386-782bcb5cf35e', '传感器工时状态', 'workHourSensor', 'REALTIME_MONITORING_LIST', '1', '37', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('9c9ec4f1-4924-11e9-b386-782bcb5cf35e', '终端IO状态', 'terminalIOStatus', 'REALTIME_MONITORING_LIST', '1', '38', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('9ca4cb53-4924-11e9-b386-782bcb5cf35e', '传感器IO状态', 'sensorIOStatus', 'REALTIME_MONITORING_LIST', '1', '39', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('9caaa4c1-4924-11e9-b386-782bcb5cf35e', '传感器轮胎气压(bar)', 'tyreInfos', 'REALTIME_MONITORING_LIST', '1', '40', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500090', '操作时间', 'eventDate', 'REALTIME_MONITORING_LOG_LIST', '0', '1', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500091', 'ip地址', 'ipAddress', 'REALTIME_MONITORING_LOG_LIST', '0', '2', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500092', '操作人', 'username', 'REALTIME_MONITORING_LOG_LIST', '0', '3', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500093', '监控对象', 'brand', 'REALTIME_MONITORING_LOG_LIST', '0', '4', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500094', '标识颜色', 'plateColorStr', 'REALTIME_MONITORING_LOG_LIST', '0', '5', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500095', '操作内容', 'content', 'REALTIME_MONITORING_LOG_LIST', '0', '6', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500096', '日志来源 ', 'logType', 'REALTIME_MONITORING_LOG_LIST', '0', '7', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500001', '仪表总里程(Km)', 'obdTotalMileage', 'REALTIME_MONITORING_OBD_LIST', '0', '5', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500002', '累计里程(Km)', 'obdAccumulatedMileage', 'REALTIME_MONITORING_OBD_LIST', '0', '6', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500003', '累计总油耗(L)', 'obdTotalOilConsumption', 'REALTIME_MONITORING_OBD_LIST', '0', '7', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500004', '瞬时油耗(L/h)', 'obdInstantOilConsumption', 'REALTIME_MONITORING_OBD_LIST', '0', '8', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500005', '仪表车速(km/h)', 'obdInstrumentSpeed', 'REALTIME_MONITORING_OBD_LIST', '0', '9', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500006', '转速(rpm)', 'obdRotationRate', 'REALTIME_MONITORING_OBD_LIST', '0', '10', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500007', '机油压力(Pa)', 'obdOilPressure', 'REALTIME_MONITORING_OBD_LIST', '0', '11', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500008', '电池电压(V)', 'obdBatteryVoltage', 'REALTIME_MONITORING_OBD_LIST', '0', '12', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500009', '水温(℃)', 'obdWaterTemperature', 'REALTIME_MONITORING_OBD_LIST', '0', '13', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500010', '车辆油箱油量(L)', 'obdOilQuantity', 'REALTIME_MONITORING_OBD_LIST', '0', '14', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500011', '油箱液位高度(mm)', 'obdOilTankLevelHeight', 'REALTIME_MONITORING_OBD_LIST', '0', '15', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500012', '仪表记录的短途行驶里程(Km)', 'obdShortDistanceMileage', 'REALTIME_MONITORING_OBD_LIST', '0', '16', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500013', '发/电动机运行时间(h)', 'obdEngineRunningTime', 'REALTIME_MONITORING_OBD_LIST', '0', '17', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500014', '扭矩(N·m)', 'obdTorque', 'REALTIME_MONITORING_OBD_LIST', '0', '18', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500015', '尿素液位(mm)', 'obdUreaLevel', 'REALTIME_MONITORING_OBD_LIST', '0', '19', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500016', '刹车状态(脚刹)', 'obdFootBrakeStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '20', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500017', '远光灯状态', 'obdHighBeamStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '21', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500018', '近光灯状态', 'obdDippedHeadlightStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '22', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500019', '小灯状态', 'obdSmallLampStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '23', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500020', '示宽灯状态', 'obdIndicatorLampStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '24', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500021', '雾灯状态', 'obdFogLampStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '25', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500022', '左转向灯状态', 'obdLeftTurnLampStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '26', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500023', '右转向灯状态', 'obdRightTurnLampStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '27', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500024', '应急灯状态', 'obdEmergencyLampStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '28', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500025', '左前门状态', 'obdLeftFrontDoorStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '29', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500026', '右前门状态', 'obdRightFrontDoorStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '30', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500027', '左后门状态', 'obdLeftRearDoorStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '31', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500028', '右后门状态', 'obdRightRearDoorStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '32', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500029', '尾箱门状态', 'obdTailBoxDoorStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '33', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500030', '全车锁', 'obdFullVehicleLockStr', 'REALTIME_MONITORING_OBD_LIST', '0', '34', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500031', '左前门锁', 'obdLeftFrontDoorLockStr', 'REALTIME_MONITORING_OBD_LIST', '0', '35', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500032', '右前门锁', 'obdRightFrontDoorLockStr', 'REALTIME_MONITORING_OBD_LIST', '0', '36', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500033', '左后门锁', 'obdLeftRearDoorLockStr', 'REALTIME_MONITORING_OBD_LIST', '0', '37', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500034', '右后门锁', 'obdRightRearDoorLockStr', 'REALTIME_MONITORING_OBD_LIST', '0', '38', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500035', '左前窗状态', 'obdLeftFrontWindowStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '39', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500036', '右前窗状态', 'obdRightFrontWindowStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '40', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500037', '左后窗状态', 'obdLeftRearWindowStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '41', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500038', '右后窗状态', 'obdRightRearWindowStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '42', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500039', '故障信号(ECM)', 'obdFaultSignalECMStr', 'REALTIME_MONITORING_OBD_LIST', '0', '43', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500040', '故障信号(ABS)', 'obdFaultSignalABSStr', 'REALTIME_MONITORING_OBD_LIST', '0', '44', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500041', '故障信号(SRS)', 'obdFaultSignalSRSStr', 'REALTIME_MONITORING_OBD_LIST', '0', '45', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500042', '报警信号(机油)', 'obdAlarmSignalEngineOilStr', 'REALTIME_MONITORING_OBD_LIST', '0', '46', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500043', '报警信号(胎压)', 'obdAlarmSignalTirePressureStr', 'REALTIME_MONITORING_OBD_LIST', '0', '47', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500044', '报警信号(保养)', 'obdAlarmSignalMaintainStr', 'REALTIME_MONITORING_OBD_LIST', '0', '48', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500045', '安全气囊状态', 'obdSafetyAirBagStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '49', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500046', '刹车状态(手刹)', 'obdHandBrakeStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '50', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500047', '离合状态', 'obdClutchStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '51', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500048', '安全带(驾驶员)', 'obdSafetyBeltStatusDriverStr', 'REALTIME_MONITORING_OBD_LIST', '0', '52', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500049', '安全带(副驾)', 'obdSafetyBeltStatusDeputyDrivingStr', 'REALTIME_MONITORING_OBD_LIST', '0', '53', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500050', 'ACC信号', 'obdACCSignalStr', 'REALTIME_MONITORING_OBD_LIST', '0', '54', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500051', '钥匙状态', 'obdKeyStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '55', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500052', '雨刮状态', 'obdWiperStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '56', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500053', '空调开关', 'obdAirConditionerStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '57', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500054', '档位', 'obdGearPositionStr', 'REALTIME_MONITORING_OBD_LIST', '0', '58', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500055', '油门踏板', 'obdAcceleratorPedalStr', 'REALTIME_MONITORING_OBD_LIST', '0', '59', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500056', '方向盘转角状态', 'obdSteeringWheelAngleStatusStr', 'REALTIME_MONITORING_OBD_LIST', '0', '60', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500057', '能源类型', 'obdEnergyTypeStr', 'REALTIME_MONITORING_OBD_LIST', '0', '61', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500058', 'OBD状态(MIL故障灯)', 'obdMILFaultLampStr', 'REALTIME_MONITORING_OBD_LIST', '0', '62', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500059', '续航里程(Km)', 'obdEnduranceMileage', 'REALTIME_MONITORING_OBD_LIST', '0', '63', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500060', '油量百分比(%)', 'obdPercentageOfOil', 'REALTIME_MONITORING_OBD_LIST', '0', '64', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500061', '瞬时百公里油耗(L/100Km)', 'obdInstant100KmOilConsumption', 'REALTIME_MONITORING_OBD_LIST', '0', '65', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500062', '平均百公里油耗(L/100Km)', 'obdAverage100KmOilConsumption', 'REALTIME_MONITORING_OBD_LIST', '0', '66', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500063', '发动机进气温度(℃)', 'obdEngineIntakeTemperature', 'REALTIME_MONITORING_OBD_LIST', '0', '67', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500064', '车内空调温度(℃)', 'obdAirConditioningTemperature', 'REALTIME_MONITORING_OBD_LIST', '0', '68', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500065', '电机温度(℃)', 'obdMotorTemperature', 'REALTIME_MONITORING_OBD_LIST', '0', '69', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500066', '控制器温度(℃)', 'obdControllerTemperature', 'REALTIME_MONITORING_OBD_LIST', '0', '70', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500067', '三元催化器温度(℃)', 'obdTernaryCatalystTemperature', 'REALTIME_MONITORING_OBD_LIST', '0', '71', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500068', '机油温度(℃)', 'obdEngineOilTemperature', 'REALTIME_MONITORING_OBD_LIST', '0', '72', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500069', '燃油温度(℃)', 'obdFuelTemperature', 'REALTIME_MONITORING_OBD_LIST', '0', '73', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500070', '增压空气温度(℃)', 'obdSuperchargedAirTemperature', 'REALTIME_MONITORING_OBD_LIST', '0', '74', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500071', '转速计算车速(km/h)', 'obdSpeedByRotationalSpeedCalculation', 'REALTIME_MONITORING_OBD_LIST', '0', '75', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500072', '空气流量(g/s)', 'obdAirFlowRate', 'REALTIME_MONITORING_OBD_LIST', '0', '76', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500073', '进气压力(Pa)', 'obdIntakePressure', 'REALTIME_MONITORING_OBD_LIST', '0', '77', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500074', '喷油量(ml/s)', 'obdFuelInjectionQuantity', 'REALTIME_MONITORING_OBD_LIST', '0', '78', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500075', '油门踏板相对位置(%)', 'obdRelativePositionOfThrottlePedal', 'REALTIME_MONITORING_OBD_LIST', '0', '79', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500076', '方向盘转角角度(度)', 'obdSteeringWheelAngle', 'REALTIME_MONITORING_OBD_LIST', '0', '80', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500077', '电池剩余电量(%)', 'obdBatteryRemainingElectricity', 'REALTIME_MONITORING_OBD_LIST', '0', '81', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500078', '车辆行程耗油量(L)', 'obdVehicleTravelFuelConsumption', 'REALTIME_MONITORING_OBD_LIST', '0', '82', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500079', '行程内离合次数(次)', 'obdNumberOfClutchesDuringTravel', 'REALTIME_MONITORING_OBD_LIST', '0', '83', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500080', '行程内脚刹次数(次)', 'obdNumberOfFootBrakesDuringTravel', 'REALTIME_MONITORING_OBD_LIST', '0', '84', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500081', '行程内手刹次数(次)', 'obdNumberOfHandBrakesDuringTravel', 'REALTIME_MONITORING_OBD_LIST', '0', '85', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500082', '发动机负荷(%)', 'obdEngineLoad', 'REALTIME_MONITORING_OBD_LIST', '0', '86', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500083', '扭矩百分比(%)', 'obdTorquePercentage', 'REALTIME_MONITORING_OBD_LIST', '0', '87', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500084', '大气压力(Pa)', 'obdAtmosphericPressure', 'REALTIME_MONITORING_OBD_LIST', '0', '88', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500085', '前氧传感器示值', 'obdFrontOxygenSensorValue', 'REALTIME_MONITORING_OBD_LIST', '0', '89', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500086', '后氧传感器示值', 'obdRearOxygenSensorValue', 'REALTIME_MONITORING_OBD_LIST', '0', '90', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500087', 'SCR', 'obdSCR', 'REALTIME_MONITORING_OBD_LIST', '0', '91', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500088', '氧化氮超限报警状态', 'obdNitricOxideOverrunAlarmStatus', 'REALTIME_MONITORING_OBD_LIST', '0', '92', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500089', 'NOx浓度值范围', 'obdNOxConcentrationRange', 'REALTIME_MONITORING_OBD_LIST', '0', '93', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500114', '监控对象', 'monitorName', 'REALTIME_MONITORING_OBD_LIST', '0', '1', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500115', '定位时间', 'serviceGpsTime', 'REALTIME_MONITORING_OBD_LIST', '0', '2', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500116', '服务器时间', 'serviceSystemTime', 'REALTIME_MONITORING_OBD_LIST', '0', '3', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500117', '所属企业', 'groupName', 'REALTIME_MONITORING_OBD_LIST', '0', '4', 'REALTIME_MONITORING');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500118', '报警信息', 'obdAlarmInfo', 'REALTIME_MONITORING_OBD_LIST', '0', '94', 'REALTIME_MONITORING');



CREATE TABLE `zw_c_custom_column_config` (
  `id` varchar(64) NOT NULL,
  `column_id` varchar(64) NOT NULL COMMENT '初始化列ID',
  `user_id` varchar(64) NOT NULL COMMENT '用户ID',
  `sort` int(6) NOT NULL COMMENT '字段排序',
  `is_fix` smallint(6) NOT NULL DEFAULT '0' COMMENT '是否固定列: 0::不固定, 1:固定',
  `flag` smallint(6) DEFAULT '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,
  `mark` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `UK_QUERY_INDEX` (`user_id`,`column_id`,`flag`) USING BTREE COMMENT '列ID+用户ID,确定唯一性'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户个性化列';
delete from zw_m_risk_event;
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`) VALUES ('04a349f3-6d43-456e-8929-e06a03ba09d8', '车距过近', '碰撞危险', '车距过近碰撞危险', '1', '2017-08-08 15:32:51', NULL, NULL, NULL, '6403');
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`) VALUES ('10743826-e144-4079-981f-e20ca23c735a', '急加速', '碰撞危险', '急加/急减/急转弯危险说明', '1', '2018-07-19 10:48:01', NULL, NULL, NULL, '64081');
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`) VALUES ('15354cd2-64cb-4194-ac5b-932e5180fa70', '接打手持电话', '注意力分散', '接打电话分心驾驶说明', '1', '2017-08-22 17:48:46', NULL, NULL, NULL, '6502');
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`) VALUES ('1a8ee493-f7a5-4fb6-8337-f8adc16b02da', '急转弯', '碰撞危险', '急加/急减/急转弯危险说明', '1', '2018-07-19 10:48:01', NULL, NULL, NULL, '64083');
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`) VALUES ('28103b10-5c7a-44ba-949e-2202e351c936', '抽烟', '注意力分散', '抽烟分心驾驶说明', '1', '2017-08-23 17:48:42', NULL, NULL, '', '6503');
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`) VALUES ('48dcc69e-3dab-4d5b-ba76-0cd6a27f5ab6', '车道左偏移', '碰撞危险', '车道偏移碰撞危险说明', '1', '2018-07-19 10:48:01', NULL, NULL, NULL, '64021');
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`) VALUES ('62e9c74a-a013-4253-beac-d15f081961d2', '人证不符', '违规异常', '人证不符说明', '1', '2017-09-27 17:48:38', NULL, NULL, NULL, '6509');
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`) VALUES ('99e6c60e-d070-4685-817e-5b08b462c2e5', '闭眼', '疑似疲劳', '闭眼疲劳驾驶说明', '1', '2017-08-15 17:47:57', NULL, NULL, NULL, '6506');
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`) VALUES ('a30465b2-761a-4cfa-99f1-d61521e18e11', '车道右偏移', '碰撞危险', '车道偏移碰撞危险说明', '1', '2017-08-08 15:32:51', NULL, NULL, NULL, '64022');
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`) VALUES ('ac1ac405-e839-47ed-9ae7-44ce10d90e87', '急加/急减/急转弯', '碰撞危险', '急加/急减/急转弯危险说明', '0', '2018-07-19 10:48:01', NULL, NULL, NULL, '6408');
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`) VALUES ('bc5693d9-7ab6-4dd8-845d-006de8d97144', '道路标识识别', '碰撞危险', '道路标识识别危险说明', '0', '2018-07-19 10:48:01', NULL, NULL, NULL, '6410');
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`) VALUES ('c1165401-2213-49f1-89a2-c76b2492c6a7', '前向碰撞', '碰撞危险', '前向碰撞碰撞危险说明', '1', '2017-08-31 17:48:52', NULL, NULL, NULL, '6401');
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`) VALUES ('c4b76245-ad82-4c9b-b280-62fd3f67113f', '车道偏移', '碰撞危险', '车道偏移碰撞危险说明', '0', '2017-08-29 17:48:01', NULL, NULL, NULL, '6402');
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`) VALUES ('c6c9a916-bb31-8168-b75c-c6sd41f4b34', '红外阻断报警', '违规异常', '红外阻断报警说明', '1', '2019-02-19 10:43:10', NULL, NULL, NULL, '6512');
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`) VALUES ('de4c8ad4-ca37-4b48-93d0-a7b9198dd491', '急减速', '碰撞危险', '急加/急减/急转弯危险说明', '1', '2018-07-19 10:48:01', NULL, NULL, NULL, '64082');
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`) VALUES ('e2674b7f-4752-4087-b99e-429ec118dc5d', '打哈欠', '疑似疲劳', '打哈欠疲劳驾驶说明', '1', '2017-08-15 17:48:04', NULL, NULL, NULL, '6507');
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`) VALUES ('e316c1df-72dd-4142-8b8d-bb187dbcd2ad', '行人碰撞', '碰撞危险', '行人碰撞碰撞危险说明', '1', '2017-08-23 09:46:52', NULL, NULL, NULL, '6404');
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`) VALUES ('e46db246-5a84-4031-9c98-2b9fdaa77687', '驾驶员不在驾驶位置', '违规异常', '未检测到驾驶员说明', '1', '2017-09-27 17:48:38', NULL, NULL, NULL, '6510');
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`) VALUES ('e939e7a4-b160-4ca9-9a5a-52284814a8e1', '长时间不目视前方', '注意力分散', '姿态异常说明', '1', '2017-09-27 17:48:38', NULL, NULL, NULL, '6508');
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`) VALUES ('f56c9916-e056-5c74-b75c-c6e2e44b06b34', '遮挡报警', '违规异常', '遮挡报警说明', '1', '2019-02-19 10:42:10', NULL, NULL, NULL, '6511');
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`) VALUES ('f61868c6-51b2-492e-a3ed-7cd62bcdd70d', '频繁变道', '碰撞危险', '频繁变道前向危险说明', '1', '2017-08-24 17:48:56', NULL, NULL, NULL, '6405');
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`) VALUES ('f74dd84a-e056-4c95-b75c-c63adca33561', '道路标识超限', '碰撞危险', '道路标识超限危险说明', '1', '2018-07-19 10:48:01', NULL, NULL, NULL, '6409');
alter table `zw_m_vehicle_adas_event`  add column   `keep_out` int(11) DEFAULT '0' COMMENT '(风险事件遮挡)';
alter table `zw_m_vehicle_adas_event`  add column   `infrared_blocking` int(11) DEFAULT '0' COMMENT '(风险事件红外阻断)';
alter table `zw_m_vehicle_adas_event`  add column   `group_id` varchar(255) DEFAULT NULL COMMENT '企业id';
alter table `zw_m_vehicle_adas_event`  add column `total` int(11) DEFAULT '0';
UPDATE zw_m_risk_event set risk_event ='红外阻断'  where risk_event='红外阻断报警' ;
UPDATE zw_m_risk_event set risk_event ='遮挡'  where risk_event='遮挡报警' ;

-- 4.0.0 一期
-- 增加报警类型协议字段
ALTER TABLE zw_m_alarm_type ADD COLUMN protocol_type SMALLINT(6) DEFAULT 1 COMMENT '0:JT/T808-2013;1:808-2013/2019共公部分;11:JT/T808-2019';
-- 增加报警类型: 用于区分平台报警和终端报警
ALTER TABLE zw_m_alarm_type ADD COLUMN platform_or_device SMALLINT(6) DEFAULT 0 COMMENT '0:平台; 1: 终端';
-- 设置终端报警标识
UPDATE zw_m_alarm_type SET platform_or_device = 1 WHERE `type` in("alert","driverAlarm","vehicleAlarm","faultAlarm");
UPDATE zw_m_risk_event set risk_event='车道左偏离' where risk_event ='车道左偏移';
UPDATE zw_m_risk_event set risk_event='车道右偏离' where risk_event ='车道右偏移';

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 ('c509064e-fabe-5b14-c26f-9625c89a394b', '', '车辆综合信息报表', '0', NULL, '', '/m/reportManagement/vehGeneralInfo/list', '', 'f9c65d06-f40e-11e6-bc64-92361f006689', '123', '1', '1', NULL, NULL, NULL, NULL, NULL, NULL, '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 ('f9c65d06-f40e-11e6-bc64-92361f006700', NULL, '行驶记录仪报表', '0', NULL, 'drivingRecordCollection', '/m/reportManagement/drivingRecord/list', NULL, 'f9c65d06-f40e-11e6-bc64-92361f006689', '150', '1', '1', NULL, NULL, NULL, NULL, NULL, '90041', '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`
)VALUES ('01351ee2-bb84-11e6-a4a6-cec0c932ce02','违规行驶报警',NULL,1,NULL,NULL,NULL,NULL,'driverAlarm',NULL,'1','15'),
('01351ee2-bb84-11e6-a4a6-cec0c932ce03','前撞报警',NULL,1,NULL,NULL,NULL,NULL,'driverAlarm',NULL,'0','148'),
('01351ee2-bb84-11e6-a4a6-cec0c932ce04','车道偏离报警',NULL,1,NULL,NULL,NULL,NULL,'driverAlarm',NULL,'0','149'),
('0134fa20-bb84-11e6-a4a6-cec0c932ce02','胎压异常报警',NULL,1,NULL,NULL,NULL,NULL,'faultAlarm',NULL,'0','16'),
('0134fa20-bb84-11e6-a4a6-cec0c932ce03','右转盲区异常报警',NULL,1,NULL,NULL,NULL,NULL,'faultAlarm',NULL,'0','17'),
('2134deb4-bb84-11e6-a4a6-cec0c932ce01','ACC信号异常报警',NULL,1,NULL,NULL,NULL,NULL,'platAlarm','','0','150'),
('0334e0bc-bb84-11e6-a4a6-cec0c932ce01','位置信息异常报警',NULL,1,NULL,NULL,NULL,NULL,'platAlarm','','0','151');

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 ('bcaa98cc-667f-11e9-9cb1-000c297cf508', 'param1', '01351ee2-bb84-11e6-a4a6-cec0c932ce02', NULL, '违规行驶时段', '1', '2019-04-28 00:00:00', 'zhouzongbo', 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 ('bcb1486b-667f-11e9-9cb1-000c297cf508', 'param1', '01351ee2-bb84-11e6-a4a6-cec0c932ce03', NULL, NULL, '1', '2019-04-28 00:00:00', 'zhouzongbo', 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 ('bcb87154-667f-11e9-9cb1-000c297cf508', 'param1', '01351ee2-bb84-11e6-a4a6-cec0c932ce04', NULL, NULL, '1', '2019-04-28 00:00:00', 'zhouzongbo', 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 ('bcbcc5a6-667f-11e9-9cb1-000c297cf508', 'param1', '0134fa20-bb84-11e6-a4a6-cec0c932ce02', NULL, NULL, '1', '2019-04-28 00:00:00', 'zhouzongbo', 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 ('bcc1affe-667f-11e9-9cb1-000c297cf508', 'param1', '0134fa20-bb84-11e6-a4a6-cec0c932ce03', NULL, NULL, '1', '2019-04-28 00:00:00', 'zhouzongbo', 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 ('bcc7b0df-667f-11e9-9cb1-000c297cf508', 'param1', '2134deb4-bb84-11e6-a4a6-cec0c932ce01', '30', '异常持续时间，单位：分钟', '1', '2019-04-28 00:00:00', 'zhouzongbo', 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 ('bcc7b0df-667f-11e9-9cb1-000c297cf999', 'param2', '2134deb4-bb84-11e6-a4a6-cec0c932ce01', '30', '最高速度，单位：km/h', '1', '2019-04-28 00:00:00', 'zhouzongbo', 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 ('bccd2eaa-667f-11e9-9cb1-000c297cf508', 'param1', '0334e0bc-bb84-11e6-a4a6-cec0c932ce01', '30', '异常持续时间，单位：分钟', '1', '2019-04-28 00:00:00', 'zhouzongbo', NULL, NULL, NULL);

CREATE TABLE `zw_m_driving_record_collection` (
  `id` varchar(64) NOT NULL COMMENT 'id',
  `monitor_id` varchar(64) default NULL COMMENT '监控对象ID(人车物)',
  `monitor_name` varchar(64) default NULL COMMENT '车牌号',
  `group_name` varchar(64) default NULL COMMENT '所属企业',
  `collection_command` VARCHAR(64) DEFAULT NULL COMMENT '采集命令',
  `collection_command_describe` VARCHAR(64) DEFAULT NULL COMMENT '采集命令描述',
  `msgSNAck` int(11) DEFAULT NULL COMMENT '流水号',
  `message` longtext CHARACTER SET utf8mb4 COMMENT '内容',
  `flag` smallint(6) DEFAULT '1',
  `create_data_time` datetime DEFAULT NULL COMMENT '下发时间',
  `create_data_username` varchar(64) DEFAULT NULL,
  `update_data_time` datetime DEFAULT NULL COMMENT '采集时间',
  `update_data_username` varchar(64) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT '行驶记录仪采集';

ALTER TABLE zw_m_marker ADD COLUMN mark_icon smallint(6) DEFAULT '0' COMMENT '标注类型图标: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 ('1aee3ed7-7baa-11e9-9de7-000c294a3301', '碰撞侧翻报警', NULL, '1', NULL, NULL, NULL, NULL, 'alert', '单位4ms改为ms', '1', '158', '0', '11');
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 ('1aeb986a-7baa-11e9-9de7-000c294a3301', '危险驾驶行为报警', NULL, '1', NULL, NULL, NULL, NULL, 'alert', NULL, '0', '157', '0', '11');

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 ('8b75eedf-7baa-11e9-9de7-000c294a3301', 'param1', '1aee3ed7-7baa-11e9-9de7-000c294a3301', 200, '碰撞时间，单位：毫秒', '1', '2019-05-21 12:00:02', 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 ('8b783fcd-7baa-11e9-9de7-000c294a3301', 'param2', '1aee3ed7-7baa-11e9-9de7-000c294a3301', 10, '碰撞加速度，单位：0.1g，范围：0-79', '1', '2019-05-21 13:00:03', 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 ('8b741050-7baa-11e9-9de7-000c294a3301', 'param1', '1aeb986a-7baa-11e9-9de7-000c294a3301', NULL, NULL, '1', '2019-05-21 11:00:01', NULL, NULL, NULL, NULL);
UPDATE zw_m_alarm_parameter SET default_value = 5 WHERE id = '5b9b15ce-bc26-11e6-a4a6-cec0c932ce01';
UPDATE zw_m_alarm_parameter SET default_value = 1800 WHERE id = '5b9b17c2-bc26-11e6-a4a6-cec0c932ce01';
UPDATE zw_m_alarm_parameter SET default_value = 30 WHERE id = '5b9b229e-bc26-11e6-a4a6-cec0c932ce01';

UPDATE zw_m_alarm_parameter SET default_value = 200 WHERE id = '5b9b195c-bc26-11e6-a4a6-cec0c932ce01';
UPDATE zw_m_alarm_parameter SET default_value = 10 WHERE id = '5b9b208c-bc26-11e6-a4a6-cec0c932ce01';

ALTER TABLE zw_m_fence_config ADD COLUMN night_max_speed int DEFAULT NULL COMMENT '夜间最高速度(km/h)';
ALTER TABLE zw_m_fence_config ADD COLUMN night_limit_time VARCHAR(30) DEFAULT NULL COMMENT '夜间限速时间段';

ALTER TABLE zw_m_line_segment ADD COLUMN night_max_speed int DEFAULT NULL COMMENT '夜间最高速度(km/h)';
ALTER TABLE zw_m_line_segment ADD COLUMN night_limit_time VARCHAR(30) DEFAULT NULL COMMENT '夜间限速时间段';

ALTER TABLE zw_m_information_param ADD COLUMN send_frequency SMALLINT(6) DEFAULT 0 COMMENT '下发频率: 0: 45s; 1: 60s; 2: 75s';
ALTER TABLE zw_m_information_param ADD COLUMN message_content VARCHAR(200) DEFAULT NULL COMMENT '信息内容';

ALTER TABLE zw_m_unknow_device MODIFY COLUMN `device_id` varchar(30) DEFAULT NULL COMMENT '设备ID';
ALTER TABLE zw_m_unknow_device MODIFY COLUMN `device_type` varchar(30) DEFAULT NULL COMMENT '设备类型';
ALTER TABLE zw_m_device_info MODIFY COLUMN `manufacturer_id` varchar(20) DEFAULT NULL COMMENT '注册信息-制造商ID';
ALTER TABLE zw_m_device_info MODIFY COLUMN `device_modelNumber` varchar(30) DEFAULT NULL COMMENT '注册信息-终端型号';

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 ('7150a10d-8071-11e9-9de7-000c294a3301', '100-default', '151', '0xA002', '0', '100', '1', '2019-05-23 13:44:40', '猜猜我是谁', 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 ('debc8b25-834c-11e9-9de7-000c294a3301', '100-default', '2', '0x0002', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', 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 ('debe83de-834c-11e9-9de7-000c294a3301', '100-default', '0', '0x0003', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', 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 ('dec0a509-834c-11e9-9de7-000c294a3301', '100-default', '2011', '0x0004', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', 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 ('dec2dda4-834c-11e9-9de7-000c294a3301', '100-default', '2111', '0x0004', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', 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 ('dec4b9d2-834c-11e9-9de7-000c294a3301', '100-default', '2012', '0x0005', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', 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 ('dec760aa-834c-11e9-9de7-000c294a3301', '100-default', '2112', '0x0005', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', 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 ('decaa761-834c-11e9-9de7-000c294a3301', '100-default', '26', '0x0009', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', 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 ('decdf4d4-834c-11e9-9de7-000c294a3301', '100-default', '23', '0x000B', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', 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 ('ded0fb1a-834c-11e9-9de7-000c294a3301', '100-default', '28', '0x000C', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', 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 ('ded3cdfe-834c-11e9-9de7-000c294a3301', '100-default', '1', '0x0001', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', 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 ('ded708f5-834c-11e9-9de7-000c294a3301', '100-default', '18', '0x000D', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', NULL, NULL);

-- 设置公共部分
UPDATE zw_m_alarm_type SET protocol_type = 0;
-- 设置13版报警
UPDATE zw_m_alarm_type SET protocol_type = 1 WHERE `name` IN("非法开门报警","碰撞预警","危险预警");
-- 设置19版报警
UPDATE zw_m_alarm_type SET protocol_type = 11 WHERE `name` IN("违规行驶报警","前撞报警","车道偏离报警","胎压异常报警","右转盲区异常报警","危险驾驶行为报警","碰撞侧翻报警");

ALTER TABLE zw_m_device_info MODIFY COLUMN device_type varchar(50) DEFAULT NULL COMMENT '设备类型:0:交通部JT/T808-2011(扩展);1:交通部JT/T808-2013;2:移为GV320;3:天禾;5:北斗天地协议;8:博实结;9:ASO;10:F3超长待机;11:808-2019';
ALTER TABLE zw_m_device_info MODIFY COLUMN `device_modelNumber` varchar(40) DEFAULT NULL COMMENT '注册信息-终端型号';

ALTER TABLE zw_m_communication_param ADD COLUMN slave_server_call_user_name VARCHAR(20) DEFAULT NULL COMMENT '从服务器无线通信拨号用户名';
ALTER TABLE zw_m_communication_param ADD COLUMN slave_server_call_user_pwd varchar(64) DEFAULT NULL COMMENT '从服务器无线通信拨号密码';
ALTER TABLE zw_m_communication_param ADD COLUMN slave_server_address varchar(50) DEFAULT NULL COMMENT '从服务器地址';
ALTER TABLE zw_m_communication_param ADD COLUMN slave_server_apn varchar(30) DEFAULT NULL COMMENT '从服务器APN';
ALTER TABLE  zw_m_device_connect_param ADD COLUMN c_authCode varchar(45) DEFAULT NULL COMMENT '监管平台鉴权码';

-- ACC异常
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 ("7150a10d-8071-11e9-9de7-000c294a5zzb", '100-default', '150', '0xA002', '0', '100', '1', '2019-05-23 13:44:40', '猜猜我是谁', 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 ("7150a10d-8071-11e9-9de7-000c294a6zzb", '100-default', '15', '0x0010', '0', '100', '1', '2019-05-23 13:44:40', '猜猜我是谁', 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 ("7150a10d-8071-11e9-9de7-000c294a7zzb", '100-default', '148', '0x0011', '0', '100', '1', '2019-05-23 13:44:40', '猜猜我是谁', 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 ("7150a10d-8071-11e9-9de7-000c294a8zzb", '100-default', '149', '0x0012', '0', '100', '1', '2019-05-23 13:44:40', '猜猜我是谁', 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 ("7150a10d-8071-11e9-9de7-000c294a9zzb", '100-default', '16', '0x0013', '0', '100', '1', '2019-05-23 13:44:40', '猜猜我是谁', NULL, 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 ('fc1377d5-840a-11e9-ad06-000c29920fdc', NULL, '轨迹有效性报表', '0', NULL, 'trackValidReport', '/m/trackValidReport/list', NULL, 'f9c65d06-f40e-11e6-bc64-92361f006689', '153', '1', '1', NULL, NULL, NULL, NULL, NULL, '90043', '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('f9c65d06-f40e-11e6-bc64-92361f006701',NULL,'车辆运营状态报表','0',NULL,'vehicleOperation','/m/reportManagement/vehicle/operationStatus/list',NULL,'f9c65d06-f40e-11e6-bc64-92361f006689','152','1','1',NULL,NULL,NULL,NULL,NULL,'90042','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 ('80a716b7-7912-11e9-9de7-000c294a3301', NULL, '报警信息统计', '0', NULL, 'alarmMessageStatistic', '/m/reportManagement/alarmMessageStatistic/list', NULL, 'f9c65d06-f40e-11e6-bc64-92361f006689', '151', '1', '1', NULL, NULL, NULL, NULL, NULL, '120051', '1');

ALTER TABLE zw_m_professionals_info ADD COLUMN native_place VARCHAR(25) COMMENT '籍贯';
ALTER TABLE zw_m_professionals_info ADD COLUMN regional VARCHAR(25) COMMENT '所属地域';
ALTER TABLE zw_m_sim_card_info ADD COLUMN placement_city VARCHAR(25) COMMENT '发放地市';
ALTER TABLE  zw_m_vehicle_info ADD COLUMN trade_name varchar(30) DEFAULT NULL COMMENT '行业类别';
 
UPDATE zw_m_alarm_type SET sendFlag = 0 WHERE id IN('2134deb4-bb84-11e6-a4a6-cec0c932ce01','0334e0bc-bb84-11e6-a4a6-cec0c932ce01');

CREATE INDEX ALARM_SETTING_idx ON zw_m_alarm_parameter_setting(flag, vehicle_id, alarm_parameter_id);
CREATE INDEX ALARM_TYPE_idx ON zw_m_alarm_parameter(alarm_type_id);

ALTER TABLE zw_m_risk_event ADD COLUMN protocol_type TINYINT DEFAULT NULL COMMENT '协议类型 12:川标,1:黑标,13:冀表';
UPDATE zw_m_risk_event SET protocol_type =1 WHERE protocol_type IS NULL;
INSERT INTO `zw_m_risk_event`
VALUES ('405c5381-98f8-4f8d-8a68-f911527f132d', '急转弯', '碰撞危险', '急加/急减/急转弯危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '1264083', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('5bd4ea6b-8fc1-482c-a60f-d4bac6c210df', '急加速', '碰撞危险', '急加/急减/急转弯危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '1264081', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('583d5e32-5d5b-4f77-95df-4c4e6dc204e0', '急减速', '碰撞危险', '急加/急减/急转弯危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '1264082', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('b5de0920-3727-4fbd-88af-6e9532b5e8ba', '道路标识超限', '碰撞危险', '道路标识超限危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '126409', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('9715ff8e-91d5-4260-b3fc-82f2c1562013', '车距过近', '碰撞危险', '车距过近危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '126403', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('7198862a-f2a0-4d28-977e-a7f5e8367d5c', '行人碰撞', '碰撞危险', '行人碰撞危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '126404', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('324d0768-3d13-4f1f-9e3e-6c1c9a4dedcb', '前向碰撞', '碰撞危险', '前向碰撞危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '126401', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('11533413-bd64-4648-a516-a387ac254dd8', '车道偏离', '碰撞危险', '车道偏离危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '126402', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('331231ed-ad48-4975-94e6-5589223cc468', '频繁变道', '碰撞危险', '频繁变道危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '126405', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('e85783f4-bbaf-4c9e-8d1a-046e735b102c', '障碍物', '碰撞危险', '障碍物危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '126407', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('c902c31c-683d-40ef-8fd5-c4fd7e2bf9d8', '未系安全带报警', '违规异常', '违规异常危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '126518', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('63ea7087-dc44-4e08-9847-6da8eb8794f0', '双手同时脱离方向盘', '违规异常', '双手同时脱离方向盘危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '126517', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('0ac79c83-bb55-4e6b-899b-9c8a39eb1a5a', '驾驶员变更', '违规异常', '驾驶员变更危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '126516', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('8078afdd-3c62-4910-a305-75c8d573f018', '驾驶员身份异常', '违规异常', '驾驶员身份异常危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '126515', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('8b530bc7-a4d0-43d1-a168-33e1d3df4e08', '驾驶员行为监测功能失效', '违规异常', '驾驶员行为监测功能失效危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '126514', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('35194d4a-ca5d-4ae4-837d-78022709ee9a', '未检测到驾驶员', '违规异常', '未检测到驾驶员危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '126510', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('13d267be-0711-4cc6-b124-19752be56efe', '长时间不目视前方', '注意力分散', '长时间不目视前方危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '126508', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('251bebfa-7f4d-49a5-95c8-eafad836fc89', '抽烟', '注意力分散', '抽烟危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '126503', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('1e87f70d-fe0b-4182-8f85-e16e2dbe17ff', '接打手持电话', '注意力分散', '接打手持电话说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '126502', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('176359d0-b755-4c4d-84ff-3d338a664f3a', '疲劳驾驶', '疑似疲劳', '疲劳驾驶说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '126513', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('1bf1b0a4-29b8-4102-9a93-c012e163b41c', '怠速', '激烈驾驶', '怠速说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '127001', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('cbf278b7-8381-4ed3-9ae2-9e825d93faf4', '异常熄火', '激烈驾驶', '异常熄火说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '127002', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('7e5be969-3cd5-43a5-9325-fd0e339520c7', '发动机超转', '激烈驾驶', '发动机超转说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '127004', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('48c3ce81-1ade-4807-8f27-9c1a6503af44', '空挡滑行', '激烈驾驶', '空挡滑行说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '127003', '12');
INSERT INTO `zw_m_risk_event`
VALUES ('5a65e7cd-6f3e-4242-9769-ec8abc66c084', '驾驶员异常', '违规异常', '驾驶员异常危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '136510', '13');
INSERT INTO `zw_m_risk_event`
VALUES ('93817060-c366-45b3-ac81-ea42d68476d5', '分神驾驶', '注意力分散', '分神驾驶危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '136508', '13');
INSERT INTO `zw_m_risk_event`
VALUES ('e2d46bf3-3ee6-4ae6-9c42-2286dbe8bbd9', '抽烟', '注意力分散', '抽烟危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '136503', '13');
INSERT INTO `zw_m_risk_event`
VALUES ('86478e51-3e63-475c-9549-7bbbd6194b30', '接打手持电话', '注意力分散', '接打手持电话说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '136502', '13');
INSERT INTO `zw_m_risk_event`
VALUES ('869c2e4c-a11b-49a4-ab42-b5ac9023790c', '疲劳驾驶', '疑似疲劳', '疲劳驾驶说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '136513', '13');
INSERT INTO `zw_m_risk_event`
VALUES ('09897def-ad7c-4af5-a03b-204f8dadc8d8', '道路标识超限', '碰撞危险', '道路标识超限危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '136409', '13');
INSERT INTO `zw_m_risk_event`
VALUES ('032bd7c7-ce8c-4cec-8e0e-57fc266200ce', '车距过近', '碰撞危险', '车距过近危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '136403', '13');
INSERT INTO `zw_m_risk_event`
VALUES ('268cfea6-964a-4c22-b837-c6bea8ec171a', '行人碰撞', '碰撞危险', '行人碰撞危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '136404', '13');
INSERT INTO `zw_m_risk_event`
VALUES ('c2696cd1-42ea-4e92-a03c-107e9af37de5', '前向碰撞', '碰撞危险', '前向碰撞危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '136401', '13');
INSERT INTO `zw_m_risk_event`
VALUES ('7da9accc-06a6-403f-b366-5c30e407a5a3', '车道偏离', '碰撞危险', '车道偏离危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '136402', '13');
INSERT INTO `zw_m_risk_event`
VALUES ('5019a663-00b8-4c3d-92a4-29e326edbb4f', '频繁变道', '碰撞危险', '频繁变道危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '136405', '13');
INSERT INTO `zw_m_risk_event`
VALUES ('c1e5c33d-7914-4f71-ab9a-8cb4abd5e767', '障碍物', '碰撞危险', '障碍物危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '136407', '13');
INSERT INTO `zw_m_risk_event`
VALUES ('364f41ca-cde0-407b-9a58-741b2f0c4fe1', '驾驶辅助功能失效', '违规异常', '驾驶辅助功能失效危险说明', '1', '2019-06-05 16:32:01', NULL, NULL, NULL, '126519', '12');
INSERT INTO `zw_m_risk_event` VALUES
  ('9f77e478-75ca-4339-9e2e-7d821bbb2be9', '车道左偏离', '碰撞危险', '车道偏离碰撞危险说明(flag为0,用户后台计算,前端不展示而已)', '0', '2019-06-10 10:48:01', NULL, NULL, NULL, '1264021', '12');
INSERT INTO `zw_m_risk_event` VALUES
  ('0d6f2925-e986-4307-a631-c2a4586f54a4', '车道右偏离', '碰撞危险', '车道偏离碰撞危险说明(flag为0,用户后台计算,前端不展示而已)', '0', '2019-06-10 15:32:51', NULL, NULL, NULL, '1264022', '12');
INSERT INTO `zw_m_risk_event` VALUES
  ('ef5607e5-d631-440e-95ab-b143051a2151', '车道左偏离', '碰撞危险', '车道偏离碰撞危险说明(flag为0,用户后台计算,前端不展示而已)', '0', '2019-06-10 10:48:01', NULL, NULL, NULL, '1364021', '13');
INSERT INTO `zw_m_risk_event` VALUES
  ('2350684f-4411-4873-a318-5370e5f87421', '车道右偏离', '碰撞危险', '车道偏离碰撞危险说明(flag为0,用户后台计算,前端不展示而已)', '0', '2019-06-10 15:32:51', NULL, NULL, NULL, '1364022', '13');
INSERT INTO `zw_m_risk_event` VALUES
  ('88e4a12a-73dd-4dc0-87eb-ea246fe88673', '驾驶员身份异常', '违规异常', '驾驶员身份异常危险说明(flag为0,用户后台计算,前端不展示而已)', '1', '2019-06-10 15:32:51', NULL, NULL, NULL, '136515', '13');

CREATE TABLE `zw_c_adas_risk_level` (
  `one_level` tinyint(4) DEFAULT NULL COMMENT '一级报警等级',
  `two_level` tinyint(4) DEFAULT NULL COMMENT '二级报警等级',
  `event_type` int(11) NOT NULL COMMENT '事件类型',
  `protocol_type` tinyint(4) NOT NULL COMMENT '协议类型 12:川标，13:冀表',
  `flag` tinyint(4) DEFAULT NULL,
  PRIMARY KEY (`event_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

INSERT INTO `zw_c_adas_risk_level` VALUES ('4', '9', '126401', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('4', '9', '126402', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('4', '9', '126403', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('9', '10', '126404', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('4', '9', '126405', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('3', '7', '126407', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (null, '10', '126409', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('3', '7', '126502', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('3', '7', '126503', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('4', '9', '126508', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('4', '9', '126510', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('5', '9', '126513', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (null, '10', '126514', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (null, '10', '126515', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (null, '10', '126516', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (null, '10', '126517', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (null, '10', '126518', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (null, '10', '126519', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (null, '9', '127001', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (null, '9', '127002', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (null, '9', '127003', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (null, '9', '127004', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('4', '9', '136401', '13',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('4', '9', '136402', '13',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('4', '9', '136403', '13',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('9', '10', '136404', '13',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('4', '9', '136405', '13',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('3', '7', '136407', '13',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (null, '10', '136409', '13',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('3', '7', '136502', '13',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('3', '7', '136503', '13',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('4', '9', '136508', '13',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('4', '9', '136510', '13',1);
INSERT INTO `zw_c_adas_risk_level` VALUES ('5', '9', '136513', '13',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (null, '9', '1264081', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (null, '9', '1264082', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (null, '9', '1264083', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (4, '9', '1264021', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (4, '9', '1264022', '12',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (4, '9', '1364021', '13',1);
INSERT INTO `zw_c_adas_risk_level` VALUES (4, '9', '1364022', '13',1);

-- 主动安全默认参数设置
INSERT INTO `zw_m_risk_vehicle_config_zh` (`id`, `vehicle_id`, `risk_id`, `video_Recording_Time`, `photograph_Number`, `photograph_Time`, `one_level_alarm_enable`, `two_level_alarm_enable`, `road_mark_alarm_enable`, `initiative_capture_alarm_enable`, `one_level_voice_enable`, `two_level_voice_enable`, `voice_enable`, `initiative_capture_voice_enable`, `low_speed`, `high_speed`, `time_interval`, `check_switch`, `timing_photo_interval`, `distance_photo_interval`, `timing_photo`, `distance_capture`, `timing_capture`, `number_threshold`, `dsm_adas_time_interval`, `low_speed_level`, `high_speed_level`, `low_speed_recording`, `high_speed_recording`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('2806ca9c-95f2-4749-9551-83fa796a4eb2', 'default', '6409', '10', '3', '0.5', '1', '1', NULL, '0', '0', '0', NULL, '0', '30', NULL, NULL, NULL, '30', '30', '1', '0', '0', NULL, '0.5', NULL, NULL, '0', '1', '1', '2019-05-06 12:55:12', 'admin', NULL, NULL);
INSERT INTO `zw_m_risk_vehicle_config_zh` (`id`, `vehicle_id`, `risk_id`, `video_Recording_Time`, `photograph_Number`, `photograph_Time`, `one_level_alarm_enable`, `two_level_alarm_enable`, `road_mark_alarm_enable`, `initiative_capture_alarm_enable`, `one_level_voice_enable`, `two_level_voice_enable`, `voice_enable`, `initiative_capture_voice_enable`, `low_speed`, `high_speed`, `time_interval`, `check_switch`, `timing_photo_interval`, `distance_photo_interval`, `timing_photo`, `distance_capture`, `timing_capture`, `number_threshold`, `dsm_adas_time_interval`, `low_speed_level`, `high_speed_level`, `low_speed_recording`, `high_speed_recording`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('2f527f7c-f614-4b45-8d5c-6ea3b279dc80', 'default', '6401', '10', '3', '0.5', '1', '1', NULL, '0', '0', '0', NULL, '0', '30', '50', '2.7', NULL, '30', '30', '1', '0', '0', NULL, '0.5', '1', '7', '0', '1', '1', '2019-05-06 12:55:12', 'admin', NULL, NULL);
INSERT INTO `zw_m_risk_vehicle_config_zh` (`id`, `vehicle_id`, `risk_id`, `video_Recording_Time`, `photograph_Number`, `photograph_Time`, `one_level_alarm_enable`, `two_level_alarm_enable`, `road_mark_alarm_enable`, `initiative_capture_alarm_enable`, `one_level_voice_enable`, `two_level_voice_enable`, `voice_enable`, `initiative_capture_voice_enable`, `low_speed`, `high_speed`, `time_interval`, `check_switch`, `timing_photo_interval`, `distance_photo_interval`, `timing_photo`, `distance_capture`, `timing_capture`, `number_threshold`, `dsm_adas_time_interval`, `low_speed_level`, `high_speed_level`, `low_speed_recording`, `high_speed_recording`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('35305ba9-2860-49fd-91d0-43ddf1dcd6ed', 'default', '6402', '10', '3', '0.5', '1', '1', NULL, '0', '0', '0', NULL, '0', '30', '50', NULL, NULL, '30', '30', '1', '0', '0', NULL, '0.5', '1', '7', '0', '1', '1', '2019-05-06 12:55:12', 'admin', NULL, NULL);
INSERT INTO `zw_m_risk_vehicle_config_zh` (`id`, `vehicle_id`, `risk_id`, `video_Recording_Time`, `photograph_Number`, `photograph_Time`, `one_level_alarm_enable`, `two_level_alarm_enable`, `road_mark_alarm_enable`, `initiative_capture_alarm_enable`, `one_level_voice_enable`, `two_level_voice_enable`, `voice_enable`, `initiative_capture_voice_enable`, `low_speed`, `high_speed`, `time_interval`, `check_switch`, `timing_photo_interval`, `distance_photo_interval`, `timing_photo`, `distance_capture`, `timing_capture`, `number_threshold`, `dsm_adas_time_interval`, `low_speed_level`, `high_speed_level`, `low_speed_recording`, `high_speed_recording`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('42149892-966f-457e-a841-25306519dba9', 'default', '6502', '10', '3', '0.5', '1', '1', NULL, '0', '0', '0', NULL, '0', '30', '50', '120', NULL, '30', '30', '1', '0', '0', NULL, '0.5', '1', '7', '0', '1', '1', '2019-05-06 12:55:12', 'admin', NULL, NULL);
INSERT INTO `zw_m_risk_vehicle_config_zh` (`id`, `vehicle_id`, `risk_id`, `video_Recording_Time`, `photograph_Number`, `photograph_Time`, `one_level_alarm_enable`, `two_level_alarm_enable`, `road_mark_alarm_enable`, `initiative_capture_alarm_enable`, `one_level_voice_enable`, `two_level_voice_enable`, `voice_enable`, `initiative_capture_voice_enable`, `low_speed`, `high_speed`, `time_interval`, `check_switch`, `timing_photo_interval`, `distance_photo_interval`, `timing_photo`, `distance_capture`, `timing_capture`, `number_threshold`, `dsm_adas_time_interval`, `low_speed_level`, `high_speed_level`, `low_speed_recording`, `high_speed_recording`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('4412a8e9-65a1-4877-a83b-686dc5fa87bf', 'default', '6507', '10', '3', '0.5', '1', '1', NULL, '0', '0', '0', NULL, '0', '30', '50', NULL, NULL, '30', '30', '1', '0', '0', NULL, '0.5', '1', '7', '0', '1', '1', '2019-05-06 12:55:12', 'admin', NULL, NULL);
INSERT INTO `zw_m_risk_vehicle_config_zh` (`id`, `vehicle_id`, `risk_id`, `video_Recording_Time`, `photograph_Number`, `photograph_Time`, `one_level_alarm_enable`, `two_level_alarm_enable`, `road_mark_alarm_enable`, `initiative_capture_alarm_enable`, `one_level_voice_enable`, `two_level_voice_enable`, `voice_enable`, `initiative_capture_voice_enable`, `low_speed`, `high_speed`, `time_interval`, `check_switch`, `timing_photo_interval`, `distance_photo_interval`, `timing_photo`, `distance_capture`, `timing_capture`, `number_threshold`, `dsm_adas_time_interval`, `low_speed_level`, `high_speed_level`, `low_speed_recording`, `high_speed_recording`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('48d45429-15c7-4138-80db-bc15c3b581b5', 'default', '6512', '10', '3', '0.5', '1', '1', NULL, '0', '0', '0', NULL, '0', '30', '50', NULL, NULL, '30', '30', '1', '0', '0', NULL, '0.5', '1', '7', '0', '1', '1', '2019-05-06 12:55:12', 'admin', NULL, NULL);
INSERT INTO `zw_m_risk_vehicle_config_zh` (`id`, `vehicle_id`, `risk_id`, `video_Recording_Time`, `photograph_Number`, `photograph_Time`, `one_level_alarm_enable`, `two_level_alarm_enable`, `road_mark_alarm_enable`, `initiative_capture_alarm_enable`, `one_level_voice_enable`, `two_level_voice_enable`, `voice_enable`, `initiative_capture_voice_enable`, `low_speed`, `high_speed`, `time_interval`, `check_switch`, `timing_photo_interval`, `distance_photo_interval`, `timing_photo`, `distance_capture`, `timing_capture`, `number_threshold`, `dsm_adas_time_interval`, `low_speed_level`, `high_speed_level`, `low_speed_recording`, `high_speed_recording`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('5ff98ac8-ee4a-455b-9130-4a7a9b331c63', 'default', '6408', '10', '3', '0.5', '1', '1', NULL, '0', '0', '0', NULL, '0', '30', '50', NULL, NULL, '30', '30', '1', '0', '0', NULL, '0.5', '1', '7', '0', '1', '1', '2019-05-06 12:55:12', 'admin', NULL, NULL);
INSERT INTO `zw_m_risk_vehicle_config_zh` (`id`, `vehicle_id`, `risk_id`, `video_Recording_Time`, `photograph_Number`, `photograph_Time`, `one_level_alarm_enable`, `two_level_alarm_enable`, `road_mark_alarm_enable`, `initiative_capture_alarm_enable`, `one_level_voice_enable`, `two_level_voice_enable`, `voice_enable`, `initiative_capture_voice_enable`, `low_speed`, `high_speed`, `time_interval`, `check_switch`, `timing_photo_interval`, `distance_photo_interval`, `timing_photo`, `distance_capture`, `timing_capture`, `number_threshold`, `dsm_adas_time_interval`, `low_speed_level`, `high_speed_level`, `low_speed_recording`, `high_speed_recording`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('6c0a43d2-f825-4a78-95fa-0abe6686b013', 'default', '6503', '10', '3', '0.5', '1', '1', NULL, '0', '0', '0', NULL, '0', '30', '50', '180', NULL, '30', '30', '1', '0', '0', NULL, '0.5', '1', '7', '0', '1', '1', '2019-05-06 12:55:12', 'admin', NULL, NULL);
INSERT INTO `zw_m_risk_vehicle_config_zh` (`id`, `vehicle_id`, `risk_id`, `video_Recording_Time`, `photograph_Number`, `photograph_Time`, `one_level_alarm_enable`, `two_level_alarm_enable`, `road_mark_alarm_enable`, `initiative_capture_alarm_enable`, `one_level_voice_enable`, `two_level_voice_enable`, `voice_enable`, `initiative_capture_voice_enable`, `low_speed`, `high_speed`, `time_interval`, `check_switch`, `timing_photo_interval`, `distance_photo_interval`, `timing_photo`, `distance_capture`, `timing_capture`, `number_threshold`, `dsm_adas_time_interval`, `low_speed_level`, `high_speed_level`, `low_speed_recording`, `high_speed_recording`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('6cb930d7-cc7a-4ac5-91f3-9599608d5226', 'default', '6509', '10', '3', '0.5', NULL, NULL, NULL, '0', NULL, NULL, '0', '0', '30', NULL, '10', '1', '30', '30', '1', '0', '0', NULL, '0.5', NULL, NULL, '0', NULL, '1', '2019-05-06 12:55:12', 'admin', NULL, NULL);
INSERT INTO `zw_m_risk_vehicle_config_zh` (`id`, `vehicle_id`, `risk_id`, `video_Recording_Time`, `photograph_Number`, `photograph_Time`, `one_level_alarm_enable`, `two_level_alarm_enable`, `road_mark_alarm_enable`, `initiative_capture_alarm_enable`, `one_level_voice_enable`, `two_level_voice_enable`, `voice_enable`, `initiative_capture_voice_enable`, `low_speed`, `high_speed`, `time_interval`, `check_switch`, `timing_photo_interval`, `distance_photo_interval`, `timing_photo`, `distance_capture`, `timing_capture`, `number_threshold`, `dsm_adas_time_interval`, `low_speed_level`, `high_speed_level`, `low_speed_recording`, `high_speed_recording`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('6d328593-ca72-4f96-811a-f10ce6e5501d', 'default', '6404', '10', '3', '0.5', '1', '1', NULL, '0', '0', '0', NULL, '0', '30', '50', '3', NULL, '30', '30', '1', '0', '0', NULL, '0.5', '1', '7', '0', '1', '1', '2019-05-06 12:55:12', 'admin', NULL, NULL);
INSERT INTO `zw_m_risk_vehicle_config_zh` (`id`, `vehicle_id`, `risk_id`, `video_Recording_Time`, `photograph_Number`, `photograph_Time`, `one_level_alarm_enable`, `two_level_alarm_enable`, `road_mark_alarm_enable`, `initiative_capture_alarm_enable`, `one_level_voice_enable`, `two_level_voice_enable`, `voice_enable`, `initiative_capture_voice_enable`, `low_speed`, `high_speed`, `time_interval`, `check_switch`, `timing_photo_interval`, `distance_photo_interval`, `timing_photo`, `distance_capture`, `timing_capture`, `number_threshold`, `dsm_adas_time_interval`, `low_speed_level`, `high_speed_level`, `low_speed_recording`, `high_speed_recording`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('6f64e357-9f4c-4d96-a4f8-69c1d4357890', 'default', '6405', '10', '3', '0.5', '1', '1', NULL, '0', '0', '0', NULL, '0', '30', '50', '60', NULL, '30', '30', '1', '0', '0', '5', '0.5', '1', '7', '0', '1', '1', '2019-05-06 12:55:12', 'admin', NULL, NULL);
INSERT INTO `zw_m_risk_vehicle_config_zh` (`id`, `vehicle_id`, `risk_id`, `video_Recording_Time`, `photograph_Number`, `photograph_Time`, `one_level_alarm_enable`, `two_level_alarm_enable`, `road_mark_alarm_enable`, `initiative_capture_alarm_enable`, `one_level_voice_enable`, `two_level_voice_enable`, `voice_enable`, `initiative_capture_voice_enable`, `low_speed`, `high_speed`, `time_interval`, `check_switch`, `timing_photo_interval`, `distance_photo_interval`, `timing_photo`, `distance_capture`, `timing_capture`, `number_threshold`, `dsm_adas_time_interval`, `low_speed_level`, `high_speed_level`, `low_speed_recording`, `high_speed_recording`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('989afa03-dcf2-4b09-bec5-58a97ceb1192', 'default', '6510', '10', '3', '0.5', NULL, NULL, NULL, '0', NULL, NULL, '0', '0', '30', NULL, NULL, '1', '30', '30', '1', '0', '0', NULL, '0.5', NULL, NULL, '0', NULL, '1', '2019-05-06 12:55:12', 'admin', NULL, NULL);
INSERT INTO `zw_m_risk_vehicle_config_zh` (`id`, `vehicle_id`, `risk_id`, `video_Recording_Time`, `photograph_Number`, `photograph_Time`, `one_level_alarm_enable`, `two_level_alarm_enable`, `road_mark_alarm_enable`, `initiative_capture_alarm_enable`, `one_level_voice_enable`, `two_level_voice_enable`, `voice_enable`, `initiative_capture_voice_enable`, `low_speed`, `high_speed`, `time_interval`, `check_switch`, `timing_photo_interval`, `distance_photo_interval`, `timing_photo`, `distance_capture`, `timing_capture`, `number_threshold`, `dsm_adas_time_interval`, `low_speed_level`, `high_speed_level`, `low_speed_recording`, `high_speed_recording`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('9a1bedb5-6102-45f5-ac2a-5ea946b18c41', 'default', '6410', '10', '3', '0.5', NULL, NULL, '0', '0', NULL, NULL, '0', '0', '30', NULL, NULL, NULL, '30', '30', '1', '0', '0', NULL, '0.5', NULL, NULL, '1', '1', '1', '2019-05-06 12:55:12', 'admin', NULL, NULL);
INSERT INTO `zw_m_risk_vehicle_config_zh` (`id`, `vehicle_id`, `risk_id`, `video_Recording_Time`, `photograph_Number`, `photograph_Time`, `one_level_alarm_enable`, `two_level_alarm_enable`, `road_mark_alarm_enable`, `initiative_capture_alarm_enable`, `one_level_voice_enable`, `two_level_voice_enable`, `voice_enable`, `initiative_capture_voice_enable`, `low_speed`, `high_speed`, `time_interval`, `check_switch`, `timing_photo_interval`, `distance_photo_interval`, `timing_photo`, `distance_capture`, `timing_capture`, `number_threshold`, `dsm_adas_time_interval`, `low_speed_level`, `high_speed_level`, `low_speed_recording`, `high_speed_recording`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('a0290657-3770-4951-9f2e-32b2a7a73e2f', 'default', '6407', NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, '0', '30', NULL, NULL, NULL, '30', '30', '1', '0', '0', NULL, '0.5', NULL, NULL, '1', '1', '1', '2019-05-06 12:55:12', 'admin', NULL, NULL);
INSERT INTO `zw_m_risk_vehicle_config_zh` (`id`, `vehicle_id`, `risk_id`, `video_Recording_Time`, `photograph_Number`, `photograph_Time`, `one_level_alarm_enable`, `two_level_alarm_enable`, `road_mark_alarm_enable`, `initiative_capture_alarm_enable`, `one_level_voice_enable`, `two_level_voice_enable`, `voice_enable`, `initiative_capture_voice_enable`, `low_speed`, `high_speed`, `time_interval`, `check_switch`, `timing_photo_interval`, `distance_photo_interval`, `timing_photo`, `distance_capture`, `timing_capture`, `number_threshold`, `dsm_adas_time_interval`, `low_speed_level`, `high_speed_level`, `low_speed_recording`, `high_speed_recording`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('b9695e24-2b75-4c68-bffc-f64500ec74b5', 'default', '6403', '10', '3', '0.5', '1', '1', NULL, '0', '0', '0', NULL, '0', '30', '50', '30', NULL, '30', '30', '1', '0', '0', NULL, '0.5', '1', '7', '0', '1', '1', '2019-05-06 12:55:12', 'admin', NULL, NULL);
INSERT INTO `zw_m_risk_vehicle_config_zh` (`id`, `vehicle_id`, `risk_id`, `video_Recording_Time`, `photograph_Number`, `photograph_Time`, `one_level_alarm_enable`, `two_level_alarm_enable`, `road_mark_alarm_enable`, `initiative_capture_alarm_enable`, `one_level_voice_enable`, `two_level_voice_enable`, `voice_enable`, `initiative_capture_voice_enable`, `low_speed`, `high_speed`, `time_interval`, `check_switch`, `timing_photo_interval`, `distance_photo_interval`, `timing_photo`, `distance_capture`, `timing_capture`, `number_threshold`, `dsm_adas_time_interval`, `low_speed_level`, `high_speed_level`, `low_speed_recording`, `high_speed_recording`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('c6eda0d9-d3f2-4e72-923d-08ede41d7d94', 'default', '6511', '10', '3', '0.5', '1', '1', NULL, '0', '0', '0', NULL, '0', '30', '50', NULL, NULL, '30', '30', '1', '0', '0', NULL, '0.5', '1', '7', '0', '1', '1', '2019-05-06 12:55:12', 'admin', NULL, NULL);
INSERT INTO `zw_m_risk_vehicle_config_zh` (`id`, `vehicle_id`, `risk_id`, `video_Recording_Time`, `photograph_Number`, `photograph_Time`, `one_level_alarm_enable`, `two_level_alarm_enable`, `road_mark_alarm_enable`, `initiative_capture_alarm_enable`, `one_level_voice_enable`, `two_level_voice_enable`, `voice_enable`, `initiative_capture_voice_enable`, `low_speed`, `high_speed`, `time_interval`, `check_switch`, `timing_photo_interval`, `distance_photo_interval`, `timing_photo`, `distance_capture`, `timing_capture`, `number_threshold`, `dsm_adas_time_interval`, `low_speed_level`, `high_speed_level`, `low_speed_recording`, `high_speed_recording`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('cce3b90e-79e5-4f99-9861-af99526402cb', 'default', '6506', '10', '3', '0.5', '1', '1', NULL, '0', '0', '0', NULL, '0', '30', '50', NULL, NULL, '30', '30', '1', '0', '0', NULL, '0.5', '1', '7', '0', '1', '1', '2019-05-06 12:55:12', 'admin', NULL, NULL);
INSERT INTO `zw_m_risk_vehicle_config_zh` (`id`, `vehicle_id`, `risk_id`, `video_Recording_Time`, `photograph_Number`, `photograph_Time`, `one_level_alarm_enable`, `two_level_alarm_enable`, `road_mark_alarm_enable`, `initiative_capture_alarm_enable`, `one_level_voice_enable`, `two_level_voice_enable`, `voice_enable`, `initiative_capture_voice_enable`, `low_speed`, `high_speed`, `time_interval`, `check_switch`, `timing_photo_interval`, `distance_photo_interval`, `timing_photo`, `distance_capture`, `timing_capture`, `number_threshold`, `dsm_adas_time_interval`, `low_speed_level`, `high_speed_level`, `low_speed_recording`, `high_speed_recording`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`) VALUES ('e00e010c-b2b7-4b52-bb31-ae9f889230ac', 'default', '6508', '10', '3', '0.5', '1', '1', NULL, '0', '0', '0', NULL, '0', '30', '50', NULL, NULL, '30', '30', '1', '0', '0', NULL, '0.5', '1', '7', '0', '1', '1', '2019-05-06 12:55:12', 'admin', NULL, NULL);

INSERT INTO `zw_m_risk_vehicle` (`id`, `vehicle_id`, `fatigue_p`, `fatigue_t`, `distract_p`, `distract_t`, `collision_p`, `collision_t`, `abnormal_p`, `abnormal_t`, `flag`, `create_data_time`, `create_data_username`, `update_data_time`, `update_data_username`, `camera_resolution`, `video_resolution`, `alarm_volume`, `sensitivity`) VALUES ('1e39b9f6-7040-48e2-84b0-b12892d1c5f3', 'default', '5', '30', '5', '30', '5', '30', '5', '30', '1', '2019-05-05 09:04:11', 'admin', NULL, NULL, '0x01', '0x01', '6', '2');
CREATE TABLE `zw_m_adas_alarm_param_setting` (
  `id` varchar(255) NOT NULL COMMENT '表id',
  `vehicle_id` varchar(255) NOT NULL COMMENT '车辆id',
  `risk_function_id` int(11) NOT NULL COMMENT '风险时间(function_id)',
  `alarm_enable` tinyint(10) DEFAULT NULL COMMENT '报警开关',
  `gravity_acceleration_threshold` varchar(255) DEFAULT NULL COMMENT '重力加速度阈值',
  `time_threshold` int(11) DEFAULT NULL COMMENT '时间阈值',
  `engine_threshold` varchar(255) DEFAULT NULL COMMENT '发动机转速阈值',
  `speed_threshold` varchar(255) DEFAULT NULL COMMENT '速度阈值',
  `one_level_alarm_enable` tinyint(10) DEFAULT NULL COMMENT '一级报警使能',
  `two_level_alarm_enable` tinyint(10) DEFAULT NULL COMMENT '二级报警使能',
  `video_recording_time` int(11) DEFAULT NULL COMMENT '录制时间',
  `photograph_number` int(11) DEFAULT NULL COMMENT '拍照张数',
  `photograph_time` int(11) DEFAULT NULL COMMENT '拍照间隔',
  `time_distance_threshold` int(11) DEFAULT NULL COMMENT '时距阈值',
  `time_slot_threshold` int(10) DEFAULT NULL COMMENT '时间段阈值/时间间隔',
  `alarm_level_speed_threshold` int(11) DEFAULT NULL COMMENT '报警分级速度阈值',
  `frequency_threshold` tinyint(10) DEFAULT NULL COMMENT '次数阈值',
  `touch_status` tinyint(10) DEFAULT NULL COMMENT '触发状态0:不开启,1:定时拍照,2:定距拍照,3:插卡触发',
  `road_sign_recognition` tinyint(10) DEFAULT NULL COMMENT '道路标识识别使能',
  `param_type` tinyint(10) DEFAULT NULL COMMENT '标签页(前向,驾驶,激烈)',
  `flag` tinyint(10) DEFAULT NULL COMMENT '默认为 1 0:表示删除',
  `road_sign_enable` tinyint(10) DEFAULT NULL COMMENT '道路标识超限报警使能',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `vehicleId` (`vehicle_id`,`param_type`,`flag`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='川标/冀标 报警参数设置表';

-- ----------------------------
-- Records of zw_m_adas_alarm_param_setting
-- ----------------------------
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('1eff6b50-dbc7-4de6-ad8f-78f084ba2e7f', 'default', 126402, NULL, NULL, NULL, NULL, NULL, 1, 0, 5, 3, 2, NULL, NULL, 50, NULL, NULL, NULL, 64, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('25debcf5-d4e3-4135-bbd8-cd0d8164f208', 'default', 136503, NULL, NULL, 120, NULL, NULL, 1, 0, 5, 3, 2, NULL, NULL, 50, NULL, NULL, NULL, 65, 1, NULL, '2019-06-17 08:34:58', '2019-06-17 08:35:11');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('2cff06b8-0bc8-40ed-99f2-7231d284145e', 'default', 136502, NULL, NULL, 120, NULL, NULL, 1, 0, 5, 3, 2, NULL, NULL, 50, NULL, NULL, NULL, 65, 1, NULL, '2019-06-17 08:34:58', '2019-06-17 08:35:11');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('31d5b64a-3716-497f-a4aa-74683615c8a0', 'default', 1264081, 1, '30', 80, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 70, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('39e18326-2e7d-4566-bf15-bfe66db40cbe', 'default', 136404, NULL, NULL, NULL, NULL, NULL, 1, 0, 5, 3, 2, 27, NULL, 50, NULL, NULL, NULL, 64, 1, NULL, '2019-06-17 08:34:58', '2019-06-17 08:35:11');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('5936f2e9-19ad-4aae-ab3d-b87eb782f92f', 'default', 126405, NULL, NULL, NULL, NULL, NULL, 1, 0, 5, 3, 2, NULL, 60, 50, 5, NULL, NULL, 64, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('5ca5288a-0f7f-4274-aca9-53e17f0e9691', 'default', 136510, NULL, NULL, NULL, NULL, NULL, 1, 0, 5, 3, 2, NULL, NULL, 50, NULL, NULL, NULL, 65, 1, NULL, '2019-06-17 08:34:58', '2019-06-17 08:35:11');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('5e327970-2d62-4146-ad04-d6829470bc53', 'default', 126508, NULL, NULL, NULL, NULL, NULL, 1, 0, 5, 3, 2, NULL, NULL, 50, NULL, NULL, NULL, 65, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('61be85c6-6dbd-481a-941d-830dfcb54831', 'default', 126503, NULL, NULL, 120, NULL, NULL, 1, 0, 5, 3, 2, NULL, NULL, 50, NULL, NULL, NULL, 65, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('63096b2d-67fe-40bd-8f51-258539fa1da1', 'default', 126404, NULL, NULL, NULL, NULL, NULL, 1, 0, 5, 3, 2, 27, NULL, 50, NULL, NULL, NULL, 64, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('68fa682c-325e-46da-bc39-ea731aee4477', 'default', 126409, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 3, 200, NULL, NULL, NULL, NULL, NULL, 1, 64, 1, 1, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('6b4f43a6-4f6d-40cf-969c-7aaad789e4b8', 'default', 136513, NULL, NULL, NULL, NULL, NULL, 1, 0, 5, 3, 2, NULL, NULL, 50, NULL, NULL, NULL, 65, 1, NULL, '2019-06-17 08:34:58', '2019-06-17 08:35:11');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('730efa65-90d5-48b3-8c7a-d02565610238', 'default', 126515, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, 65, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('9880e366-be89-41c7-bd8e-c09868776710', 'default', 127004, 1, NULL, 80, '30', '80', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 70, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('9984cd43-0d6a-465a-a25c-411727961cb9', 'default', 136515, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, 65, 1, NULL, '2019-06-17 08:34:58', '2019-06-17 08:35:11');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('a020492a-8402-49c1-96f2-3fcb6b52f444', 'default', 136405, NULL, NULL, NULL, NULL, NULL, 1, 0, 5, 3, 2, NULL, 60, 50, 5, NULL, NULL, 64, 1, NULL, '2019-06-17 08:34:58', '2019-06-17 08:35:11');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('a1bd3e3e-73b9-4a62-a69b-e4c61b90ef3f', 'default', 127001, 1, NULL, 80, '30', '80', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 70, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('a6a72012-4000-4e34-befe-76a59e657620', 'default', 126513, NULL, NULL, NULL, NULL, NULL, 1, 0, 5, 3, 2, NULL, NULL, 50, NULL, NULL, NULL, 65, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('a869d115-6c11-496e-8925-7bd83f719c1c', 'default', 136402, NULL, NULL, NULL, NULL, NULL, 1, 0, 5, 3, 2, NULL, NULL, 50, NULL, NULL, NULL, 64, 1, NULL, '2019-06-17 08:34:58', '2019-06-17 08:35:11');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('a8ba88c6-54a3-4563-b534-2557f96455c5', 'default', 136401, NULL, NULL, NULL, NULL, NULL, 1, 0, 5, 3, 2, 27, NULL, 50, NULL, NULL, NULL, 64, 1, NULL, '2019-06-17 08:34:58', '2019-06-17 08:35:11');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('aa7ad6af-2306-47be-adcc-24ca96a8ab0b', 'default', 126403, NULL, NULL, NULL, NULL, NULL, 1, 0, 5, 3, 2, 27, NULL, 50, NULL, NULL, NULL, 64, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('b14d4bac-9bc3-4c61-bcf2-b054a82a95c9', 'default', 136508, NULL, NULL, NULL, NULL, NULL, 1, 0, 5, 3, 2, NULL, NULL, 50, NULL, NULL, NULL, 65, 1, NULL, '2019-06-17 08:34:58', '2019-06-17 08:35:11');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('b407fc56-2b97-49f6-b2ca-e9d4cc15f4d5', 'default', 127003, 1, NULL, 80, '30', '80', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 70, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('ba5bdd29-8461-4433-9042-6341a4d795cd', 'default', 1264082, 1, '30', 80, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 70, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('bc1923cc-f5b5-400d-b376-776095fca0e8', 'default', 136403, NULL, NULL, NULL, NULL, NULL, 1, 0, 5, 3, 2, 27, NULL, 50, NULL, NULL, NULL, 64, 1, NULL, '2019-06-17 08:34:58', '2019-06-17 08:35:11');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('c19ca8f6-719f-47b9-b881-b2e60d6e38ad', 'default', 126510, NULL, NULL, NULL, NULL, NULL, 1, 0, 5, 3, 2, NULL, NULL, 50, NULL, NULL, NULL, 65, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('c4b410c3-f9ba-40e6-9ab7-c9a77bdaf249', 'default', 126502, NULL, NULL, 120, NULL, NULL, 1, 0, 5, 3, 2, NULL, NULL, 50, NULL, NULL, NULL, 65, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('ca13faa7-8796-4ab9-882b-160d5dc65dd1', 'default', 136407, NULL, NULL, NULL, NULL, NULL, 1, 0, 5, 3, 2, 27, NULL, 50, 5, NULL, NULL, 64, 1, NULL, '2019-06-17 08:34:58', '2019-06-17 08:35:11');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('d3251aeb-affb-4aa5-95b2-772d52386ab4', 'default', 127002, 1, NULL, 80, '30', '80', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 70, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('d32a957b-5487-497e-8219-b973786db85d', 'default', 136409, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 3, 200, NULL, NULL, NULL, NULL, NULL, 1, 64, 1, 1, '2019-06-17 08:34:58', '2019-06-17 08:35:11');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('eff40d28-53a2-4031-9d2a-b7a73b4e87fa', 'default', 126407, NULL, NULL, NULL, NULL, NULL, 1, 0, 5, 3, 2, 27, NULL, 50, 5, NULL, NULL, 64, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('f2aa1b29-ea4e-48bc-a49d-2c9974d6c10d', 'default', 1264083, 1, '30', 80, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 70, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');
INSERT INTO `zw_m_adas_alarm_param_setting` VALUES ('ffc4b3ff-01fd-4b80-98a1-4b09b25d4678', 'default', 126401, NULL, NULL, NULL, NULL, NULL, 1, 0, 5, 3, 2, 27, NULL, 50, NULL, NULL, NULL, 64, 1, NULL, '2019-06-17 08:33:03', '2019-06-17 08:33:35');

CREATE TABLE `zw_m_adas_common_param_setting` (
  `id` varchar(255) NOT NULL COMMENT '表id',
  `vehicle_id` varchar(255) NOT NULL COMMENT '车辆id',
  `camera_resolution` varchar(32) DEFAULT NULL COMMENT '拍照分辨率',
  `video_resolution` varchar(32) DEFAULT NULL COMMENT '视频分辨率',
  `alarm_volume` varchar(32) DEFAULT NULL COMMENT '提示音量',
  `touch_status` varchar(255) DEFAULT NULL COMMENT '触发状态( 0:不开启,1:定时拍照,2:定距拍照,3:插卡触发',
  `photograph_number` int(11) DEFAULT NULL COMMENT '拍照张数',
  `photograph_time` int(11) DEFAULT NULL COMMENT '拍照间隔',
  `timing_photo_interval` varchar(255) DEFAULT NULL COMMENT '定时拍照时间间隔',
  `distance_photo_interval` varchar(255) DEFAULT NULL COMMENT '定距拍照时间间隔',
  `flag` tinyint(10) DEFAULT NULL COMMENT '默认为 1 0:表示删除',
  `speed_limit` int(11) DEFAULT NULL COMMENT '速度阈值',
  `protocol_type` int(11) NOT NULL COMMENT '协议类型',
  `param_type` tinyint(10) NOT NULL COMMENT '报警指令类型 (页签 64 65 70等)',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `vehicleId` (`vehicle_id`,`protocol_type`,`param_type`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='川/冀标 通用参数设置表';

-- ----------------------------
-- Records of zw_m_adas_common_param_setting
-- ----------------------------
INSERT INTO `zw_m_adas_common_param_setting` VALUES ('602d8224-96a1-40c5-a780-e5ecb84b656e', 'default', '0x01', '0x01', '6', '0x01', 3, NULL, '3600', NULL, 1, 30, 12, 65, '2019-06-17 08:33:03', '2019-06-17 08:33:18');
INSERT INTO `zw_m_adas_common_param_setting` VALUES ('96c267f2-9b9f-4d66-9f05-321269da043c', 'default', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, 12, 70, '2019-06-17 08:33:03', '2019-06-17 08:33:18');
INSERT INTO `zw_m_adas_common_param_setting` VALUES ('e5149f2e-ee2a-4689-afc1-5490ee7af799', 'default', '0x01', '0x01', '6', '0x01', 3, NULL, '3600', NULL, 1, 30, 12, 64, '2019-06-17 08:33:03', '2019-06-17 08:33:18');
INSERT INTO `zw_m_adas_common_param_setting` VALUES ('ef422459-a55f-4abe-9367-3b59753d8eb1', 'default', '0x01', '0x01', '6', '0x01', 3, NULL, '3600', NULL, 1, 30, 13, 64, '2019-06-17 08:34:58', '2019-06-17 08:35:22');
INSERT INTO `zw_m_adas_common_param_setting` VALUES ('fa02de84-a00c-44dd-99f2-2cd61cfa14f2', 'default', '0x01', '0x01', '6', '0x01', 3, NULL, '3600', NULL, 1, 30, 13, 65, '2019-06-17 08:34:58', '2019-06-17 08:35:22');

-- 实时监控主动安全菜单风险字段展示设置
UPDATE `zw_c_custom_column` SET `id`='29329997-491d-11e9-b386-782bcb500108', `title`='监控对象 ', `name`='brand', `mark`='REALTIME_MONITORING_ACTIVE_SAFETY_LIST', `status`='0', `sort`='2', `column_module`='REALTIME_MONITORING' WHERE (`id`='29329997-491d-11e9-b386-782bcb500108');
UPDATE `zw_c_custom_column` SET `id`='29329997-491d-11e9-b386-782bcb500109', `title`='报警类型 ', `name`='riskType', `mark`='REALTIME_MONITORING_ACTIVE_SAFETY_LIST', `status`='0', `sort`='3', `column_module`='REALTIME_MONITORING' WHERE (`id`='29329997-491d-11e9-b386-782bcb500109');
UPDATE `zw_c_custom_column` SET `id`='29329997-491d-11e9-b386-782bcb500110', `title`='报警等级 ', `name`='riskLevel', `mark`='REALTIME_MONITORING_ACTIVE_SAFETY_LIST', `status`='0', `sort`='4', `column_module`='REALTIME_MONITORING' WHERE (`id`='29329997-491d-11e9-b386-782bcb500110');
UPDATE `zw_c_custom_column` SET `id`='29329997-491d-11e9-b386-782bcb500111', `title`='报警位置 ', `name`='address', `mark`='REALTIME_MONITORING_ACTIVE_SAFETY_LIST', `status`='0', `sort`='6', `column_module`='REALTIME_MONITORING' WHERE (`id`='29329997-491d-11e9-b386-782bcb500111');
UPDATE `zw_c_custom_column` SET `id`='29329997-491d-11e9-b386-782bcb500112', `title`='报警时间 ', `name`='warningTime', `mark`='REALTIME_MONITORING_ACTIVE_SAFETY_LIST', `status`='0', `sort`='7', `column_module`='REALTIME_MONITORING' WHERE (`id`='29329997-491d-11e9-b386-782bcb500112');
UPDATE `zw_c_custom_column` SET `id`='29329997-491d-11e9-b386-782bcb500113', `title`='视频/图片 ', `name`='picVideo', `mark`='REALTIME_MONITORING_ACTIVE_SAFETY_LIST', `status`='0', `sort`='8', `column_module`='REALTIME_MONITORING' WHERE (`id`='29329997-491d-11e9-b386-782bcb500113');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`) VALUES ('29329997-491d-11e9-b386-782bcb500119', '速度', 'speed', 'REALTIME_MONITORING_ACTIVE_SAFETY_LIST', '0', '5', 'REALTIME_MONITORING');


-- 第一次提测后增加的sql

update zw_m_risk_vehicle set fatigue_p=20, distract_p=20, collision_p=20 , abnormal_p =20 where vehicle_id ='default';
update zw_c_adas_risk_level set two_level =12 where  event_type in (136409,126516,136404,126519,126517,126404,126515,126514,126409,126518);
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`)
VALUES ('d4b88051-1373-472a-8723-4a72baf84f19', '无驾驶员', '违规异常', '无驾驶员危险说明', '1', '2019-06-24 16:32:01', NULL, NULL, NULL, '136511', '13');
INSERT INTO `zw_c_adas_risk_level` (`two_level`, `event_type`, `protocol_type`, `flag`) VALUES ( '4', '136511', '13', '1');


-- ocr
ALTER TABLE zw_m_people_info ADD COLUMN identity_card_photo VARCHAR(64) DEFAULT NULL COMMENT '身份证照片';
ALTER TABLE zw_m_people_info ADD COLUMN nation VARCHAR(64) DEFAULT NULL COMMENT  '民族';

ALTER TABLE zw_m_vehicle_info ADD COLUMN driving_license_front_photo VARCHAR(64) DEFAULT NULL COMMENT '行驶证正本';
ALTER TABLE zw_m_vehicle_info ADD COLUMN driving_license_duplicate_photo VARCHAR(64) DEFAULT NULL COMMENT '行驶证副本';
ALTER TABLE zw_m_vehicle_info ADD COLUMN transport_number_photo VARCHAR(64) DEFAULT NULL COMMENT '运输证照片';
ALTER TABLE zw_m_vehicle_info MODIFY `vehicle_photo` varchar(64) DEFAULT NULL COMMENT '车辆照片';

ALTER TABLE zw_m_professionals_info ADD COLUMN identity_card_photo VARCHAR(64) DEFAULT NULL COMMENT '身份证';
ALTER TABLE zw_m_professionals_info ADD COLUMN driver_license_photo VARCHAR(64) DEFAULT NULL COMMENT '驾驶证';
ALTER TABLE zw_m_professionals_info ADD COLUMN qualification_certificate_photo VARCHAR(64) DEFAULT NULL COMMENT '从业资格证';
ALTER TABLE zw_m_professionals_info MODIFY `driving_type` varchar(10) DEFAULT NULL COMMENT '准驾车型';
ALTER TABLE zw_m_vehicle_info MODIFY `road_transport_number` varchar(24) DEFAULT NULL COMMENT '道路运输证号';

ALTER TABLE zw_m_vehicle_info MODIFY `vehicle_photo` varchar(64) DEFAULT NULL COMMENT '车辆照片';
ALTER TABLE zw_m_professionals_info MODIFY `driving_type` varchar(10) DEFAULT NULL COMMENT '准驾车型';

UPDATE zw_app_statistics_config SET `name` = '行驶统计' WHERE id = 'dbca6adb-0ab8-4567-9e23-9a19d72cb518';

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 ('debc8b25-834c-11e9-9de7-000c294a99a1', '100-default', '4', '0xA00A', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', 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 ('debc8b25-834c-11e9-9de7-000c294a99a2', '100-default', '5', '0xA00A', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', 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 ('debc8b25-834c-11e9-9de7-000c294a99a3', '100-default', '6', '0xA00A', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', 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 ('debc8b25-834c-11e9-9de7-000c294a99a4', '100-default', '7', '0xA00A', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', 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 ('debc8b25-834c-11e9-9de7-000c294a99a5', '100-default', '8', '0xA00A', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', 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 ('debc8b25-834c-11e9-9de7-000c294a99a6', '100-default', '9', '0xA00A', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', 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 ('debc8b25-834c-11e9-9de7-000c294a99a7', '100-default', '10', '0xA00A', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', 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 ('debc8b25-834c-11e9-9de7-000c294a99a8', '100-default', '11', '0xA00A', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', 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 ('debc8b25-834c-11e9-9de7-000c294a99a9', '100-default', '12', '0xA00A', '0', '100', '1', '2019-01-07 16:46:11', 'hujun', NULL, NULL);


-- 定制列
ALTER TABLE zw_c_custom_column ADD COLUMN init_value VARCHAR(20) DEFAULT NULL COMMENT '初始值';
ALTER TABLE zw_c_custom_column_config ADD COLUMN init_value VARCHAR(20) DEFAULT NULL COMMENT '初始值';

INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer001', '仪表总里程(Km)', 'obdTotalMileage', 'TRACKPLAY_OBD_LIST', '0', '5', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer002', '累计里程(Km)', 'obdAccumulatedMileage', 'TRACKPLAY_OBD_LIST', '0', '6', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer003', '累计总油耗(L)', 'obdTotalOilConsumption', 'TRACKPLAY_OBD_LIST', '0', '7', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer004', '瞬时油耗(L/h)', 'obdInstantOilConsumption', 'TRACKPLAY_OBD_LIST', '0', '8', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer005', '仪表车速(km/h)', 'obdInstrumentSpeed', 'TRACKPLAY_OBD_LIST', '0', '9', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer006', '转速(rpm)', 'obdRotationRate', 'TRACKPLAY_OBD_LIST', '0', '10', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer007', '机油压力(Pa)', 'obdOilPressure', 'TRACKPLAY_OBD_LIST', '0', '11', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer008', '电池电压(V)', 'obdBatteryVoltage', 'TRACKPLAY_OBD_LIST', '0', '12', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer009', '水温(℃)', 'obdWaterTemperature', 'TRACKPLAY_OBD_LIST', '0', '13', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer010', '车辆油箱油量(L)', 'obdOilQuantity', 'TRACKPLAY_OBD_LIST', '0', '14', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer011', '油箱液位高度(mm)', 'obdOilTankLevelHeight', 'TRACKPLAY_OBD_LIST', '0', '15', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer012', '仪表记录的短途行驶里程(Km)', 'obdShortDistanceMileage', 'TRACKPLAY_OBD_LIST', '0', '16', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer013', '发/电动机运行时间(h)', 'obdEngineRunningTime', 'TRACKPLAY_OBD_LIST', '0', '17', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer014', '扭矩(N·m)', 'obdTorque', 'TRACKPLAY_OBD_LIST', '0', '18', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer015', '尿素液位(mm)', 'obdUreaLevel', 'TRACKPLAY_OBD_LIST', '0', '19', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer016', '刹车状态(脚刹)', 'obdFootBrakeStatusStr', 'TRACKPLAY_OBD_LIST', '0', '20', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer017', '远光灯状态', 'obdHighBeamStatusStr', 'TRACKPLAY_OBD_LIST', '0', '21', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer018', '近光灯状态', 'obdDippedHeadlightStatusStr', 'TRACKPLAY_OBD_LIST', '0', '22', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer019', '小灯状态', 'obdSmallLampStatusStr', 'TRACKPLAY_OBD_LIST', '0', '23', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer020', '示宽灯状态', 'obdIndicatorLampStatusStr', 'TRACKPLAY_OBD_LIST', '0', '24', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer021', '雾灯状态', 'obdFogLampStatusStr', 'TRACKPLAY_OBD_LIST', '0', '25', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer022', '左转向灯状态', 'obdLeftTurnLampStatusStr', 'TRACKPLAY_OBD_LIST', '0', '26', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer023', '右转向灯状态', 'obdRightTurnLampStatusStr', 'TRACKPLAY_OBD_LIST', '0', '27', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer024', '应急灯状态', 'obdEmergencyLampStatusStr', 'TRACKPLAY_OBD_LIST', '0', '28', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer025', '左前门状态', 'obdLeftFrontDoorStatusStr', 'TRACKPLAY_OBD_LIST', '0', '29', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer026', '右前门状态', 'obdRightFrontDoorStatusStr', 'TRACKPLAY_OBD_LIST', '0', '30', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer027', '左后门状态', 'obdLeftRearDoorStatusStr', 'TRACKPLAY_OBD_LIST', '0', '31', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer028', '右后门状态', 'obdRightRearDoorStatusStr', 'TRACKPLAY_OBD_LIST', '0', '32', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer029', '尾箱门状态', 'obdTailBoxDoorStatusStr', 'TRACKPLAY_OBD_LIST', '0', '33', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer030', '全车锁', 'obdFullVehicleLockStr', 'TRACKPLAY_OBD_LIST', '0', '34', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer031', '左前门锁', 'obdLeftFrontDoorLockStr', 'TRACKPLAY_OBD_LIST', '0', '35', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer032', '右前门锁', 'obdRightFrontDoorLockStr', 'TRACKPLAY_OBD_LIST', '0', '36', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer033', '左后门锁', 'obdLeftRearDoorLockStr', 'TRACKPLAY_OBD_LIST', '0', '37', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer034', '右后门锁', 'obdRightRearDoorLockStr', 'TRACKPLAY_OBD_LIST', '0', '38', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer035', '左前窗状态', 'obdLeftFrontWindowStatusStr', 'TRACKPLAY_OBD_LIST', '0', '39', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer036', '右前窗状态', 'obdRightFrontWindowStatusStr', 'TRACKPLAY_OBD_LIST', '0', '40', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer037', '左后窗状态', 'obdLeftRearWindowStatusStr', 'TRACKPLAY_OBD_LIST', '0', '41', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer038', '右后窗状态', 'obdRightRearWindowStatusStr', 'TRACKPLAY_OBD_LIST', '0', '42', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer039', '故障信号(ECM)', 'obdFaultSignalECMStr', 'TRACKPLAY_OBD_LIST', '0', '43', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer040', '故障信号(ABS)', 'obdFaultSignalABSStr', 'TRACKPLAY_OBD_LIST', '0', '44', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer041', '故障信号(SRS)', 'obdFaultSignalSRSStr', 'TRACKPLAY_OBD_LIST', '0', '45', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer042', '报警信号(机油)', 'obdAlarmSignalEngineOilStr', 'TRACKPLAY_OBD_LIST', '0', '46', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer043', '报警信号(胎压)', 'obdAlarmSignalTirePressureStr', 'TRACKPLAY_OBD_LIST', '0', '47', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer044', '报警信号(保养)', 'obdAlarmSignalMaintainStr', 'TRACKPLAY_OBD_LIST', '0', '48', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer045', '安全气囊状态', 'obdSafetyAirBagStatusStr', 'TRACKPLAY_OBD_LIST', '0', '49', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer046', '刹车状态(手刹)', 'obdHandBrakeStatusStr', 'TRACKPLAY_OBD_LIST', '0', '50', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer047', '离合状态', 'obdClutchStatusStr', 'TRACKPLAY_OBD_LIST', '0', '51', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer048', '安全带(驾驶员)', 'obdSafetyBeltStatusDriverStr', 'TRACKPLAY_OBD_LIST', '0', '52', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer049', '安全带(副驾)', 'obdSafetyBeltStatusDeputyDrivingStr', 'TRACKPLAY_OBD_LIST', '0', '53', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer050', 'ACC信号', 'obdACCSignalStr', 'TRACKPLAY_OBD_LIST', '0', '54', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer051', '钥匙状态', 'obdKeyStatusStr', 'TRACKPLAY_OBD_LIST', '0', '55', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer052', '雨刮状态', 'obdWiperStatusStr', 'TRACKPLAY_OBD_LIST', '0', '56', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer053', '空调开关', 'obdAirConditionerStatusStr', 'TRACKPLAY_OBD_LIST', '0', '57', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer054', '档位', 'obdGearPositionStr', 'TRACKPLAY_OBD_LIST', '0', '58', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer055', '油门踏板', 'obdAcceleratorPedalStr', 'TRACKPLAY_OBD_LIST', '0', '59', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer056', '方向盘转角状态', 'obdSteeringWheelAngleStatusStr', 'TRACKPLAY_OBD_LIST', '0', '60', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer057', '能源类型', 'obdEnergyTypeStr', 'TRACKPLAY_OBD_LIST', '0', '61', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer058', 'OBD状态(MIL故障灯)', 'obdMILFaultLampStr', 'TRACKPLAY_OBD_LIST', '0', '62', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer059', '续航里程(Km)', 'obdEnduranceMileage', 'TRACKPLAY_OBD_LIST', '0', '63', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer060', '油量百分比(%)', 'obdPercentageOfOil', 'TRACKPLAY_OBD_LIST', '0', '64', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer061', '瞬时百公里油耗(L/100Km)', 'obdInstant100KmOilConsumption', 'TRACKPLAY_OBD_LIST', '0', '65', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer062', '平均百公里油耗(L/100Km)', 'obdAverage100KmOilConsumption', 'TRACKPLAY_OBD_LIST', '0', '66', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer063', '发动机进气温度(℃)', 'obdEngineIntakeTemperature', 'TRACKPLAY_OBD_LIST', '0', '67', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer064', '车内空调温度(℃)', 'obdAirConditioningTemperature', 'TRACKPLAY_OBD_LIST', '0', '68', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer065', '电机温度(℃)', 'obdMotorTemperature', 'TRACKPLAY_OBD_LIST', '0', '69', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer066', '控制器温度(℃)', 'obdControllerTemperature', 'TRACKPLAY_OBD_LIST', '0', '70', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer067', '三元催化器温度(℃)', 'obdTernaryCatalystTemperature', 'TRACKPLAY_OBD_LIST', '0', '71', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer068', '机油温度(℃)', 'obdEngineOilTemperature', 'TRACKPLAY_OBD_LIST', '0', '72', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer069', '燃油温度(℃)', 'obdFuelTemperature', 'TRACKPLAY_OBD_LIST', '0', '73', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer070', '增压空气温度(℃)', 'obdSuperchargedAirTemperature', 'TRACKPLAY_OBD_LIST', '0', '74', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer071', '转速计算车速(km/h)', 'obdSpeedByRotationalSpeedCalculation', 'TRACKPLAY_OBD_LIST', '0', '75', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer072', '空气流量(g/s)', 'obdAirFlowRate', 'TRACKPLAY_OBD_LIST', '0', '76', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer073', '进气压力(Pa)', 'obdIntakePressure', 'TRACKPLAY_OBD_LIST', '0', '77', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer074', '喷油量(ml/s)', 'obdFuelInjectionQuantity', 'TRACKPLAY_OBD_LIST', '0', '78', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer075', '油门踏板相对位置(%)', 'obdRelativePositionOfThrottlePedal', 'TRACKPLAY_OBD_LIST', '0', '79', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer076', '方向盘转角角度(度)', 'obdSteeringWheelAngle', 'TRACKPLAY_OBD_LIST', '0', '80', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer077', '电池剩余电量(%)', 'obdBatteryRemainingElectricity', 'TRACKPLAY_OBD_LIST', '0', '81', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer078', '车辆行程耗油量(L)', 'obdVehicleTravelFuelConsumption', 'TRACKPLAY_OBD_LIST', '0', '82', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer079', '行程内离合次数(次)', 'obdNumberOfClutchesDuringTravel', 'TRACKPLAY_OBD_LIST', '0', '83', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer080', '行程内脚刹次数(次)', 'obdNumberOfFootBrakesDuringTravel', 'TRACKPLAY_OBD_LIST', '0', '84', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer081', '行程内手刹次数(次)', 'obdNumberOfHandBrakesDuringTravel', 'TRACKPLAY_OBD_LIST', '0', '85', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer082', '发动机负荷(%)', 'obdEngineLoad', 'TRACKPLAY_OBD_LIST', '0', '86', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer083', '扭矩百分比(%)', 'obdTorquePercentage', 'TRACKPLAY_OBD_LIST', '0', '87', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer084', '大气压力(Pa)', 'obdAtmosphericPressure', 'TRACKPLAY_OBD_LIST', '0', '88', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer085', '前氧传感器示值', 'obdFrontOxygenSensorValue', 'TRACKPLAY_OBD_LIST', '0', '89', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer086', '后氧传感器示值', 'obdRearOxygenSensorValue', 'TRACKPLAY_OBD_LIST', '0', '90', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer087', 'SCR', 'obdSCR', 'TRACKPLAY_OBD_LIST', '0', '91', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer088', '氧化氮超限报警状态', 'obdNitricOxideOverrunAlarmStatus', 'TRACKPLAY_OBD_LIST', '0', '92', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer089', 'NOx浓度值范围', 'obdNOxConcentrationRange', 'TRACKPLAY_OBD_LIST', '0', '93', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer114', '监控对象', 'monitorName', 'TRACKPLAY_OBD_LIST', '0', '1', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer115', '定位时间', 'serviceGpsTime', 'TRACKPLAY_OBD_LIST', '0', '2', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer116', '服务器时间', 'serviceSystemTime', 'TRACKPLAY_OBD_LIST', '0', '3', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer117', '所属企业', 'groupName', 'TRACKPLAY_OBD_LIST', '0', '4', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('29329997-491d-11e9-b386-782bcbaer118', '报警信息', 'obdAlarmInfo', 'TRACKPLAY_OBD_LIST', '0', '94', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('577e9472-a454-11e9-9469-000c29920fdc', '监控对象', 'monitorName', 'TRACKPLAY_ALARM', '0', '1', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('5780991f-a454-11e9-9469-000c29920fdc', '所属分组', 'assignmentName', 'TRACKPLAY_ALARM', '0', '2', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('578322d7-a454-11e9-9469-000c29920fdc', '报警类型', 'alarmType', 'TRACKPLAY_ALARM', '0', '3', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('57859fc4-a454-11e9-9469-000c29920fdc', '处理状态', 'status', 'TRACKPLAY_ALARM', '0', '4', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('57882f80-a454-11e9-9469-000c29920fdc', '处理人', 'personName', 'TRACKPLAY_ALARM', '0', '5', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('578b66e9-a454-11e9-9469-000c29920fdc', '报警开始时间', 'startTime', 'TRACKPLAY_ALARM', '0', '6', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('578f3b28-a454-11e9-9469-000c29920fdc', '报警开始位置', 'startLocation', 'TRACKPLAY_ALARM', '0', '7', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('5792e236-a454-11e9-9469-000c29920fdc', '报警结束时间', 'endTime', 'TRACKPLAY_ALARM', '0', '8', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('5796e9b5-a454-11e9-9469-000c29920fdc', '报警结束位置', 'endLocation', 'TRACKPLAY_ALARM', '0', '10', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('579c4b76-a454-11e9-9469-000c29920fdc', '围栏类型', 'fenceType', 'TRACKPLAY_ALARM', '0', '11', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('57a04110-a454-11e9-9469-000c29920fdc', '围栏名称', 'fenceName', 'TRACKPLAY_ALARM', '0', '12', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('6649d1e8-a450-11e9-9469-000c29920fdc', '监控对象', 'monitorName', 'TRACKPLAY_DATA', '0', '1', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('664c071c-a450-11e9-9469-000c29920fdc', '定位时间', 'vtime', 'TRACKPLAY_DATA', '0', '2', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('664df058-a450-11e9-9469-000c29920fdc', '间隔时间', 'intervalTime', 'TRACKPLAY_DATA', '0', '3', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('6650c6f0-a450-11e9-9469-000c29920fdc', '所属分组', 'assignmentName', 'TRACKPLAY_DATA', '0', '4', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('66535378-a450-11e9-9469-000c29920fdc', '终端号', 'deviceNumber', 'TRACKPLAY_DATA', '0', '5', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('66571c83-a450-11e9-9469-000c29920fdc', 'SIM卡号', 'simCard', 'TRACKPLAY_DATA', '0', '6', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('665b90cb-a450-11e9-9469-000c29920fdc', '状态', 'status', 'TRACKPLAY_DATA', '0', '7', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('665f27f2-a450-11e9-9469-000c29920fdc', 'ACC状态', 'acc', 'TRACKPLAY_DATA', '0', '8', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('666354a1-a450-11e9-9469-000c29920fdc', '速度', 'speed', 'TRACKPLAY_DATA', '0', '9', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('66670dc2-a450-11e9-9469-000c29920fdc', '方向', 'angle', 'TRACKPLAY_DATA', '0', '10', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('666b1f1e-a450-11e9-9469-000c29920fdc', '总里程', 'gpsMile', 'TRACKPLAY_DATA', '0', '11', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('666ed361-a450-11e9-9469-000c29920fdc', '定位方式', 'locationType', 'TRACKPLAY_DATA', '0', '12', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('66728445-a450-11e9-9469-000c29920fdc', '卫星颗数', 'satelliteNumber', 'TRACKPLAY_DATA', '0', '13', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('6676748c-a450-11e9-9469-000c29920fdc', '经度', 'longtitude', 'TRACKPLAY_DATA', '0', '14', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('667a6764-a450-11e9-9469-000c29920fdc', '纬度', 'latitude', 'TRACKPLAY_DATA', '0', '15', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('667e1c97-a450-11e9-9469-000c29920fdc', '位置', 'location', 'TRACKPLAY_DATA', '0', '16', 'TRACKPLAY', NULL);
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('c3f7b29c-a450-11e9-9469-000c29920fdc', '滑块1速度', 'startSpeed', 'TRACKPLAY_SPEED', '0', '1', 'TRACKPLAY', '30');
INSERT INTO `zw_c_custom_column` (`id`, `title`, `name`, `mark`, `status`, `sort`, `column_module`, `init_value`) VALUES ('c3fa0991-a450-11e9-9469-000c29920fdc', '滑块2速度', 'endSpeed', 'TRACKPLAY_SPEED', '0', '2', 'TRACKPLAY', '80');


-- 菜单
-- 报表管理ID：f9c65d06-f40e-11e6-bc64-92361f006689

UPDATE `zw_c_resource` SET `icon_cls` = 'arrow fa fa-angle-right pull-right', `resource_name` = '山西监管报表', `type` = 1, `code` = NULL, `permission` = 'sxReportManagement', `perm_value` = 'javascript:void(0);', `description` = NULL, `parent_id` = 'f9c65d06-f40e-11e6-bc64-92361f006689', `sort_order` = 1208, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '120008', `flag` = 1 WHERE `id` = 'eac86c12-25a0-11e8-b467-0ed5f89f718b';

UPDATE `zw_c_resource` SET `icon_cls` = 'arrow fa fa-angle-right pull-right', `resource_name` = '四川监管报表', `type` = 1, `code` = NULL, `permission` = 'cbReportManagement', `perm_value` = 'javascript:void(0);', `description` = NULL, `parent_id` = 'f9c65d06-f40e-11e6-bc64-92361f006689', `sort_order` = 1209, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '120009', `flag` = 1 WHERE `id` = 'd41f83a4-4dd9-11e8-9c2d-fa7ae01bbebc';

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 ('4af1540a-b784-8557-64f6-8f858e0948a6', 'arrow fa fa-angle-right pull-right', '服务类报表', 1, NULL, '', 'javascript:void(0);', NULL, 'f9c65d06-f40e-11e6-bc64-92361f006689', 1201, 1, 1, NULL, NULL, NULL, NULL, NULL, '120001', 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 ('2fa6db13-1361-5f9b-f1e0-eef551c1566e', 'arrow fa fa-angle-right pull-right', '报警报表', 1, NULL, '', 'javascript:void(0);', NULL, 'f9c65d06-f40e-11e6-bc64-92361f006689', 1202, 1, 1, NULL, NULL, NULL, NULL, NULL, '120002', 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 ('c792a247-fa3a-f455-9e39-2d15ad22f5cb', 'arrow fa fa-angle-right pull-right', '位置报表', 1, NULL, '', 'javascript:void(0);', NULL, 'f9c65d06-f40e-11e6-bc64-92361f006689', 1203, 1, 1, NULL, NULL, NULL, NULL, NULL, '120003', 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 ('48c5b1ee-5f60-5953-cb6d-c5b28ad78a31', 'arrow fa fa-angle-right pull-right', '传感器报表', 1, NULL, '', 'javascript:void(0);', NULL, 'f9c65d06-f40e-11e6-bc64-92361f006689', 1204, 1, 1, NULL, NULL, NULL, NULL, NULL, '120004', 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 ('9f8af256-9ae8-3db3-d793-30c2cddc73f8', 'arrow fa fa-angle-right pull-right', '多媒体报表', 1, NULL, '', 'javascript:void(0);', NULL, 'f9c65d06-f40e-11e6-bc64-92361f006689', 1205, 1, 1, NULL, NULL, NULL, NULL, NULL, '120005', 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 ('2234bd3e-191e-2216-d43f-78df4c92c74d', 'arrow fa fa-angle-right pull-right', '主动安全报表', 1, NULL, '', 'javascript:void(0);', NULL, 'f9c65d06-f40e-11e6-bc64-92361f006689', 1206, 1, 1, NULL, NULL, NULL, NULL, NULL, '120006', 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 ('de25030a-0dc7-adc7-219f-a4d49bebde0c', 'arrow fa fa-angle-right pull-right', '部标监管报表', 1, NULL, '', 'javascript:void(0);', NULL, 'f9c65d06-f40e-11e6-bc64-92361f006689', 1207, 1, 1, NULL, NULL, NULL, NULL, NULL, '120007', 1);

-- 服务类报表ID: 4af1540a-b784-8557-64f6-8f858e0948a6

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '大数据报表', `type` = 0, `code` = NULL, `permission` = 'bigDataReport', `perm_value` = '/m/reportManagement/bigDataReport/list', `description` = NULL, `parent_id` = '4af1540a-b784-8557-64f6-8f858e0948a6', `sort_order` = 120, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '12001', `flag` = 1 WHERE `id` = 'f9c65d06-f40e-11e6-bc64-92361f668901';

UPDATE `zw_c_resource` SET `icon_cls` = '', `resource_name` = '服务器监控报表', `type` = 0, `code` = NULL, `permission` = '', `perm_value` = '/r/reportManagement/serverMonitor/list', `description` = '', `parent_id` = '4af1540a-b784-8557-64f6-8f858e0948a6', `sort_order` = 122, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = NULL, `flag` = 1 WHERE `id` = '33a910f9-ec27-4460-8f35-8bbc5d87713e';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '服务到期报表', `type` = 0, `code` = NULL, `permission` = 'lifecycleExpireStatistic', `perm_value` = '/v/statistic/lifecycleStatistic/list', `description` = NULL, `parent_id` = '4af1540a-b784-8557-64f6-8f858e0948a6', `sort_order` = 147, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '90036', `flag` = 1 WHERE `id` = 'c0172f52-ff48-11e8-9eea-782bcb5cf35e';

-- 报警报表ID: 2fa6db13-1361-5f9b-f1e0-eef551c1566e

UPDATE `zw_c_resource` SET `icon_cls` = '', `resource_name` = '报警查询', `type` = 0, `code` = NULL, `permission` = 'alarmsearch', `perm_value` = '/a/search/list', `description` = NULL, `parent_id` = '2fa6db13-1361-5f9b-f1e0-eef551c1566e', `sort_order` = 63, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '6003', `flag` = 1 WHERE `id` = '0266048a-6a8e-11e6-8b77-86f30ca893d3';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '809转发报警查询', `type` = 0, `code` = NULL, `permission` = 'monitorForwardingAlarmSearch', `perm_value` = '/m/monitorForwardingAlarmSearch/list', `description` = NULL, `parent_id` = '2fa6db13-1361-5f9b-f1e0-eef551c1566e', `sort_order` = 1123, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '110025', `flag` = 1 WHERE `id` = 'e4587eb4-07f8-11e9-9eea-782bcb5cf35e';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '报警信息报表', `type` = 0, `code` = NULL, `permission` = 'alarmStatistic', `perm_value` = '/m/reportManagement/alarmReport/list', `description` = NULL, `parent_id` = '2fa6db13-1361-5f9b-f1e0-eef551c1566e', `sort_order` = 125, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '12005', `flag` = 1 WHERE `id` = '9aa9aba2-1510-11e7-93ae-92361f002671';

-- 位置报表ID: c792a247-fa3a-f455-9e39-2d15ad22f5cb

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '行驶报表', `type` = 0, `code` = NULL, `permission` = 'mileageStatistic', `perm_value` = '/m/reportManagement/mileageReport/list', `description` = NULL, `parent_id` = 'c792a247-fa3a-f455-9e39-2d15ad22f5cb', `sort_order` = 122, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '12002', `flag` = 1 WHERE `id` = '9aa9af12-1510-11e7-93ae-92361f002671';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '离线查询报表', `type` = 0, `code` = NULL, `permission` = 'offineLine', `perm_value` = '/sx/sxReportManagement/offLineReport/list', `description` = NULL, `parent_id` = 'c792a247-fa3a-f455-9e39-2d15ad22f5cb', `sort_order` = 139, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '120011', `flag` = 1 WHERE `id` = '7d515b16-25a1-11e8-b467-0ed5f89f718b';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '连续性分析报表', `type` = 0, `code` = NULL, `permission` = '', `perm_value` = '/cb/cbReportManagement/shieldDataFilter/list', `description` = NULL, `parent_id` = 'c792a247-fa3a-f455-9e39-2d15ad22f5cb', `sort_order` = 142, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '120014', `flag` = 1 WHERE `id` = 'd3be114a-580c-11e8-9c2d-fa7ae01bbebc';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '最新位置信息报表', `type` = 0, `code` = NULL, `permission` = 'latestLocationInfoStatistics', `perm_value` = '/v/statistic/latestLocationInfoStatistics/list', `description` = NULL, `parent_id` = 'c792a247-fa3a-f455-9e39-2d15ad22f5cb', `sort_order` = 148, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '90037', `flag` = 1 WHERE `id` = 'c0172f52-ff48-11e8-9eea-968bcb5cf26e';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '出区划累计时长统计', `type` = 0, `code` = NULL, `permission` = 'outAreaTotalTimeReport', `perm_value` = '/m/reportManagement/outTotalTime/list', `description` = NULL, `parent_id` = 'c792a247-fa3a-f455-9e39-2d15ad22f5cb', `sort_order` = 149, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '90038', `flag` = 1 WHERE `id` = 'c0172f52-ff48-11e8-9eeb-079cdc6dg37f';

-- 传感器报表ID: 48c5b1ee-5f60-5953-cb6d-c5b28ad78a31

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '油量报表', `type` = 0, `code` = NULL, `permission` = 'oilConsumeStatistic', `perm_value` = '/v/oilmassmgt/oilquantitystatistics/list', `description` = NULL, `parent_id` = '48c5b1ee-5f60-5953-cb6d-c5b28ad78a31', `sort_order` = 129, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '90025', `flag` = 1 WHERE `id` = '304b30c4-a00c-11e6-80f5-76304dec7eb7';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '油量里程报表', `type` = 0, `code` = NULL, `permission` = 'OilMassMileReport', `perm_value` = '/m/reportManagement/oilMassMileReport/list', `description` = NULL, `parent_id` = '48c5b1ee-5f60-5953-cb6d-c5b28ad78a31', `sort_order` = 150, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '90040', `flag` = 1 WHERE `id` = 'df48a919-5a81-11e9-9393-000c297cf508';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '油耗报表', `type` = 0, `code` = NULL, `permission` = 'oilStatistic', `perm_value` = '/v/oilmgt/list', `description` = NULL, `parent_id` = '48c5b1ee-5f60-5953-cb6d-c5b28ad78a31', `sort_order` = 130, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '90033', `flag` = 1 WHERE `id` = 'fc87aa90-7d62-11e6-ae22-56b6b6499611';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '里程报表', `type` = 0, `code` = NULL, `permission` = 'mileStatistics', `perm_value` = '/v/meleMonitor/mileStatistics/list', `description` = NULL, `parent_id` = '48c5b1ee-5f60-5953-cb6d-c5b28ad78a31', `sort_order` = 131, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = NULL, `flag` = 1 WHERE `id` = 'f8bbe8a8-281f-49e1-ad34-7a111f9115e0';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '温度报表', `type` = 0, `code` = NULL, `permission` = '', `perm_value` = '/v/temperatureDetection/temperatureStatistics/list', `description` = NULL, `parent_id` = '48c5b1ee-5f60-5953-cb6d-c5b28ad78a31', `sort_order` = 132, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = NULL, `flag` = 1 WHERE `id` = 'a1775bd8-13db-45e8-8514-d48664bec8f6';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '湿度报表', `type` = 0, `code` = NULL, `permission` = '', `perm_value` = '/v/humidity/statistical/list', `description` = NULL, `parent_id` = '48c5b1ee-5f60-5953-cb6d-c5b28ad78a31', `sort_order` = 133, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = NULL, `flag` = 1 WHERE `id` = 'a8141c4a-6549-45d5-9a82-5fc9ffa5996a';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '正反转报表', `type` = 0, `code` = NULL, `permission` = '', `perm_value` = '/v/veerManagement/veerStatistics/list', `description` = NULL, `parent_id` = '48c5b1ee-5f60-5953-cb6d-c5b28ad78a31', `sort_order` = 134, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = NULL, `flag` = 1 WHERE `id` = '56bf8dee-34c0-4064-acad-a8688ffd2430';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '工时报表', `type` = 0, `code` = NULL, `permission` = 'workHourStatistics', `perm_value` = '/v/workhourmgt/workHourStatistics/list', `description` = NULL, `parent_id` = '48c5b1ee-5f60-5953-cb6d-c5b28ad78a31', `sort_order` = 143, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '90016', `flag` = 1 WHERE `id` = '81649b30-838d-11e6-ae22-56b6b649d1f1';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = 'I/O报表', `type` = 0, `code` = NULL, `permission` = 'switchSignalStatistics', `perm_value` = '/v/switching/switchSignalStatistics/list', `description` = NULL, `parent_id` = '48c5b1ee-5f60-5953-cb6d-c5b28ad78a31', `sort_order` = 144, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '90017', `flag` = 1 WHERE `id` = '35e7ba26-f5b8-4c64-a174-dc2a0bcbccb6';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '载重报表', `type` = 0, `code` = NULL, `permission` = 'loadManagementStatistic', `perm_value` = '/v/statistic/loadManagementStatistic/list', `description` = NULL, `parent_id` = '48c5b1ee-5f60-5953-cb6d-c5b28ad78a31', `sort_order` = 145, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '90034', `flag` = 1 WHERE `id` = 'cfa2efea-b59f-11e8-9eea-782bcb5cf35e';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '胎压报表', `type` = 0, `code` = NULL, `permission` = 'tirePressureReport', `perm_value` = '/v/statistic/tirePressureReport/list', `description` = NULL, `parent_id` = '48c5b1ee-5f60-5953-cb6d-c5b28ad78a31', `sort_order` = 149, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '90038', `flag` = 1 WHERE `id` = 'c0172f52-ff48-11e8-9eea-968bcb5cf2tr';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = 'OBD行程报表', `type` = 0, `code` = NULL, `permission` = 'obdTripReport', `perm_value` = '/v/statistic/obdTripReport/list', `description` = NULL, `parent_id` = '48c5b1ee-5f60-5953-cb6d-c5b28ad78a31', `sort_order` = 150, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '90039', `flag` = 1 WHERE `id` = 'c0172f52-ff48-11e8-9eea-968bcb5cfobd';

-- 多媒体报表ID: 9f8af256-9ae8-3db3-d793-30c2cddc73f8

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '多媒体管理', `type` = 0, `code` = NULL, `permission` = 'media', `perm_value` = '/m/reportManagement/media/list', `description` = NULL, `parent_id` = '9f8af256-9ae8-3db3-d793-30c2cddc73f8', `sort_order` = 135, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '12006', `flag` = 1 WHERE `id` = '0d8162bb-4722-48bc-b321-456dbbd5540b';

-- 主动安全报表ID: 2234bd3e-191e-2216-d43f-78df4c92c74d

UPDATE `zw_c_resource` SET `icon_cls` = '', `resource_name` = '主动安全处置报表', `type` = 0, `code` = NULL, `permission` = '', `perm_value` = '/r/riskManagement/disposeReport/list', `description` = '', `parent_id` = '2234bd3e-191e-2216-d43f-78df4c92c74d', `sort_order` = 121, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = NULL, `flag` = 1 WHERE `id` = '256c9c2c-8168-11e7-bb31-be2e44b06b34';

-- 部标监管报表ID: de25030a-0dc7-adc7-219f-a4d49bebde0c

UPDATE `zw_c_resource` SET `icon_cls` = '', `resource_name` = '车辆综合信息报表', `type` = 0, `code` = NULL, `permission` = '', `perm_value` = '/m/reportManagement/vehGeneralInfo/list', `description` = '', `parent_id` = 'de25030a-0dc7-adc7-219f-a4d49bebde0c', `sort_order` = 123, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = NULL, `flag` = 1 WHERE `id` = 'c509064e-fabe-5b14-c26f-9625c89a394b';

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 ('d84952bd-5b5a-ea6d-5538-30726a2dd86a', NULL, '行驶里程报表', 0, NULL, 'mileageStatistic', '/m/reportManagement/mileageReport/twoList', NULL, 'de25030a-0dc7-adc7-219f-a4d49bebde0c', 155, 1, 1, NULL, NULL, NULL, NULL, NULL, '15005', 1);

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '停止报表', `type` = 0, `code` = NULL, `permission` = 'parkingReport', `perm_value` = '/m/reportManagement/parkingReport/list', `description` = NULL, `parent_id` = 'de25030a-0dc7-adc7-219f-a4d49bebde0c', `sort_order` = 156, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '15006', `flag` = 1 WHERE `id` = '9e503d5e-2963-11e7-93ae-92361f002671';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '上线率报表', `type` = 0, `code` = NULL, `permission` = 'onlineStatistic', `perm_value` = '/m/reportManagement/onlineReport/list', `description` = NULL, `parent_id` = 'de25030a-0dc7-adc7-219f-a4d49bebde0c', `sort_order` = 124, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '12004', `flag` = 1 WHERE `id` = '9aa9b110-1510-11e7-93ae-92361f002671';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '报警信息统计', `type` = 0, `code` = NULL, `permission` = 'alarmMessageStatistic', `perm_value` = '/m/reportManagement/alarmMessageStatistic/list', `description` = NULL, `parent_id` = 'de25030a-0dc7-adc7-219f-a4d49bebde0c', `sort_order` = 151, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '120051', `flag` = 1 WHERE `id` = '80a716b7-7912-11e9-9de7-000c294a3301';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '超速报表', `type` = 0, `code` = NULL, `permission` = 'speedReport', `perm_value` = '/m/reportManagement/speedReport/list', `description` = NULL, `parent_id` = 'de25030a-0dc7-adc7-219f-a4d49bebde0c', `sort_order` = 126, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '12006', `flag` = 1 WHERE `id` = '9e503aca-2963-11e7-93ae-92361f002671';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '超速报警报表', `type` = 0, `code` = NULL, `permission` = 'speedAlarmReport', `perm_value` = '/m/reportManagement/speedAlarmReport/list', `description` = NULL, `parent_id` = 'de25030a-0dc7-adc7-219f-a4d49bebde0c', `sort_order` = 127, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '12007', `flag` = 1 WHERE `id` = '9e503e62-2963-11e7-93ae-92361f002671';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '音视频日志查询', `type` = 0, `code` = NULL, `permission` = 'videoLogSearch', `perm_value` = '/m/reportManagement/logSearch/videoLog', `description` = NULL, `parent_id` = 'de25030a-0dc7-adc7-219f-a4d49bebde0c', `sort_order` = 136, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '12005', `flag` = 1 WHERE `id` = '43b4dc62-3315-11e8-b467-0ed5f89f718b';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '音视频流量报表', `type` = 0, `code` = NULL, `permission` = 'flow', `perm_value` = '/m/reportManagement/flowReport/list', `description` = NULL, `parent_id` = 'de25030a-0dc7-adc7-219f-a4d49bebde0c', `sort_order` = 138, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '120010', `flag` = 1 WHERE `id` = 'edf5a182-eb7d-11e7-8c3f-9a214cf093ae';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '客流量报表', `type` = 0, `code` = NULL, `permission` = 'passengerFlowReport', `perm_value` = '/m/reportManagement/passengerFlowReport/list', `description` = NULL, `parent_id` = 'de25030a-0dc7-adc7-219f-a4d49bebde0c', `sort_order` = 140, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '120012', `flag` = 1 WHERE `id` = '554e7242-2da9-11e8-b467-0ed5f89f718b';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '行驶记录仪报表', `type` = 0, `code` = NULL, `permission` = 'drivingRecordCollection', `perm_value` = '/m/reportManagement/drivingRecord/list', `description` = NULL, `parent_id` = 'de25030a-0dc7-adc7-219f-a4d49bebde0c', `sort_order` = 150, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '90041', `flag` = 1 WHERE `id` = 'f9c65d06-f40e-11e6-bc64-92361f006700';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '车辆运营状态报表', `type` = 0, `code` = NULL, `permission` = 'vehicleOperation', `perm_value` = '/m/reportManagement/vehicle/operationStatus/list', `description` = NULL, `parent_id` = 'de25030a-0dc7-adc7-219f-a4d49bebde0c', `sort_order` = 152, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '90042', `flag` = 1 WHERE `id` = 'f9c65d06-f40e-11e6-bc64-92361f006701';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '轨迹有效性报表', `type` = 0, `code` = NULL, `permission` = 'trackValidReport', `perm_value` = '/m/trackValidReport/list', `description` = NULL, `parent_id` = 'de25030a-0dc7-adc7-219f-a4d49bebde0c', `sort_order` = 153, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '90043', `flag` = 1 WHERE `id` = 'fc1377d5-840a-11e9-ad06-000c29920fdc';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '809查岗督办报表', `type` = 0, `code` = NULL, `permission` = 'gangSupervisionReport', `perm_value` = '/m/reportManagement/inspectionAndSupervision/list', `description` = NULL, `parent_id` = 'de25030a-0dc7-adc7-219f-a4d49bebde0c', `sort_order` = 146, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '90035', `flag` = 1 WHERE `id` = 'c39af797-9973-4588-bb31-0dc38fc1dbb1';









-- 报警
UPDATE `zw_m_alarm_parameter` SET `default_value`=null WHERE (`id`='1212d130-268d-11e8-b467-0ed5f89f718b');
UPDATE `zw_m_alarm_parameter` SET `default_value`=null WHERE (`id`='1212d75c-268d-11e8-b467-0ed5f89f718b');
UPDATE `zw_m_alarm_parameter` SET `default_value`=null WHERE (`id`='1212d9fa-268d-11e8-b467-0ed5f89f718b');
UPDATE `zw_m_alarm_parameter` SET `default_value`=null WHERE (`id`='1212dc84-268d-11e8-b467-0ed5f89f718b');
UPDATE `zw_m_alarm_parameter` SET `default_value`=null WHERE (`id`='1212defa-268d-11e8-b467-0ed5f89f718b');

alter table zw_m_special_alarm add column upload_audio_resources_flag int(2) DEFAULT NULL COMMENT  '是否设置上传音视频资源列表， 0 否  1 是';

ALTER TABLE zw_m_sensor_vehicle ADD COLUMN threshold double DEFAULT NULL COMMENT '阈值(L/h)';
ALTER TABLE zw_c_logo_config ADD COLUMN login_background varchar(50) DEFAULT NULL COMMENT '登录页背景图片';
UPDATE zw_app_statistics_config SET `name` = '行驶统计' WHERE `name` = '里程统计';

-- adas
-- 川冀标二期sql
ALTER TABLE zw_m_professionals_info ADD COLUMN  lock_type tinyint DEFAULT 0 COMMENT '0:平台录入,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('43891d98-667f-41db-993d-87c0cc8aea8c', '', '驾驶员统计', '0', NULL, '', '/m/reportManagement/driverStatistics/list', '','f9c65d06-f40e-11e6-bc64-92361f006689', '122', '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 ('a0fb920b-b0e1-428c-b1b6-99bf8788f390', '43891d98-667f-41db-993d-87c0cc8aea8c', 'cn=ROLE_ADMIN,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('ab5ecc1d-f3c3-42e3-9e84-7aacd516a64f', '', '安全看板', '0', NULL, '', '/adas/safetyBoard/list', '','2e9f3418-7dbf-11e8-adc0-fa7ae01bbebc', '123', '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 ('8983a2c0-6205-4fbe-8d5c-a0d7c56d1c4d', 'ab5ecc1d-f3c3-42e3-9e84-7aacd516a64f', 'cn=ROLE_ADMIN,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('bdc4995f-106f-4b39-8d44-2c86ec3d30dd', '', '运营看板', '0', NULL, '', '/adas/operationalBoard/list', '','2e9f3418-7dbf-11e8-adc0-fa7ae01bbebc', '124', '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 ('602b6d11-cec1-43f6-97c8-419320c7ea48', 'bdc4995f-106f-4b39-8d44-2c86ec3d30dd', 'cn=ROLE_ADMIN,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 ('8e60dafb-859f-4f13-9b5e-ea9f3c107bf2', NULL, '风险证据库', 0, NULL, 'adasRiskEvidence', '/adas/r/reportManagement/adasRiskEvidence/list', NULL, 'f9c65d06-f40e-11e6-bc64-92361f006689', 11110, 1, 1, NULL, NULL, NULL, NULL, NULL, '1111000', 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 ('97f7de2a-520f-4958-b3eb-281784698e2', '8e60dafb-859f-4f13-9b5e-ea9f3c107bf2', 'cn=ROLE_ADMIN,ou=Groups','2019-04-29 15:16:56', 'admin', NULL, NULL, '1', '0');

-- zw_m_vehicle_adas_event 20190709
ALTER TABLE zw_m_vehicle_adas_event ADD COLUMN  road_identification int DEFAULT 0 COMMENT '道路标识识别';
ALTER TABLE zw_m_vehicle_adas_event ADD COLUMN  fatigue_driving int DEFAULT 0 COMMENT '疲劳驾驶';
ALTER TABLE zw_m_vehicle_adas_event ADD COLUMN  driver_behavior_monitor_failure int DEFAULT 0 COMMENT '驾驶员行为监测功能失效';
ALTER TABLE zw_m_vehicle_adas_event ADD COLUMN  driver_id_exception int DEFAULT 0 COMMENT '驾驶员身份异常';
ALTER TABLE zw_m_vehicle_adas_event ADD COLUMN  driver_change int DEFAULT 0 COMMENT '驾驶员变更';
ALTER TABLE zw_m_vehicle_adas_event ADD COLUMN  off_wheel int DEFAULT 0 COMMENT '双手同时脱离方向盘';
ALTER TABLE zw_m_vehicle_adas_event ADD COLUMN  not_wearing_seat_belt int DEFAULT 0 COMMENT '未系安全带报警';
ALTER TABLE zw_m_vehicle_adas_event ADD COLUMN  assist_failure int DEFAULT 0 COMMENT '驾驶辅助功能失效';
ALTER TABLE zw_m_vehicle_adas_event ADD COLUMN  idle_speed int DEFAULT 0 COMMENT '怠速';
ALTER TABLE zw_m_vehicle_adas_event ADD COLUMN  abnormal_flame_out int DEFAULT 0 COMMENT '异常熄火';
ALTER TABLE zw_m_vehicle_adas_event ADD COLUMN  neutral_taxiing int DEFAULT 0 COMMENT '空挡滑行';
ALTER TABLE zw_m_vehicle_adas_event ADD COLUMN  engine_overdrive int DEFAULT 0 COMMENT '发动机超转';
ALTER TABLE zw_m_vehicle_adas_event ADD COLUMN  distracted_driving int DEFAULT 0 COMMENT '分神驾驶';
-- zw_m_vehicle_adas_risk
-- zw_m_vehicle_adas_risk_hour
ALTER TABLE zw_m_vehicle_adas_risk ADD COLUMN  intense_driving int DEFAULT 0 COMMENT '激烈驾驶（川冀标新增）';
ALTER TABLE zw_m_vehicle_adas_risk_hour ADD COLUMN  intense_driving int DEFAULT 0 COMMENT '激烈驾驶（川冀标新增）';

-- zw_m_device_info添加表字段
ALTER TABLE zw_m_device_info ADD COLUMN  compliance_requirements tinyint DEFAULT 1 COMMENT '是否符合要求 0:否,1:是';
ALTER TABLE zw_m_device_info ADD COLUMN  install_company VARCHAR (50) COMMENT '安装单位';
ALTER TABLE zw_m_device_info ADD COLUMN  contacts VARCHAR(20) COMMENT '联系人';
ALTER TABLE zw_m_device_info ADD COLUMN  telephone VARCHAR (20) COMMENT '联系方式';
-- ----------------------------
-- Table structure for zw_m_vehicle_card_num
-- ----------------------------
CREATE TABLE `zw_m_vehicle_card_num` (
  `vid` varchar(255) NOT NULL COMMENT '车辆id',
  `card_number` text COMMENT '从业资格证号',
  PRIMARY KEY (`vid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;


INSERT INTO `zw_c_role_resource` (`id`, `resource_id`, `role_id`, `create_data_time`, `create_data_username`,  `flag`, `editable`) 
SELECT UUID(),r.parent_id,role_id, CURDATE() AS create_data_time, 'system' AS create_data_username, 1 AS flag, 1 AS editable FROM zw_c_role_resource rr
INNER JOIN zw_c_resource r ON rr.resource_id = r.id AND r.flag = 1
WHERE r.parent_id in ('f9c65d06-f40e-11e6-bc64-92361f006689','4af1540a-b784-8557-64f6-8f858e0948a6',
'2fa6db13-1361-5f9b-f1e0-eef551c1566e','c792a247-fa3a-f455-9e39-2d15ad22f5cb','48c5b1ee-5f60-5953-cb6d-c5b28ad78a31',
'9f8af256-9ae8-3db3-d793-30c2cddc73f8','2234bd3e-191e-2216-d43f-78df4c92c74d','de25030a-0dc7-adc7-219f-a4d49bebde0c','eac86c12-25a0-11e8-b467-0ed5f89f718b',
'd41f83a4-4dd9-11e8-9c2d-fa7ae01bbebc') AND rr.resource_id NOT in('f9c65d06-f40e-11e6-bc64-92361f006689','4af1540a-b784-8557-64f6-8f858e0948a6',
'2fa6db13-1361-5f9b-f1e0-eef551c1566e','c792a247-fa3a-f455-9e39-2d15ad22f5cb','48c5b1ee-5f60-5953-cb6d-c5b28ad78a31',
'9f8af256-9ae8-3db3-d793-30c2cddc73f8','2234bd3e-191e-2216-d43f-78df4c92c74d','de25030a-0dc7-adc7-219f-a4d49bebde0c','eac86c12-25a0-11e8-b467-0ed5f89f718b',
'd41f83a4-4dd9-11e8-9c2d-fa7ae01bbebc')
 GROUP BY rr.role_id,r.parent_id ORDER BY r.parent_id;
 
ALTER TABLE `zw_c_logo_config` ADD COLUMN `platform_site` varchar(64) DEFAULT NULL COMMENT '平台网址';

ALTER TABLE `zw_c_logo_config` ADD COLUMN `login_personalization` varchar(200) DEFAULT NULL COMMENT '登录页个性化设置';

-- 修改平台个性化设置默认数据
UPDATE `zw_c_logo_config` SET `login_personalization` = '{\"inputPosition\":\"2\",\"logoPosition\":\"3\",\"recordNumberColor\":\"rgb(45,45,45)\",\"recordNumberShadow\":\"rgb(255,255,255)\",\"buttonColor\":\"rgb(85,101,123)\"}' WHERE `id` = '2';

alter table zw_m_professionals_info modify qualification_category varchar(50);
-- 主动安全参数设置 默认值修改
UPDATE zw_m_adas_alarm_param_setting SET time_threshold =10 WHERE vehicle_id='default' and flag =1 and risk_function_id =1264081;
UPDATE zw_m_adas_alarm_param_setting SET time_threshold =10 WHERE vehicle_id='default' and flag =1 and risk_function_id =1264082;
UPDATE zw_m_adas_alarm_param_setting SET time_threshold =10 WHERE vehicle_id='default' and flag =1 and risk_function_id =1264083;
UPDATE zw_m_adas_alarm_param_setting SET time_threshold =10 ,speed_threshold=30 WHERE vehicle_id='default' and flag =1 and risk_function_id =127001;
UPDATE zw_m_adas_alarm_param_setting SET time_threshold =10 ,speed_threshold=30 WHERE vehicle_id='default' and flag =1 and risk_function_id =127002;
UPDATE zw_m_adas_alarm_param_setting SET time_threshold =10 ,speed_threshold=30 WHERE vehicle_id='default' and flag =1 and risk_function_id =127003;
UPDATE zw_m_adas_alarm_param_setting SET time_threshold =10 ,speed_threshold=30 WHERE vehicle_id='default' and flag =1 and risk_function_id =127004;
UPDATE zw_m_adas_alarm_param_setting SET photograph_time =2  WHERE vehicle_id='default' and flag =1 and risk_function_id =126409;

-- 修改zw_m_vehicle_adas_event表（驾驶员身份异常变成驾驶员异常）
ALTER TABLE zw_m_vehicle_adas_event CHANGE driver_id_exception driver_exception int;

-- 川标的809-809mapping
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 ('a3277bae-0b37-4a29-8c48-eb2a0bd83555', '2301-default', '15911', '0x0201', '0', '2301', '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 ('238ce1cd-1bcb-4f40-a345-56b84baeaa1c', '2301-default', '15912', '0x0202', '0', '2301', '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 ('c7fedef6-6896-47a7-afc4-14efdcca7c39', '2301-default', '15913', '0x0203', '0', '2301', '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 ('6bc420ff-bedb-41d0-a3c2-3abbc605b231', '2301-default', '15914', '0x0204', '0', '2301', '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 ('74bcac73-73a1-45a9-9de8-6cce164db24d', '2301-default', '15915', '0x0205', '0', '2301', '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 ('408b7d8f-6ec4-4c71-9422-109d9816fda7', '2301-default', '15916', '0x0206', '0', '2301', '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 ('919bc6f9-b6d2-47ee-b26b-6a98303aa186', '2301-default', '15917', '0x0207', '0', '2301', '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 ('f5f15cdd-bb6b-46e8-a5f6-5f78c11e4b04', '2301-default', '15918', '0x0208', '0', '2301', '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 ('a4255ad5-46bb-4c59-84eb-40b0e0f8884f', '2301-default', '16011', '0x0211', '0', '2301', '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 ('bcd6d1d8-c0fa-4033-8a1b-68cc6d4d65d9', '2301-default', '16012', '0x0212', '0', '2301', '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 ('2d9e6d4e-2bef-41a3-9c95-f921301e17aa', '2301-default', '16013', '0x0213', '0', '2301', '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 ('73caa14d-046e-4887-8360-78883974a843', '2301-default', '16014', '0x0214', '0', '2301', '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 ('aa6fee80-b4e5-4344-8b05-1c5b280bcf3d', '2301-default', '16015', '0x0215', '0', '2301', '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 ('c43fa2fa-25bc-4f82-a977-d0e57143c6b1', '2301-default', '16016', '0x0216', '0', '2301', '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 ('979520a9-0bf5-4607-9bb2-a1e93cf2bd1c', '2301-default', '16017', '0x0217', '0', '2301', '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 ('f2ad7917-f219-4b01-972a-6a412a43a5e4', '2301-default', '16018', '0x0218', '0', '2301', '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 ('02206a97-83b4-4ada-a314-cee388ea830e', '2301-default', '16111', '0x0241', '0', '2301', '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 ('207e17fa-266f-4aef-997a-7ee8f236a290', '2301-default', '16112', '0x0242', '0', '2301', '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 ('9fd40a04-d112-4673-9ea6-4bf8164f63a8', '2301-default', '16113', '0x0243', '0', '2301', '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 ('53a1a7e2-560f-408e-9f67-c499e44940d6', '2301-default', '16114', '0x0244', '0', '2301', '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 ('0419d2d1-f870-4b78-993c-3c0c92cadeee', '2301-default', '16115', '0x0245', '0', '2301', '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 ('0523d777-e2db-4634-83d1-20b678ce78fe', '2301-default', '16116', '0x0246', '0', '2301', '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 ('de0bc4e6-cc92-4092-be34-de96fa368015', '2301-default', '16117', '0x0247', '0', '2301', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);

-- 冀标的809-809mapping

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 ('bc5d0eb0-ca23-4178-81ba-981d959efe10', '3-default', '16211', '0x0064', '0', '3', '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 ('91a73c58-89ea-49bd-b9da-6d9120e6e5f0', '3-default', '16212', '0x0064', '0', '3', '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 ('4188a68b-6d65-4d28-afe7-efb47c1dbf1d', '3-default', '16213', '0x0064', '0', '3', '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 ('ec50ffeb-c4c5-4d42-ac85-be328786a511', '3-default', '16214', '0x0064', '0', '3', '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 ('b705b29f-490a-4dbe-80c4-5e2677752fad', '3-default', '16215', '0x0064', '0', '3', '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 ('6b03781a-4e69-4d9a-948b-2afa2ffc1df1', '3-default', '16216', '0x0064', '0', '3', '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 ('edb79f0b-4fa9-4b26-a315-fcda20735ff3', '3-default', '16217', '0x0064', '0', '3', '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 ('08a19db5-3af3-4538-b172-c46759cf87d2', '3-default', '16311', '0x0065', '0', '3', '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 ('a108a26d-a995-4075-97b4-aad784c6a5e1', '3-default', '16312', '0x0065', '0', '3', '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 ('ca4ec5ad-9d67-41d2-8600-1191617de37a', '3-default', '16313', '0x0065', '0', '3', '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 ('42b44307-90a3-42f4-b3a9-8be59151da39', '3-default', '16314', '0x0065', '0', '3', '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 ('a3b30558-9c26-4451-8443-51f222712b69', '3-default', '16315', '0x0065', '0', '3', '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 ('25175350-b458-4f98-b5ba-8980c2a70a1a', '3-default', '16316', '0x0065', '0', '3', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);

-- 主动安全报警对应809报警类型

ALTER TABLE zw_m_risk_event ADD COLUMN t_808_809_mapping_id VARCHAR(64) COMMENT 'zw_m_808_809_mapping的主键ID';
-- 川标
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='a3277bae-0b37-4a29-8c48-eb2a0bd83555' where function_id ='126401' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='c43fa2fa-25bc-4f82-a977-d0e57143c6b1' where function_id ='126517' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='de0bc4e6-cc92-4092-be34-de96fa368015' where function_id ='127004' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='0419d2d1-f870-4b78-993c-3c0c92cadeee' where function_id ='127002' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='53a1a7e2-560f-408e-9f67-c499e44940d6' where function_id ='127001' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='207e17fa-266f-4aef-997a-7ee8f236a290' where function_id ='1264082' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='02206a97-83b4-4ada-a314-cee388ea830e' where function_id ='1264081' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='9fd40a04-d112-4673-9ea6-4bf8164f63a8' where function_id ='1264083' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='2d9e6d4e-2bef-41a3-9c95-f921301e17aa' where function_id ='126503' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='73caa14d-046e-4887-8360-78883974a843' where function_id ='126502' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='aa6fee80-b4e5-4344-8b05-1c5b280bcf3d' where function_id ='126510' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='a4255ad5-46bb-4c59-84eb-40b0e0f8884f' where function_id ='126513' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='0523d777-e2db-4634-83d1-20b678ce78fe' where function_id ='127003' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='6bc420ff-bedb-41d0-a3c2-3abbc605b231' where function_id ='126404' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='c7fedef6-6896-47a7-afc4-14efdcca7c39' where function_id ='126403' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='238ce1cd-1bcb-4f40-a345-56b84baeaa1c' where function_id ='126402' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='408b7d8f-6ec4-4c71-9422-109d9816fda7' where function_id ='126409' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='bcd6d1d8-c0fa-4033-8a1b-68cc6d4d65d9' where function_id ='126508' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='919bc6f9-b6d2-47ee-b26b-6a98303aa186' where function_id ='126407' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='74bcac73-73a1-45a9-9de8-6cce164db24d' where function_id ='126405' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='979520a9-0bf5-4607-9bb2-a1e93cf2bd1c' where function_id ='126514' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='f5f15cdd-bb6b-46e8-a5f6-5f78c11e4b04' where function_id ='126519' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='f2ad7917-f219-4b01-972a-6a412a43a5e4' where function_id ='126515' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='238ce1cd-1bcb-4f40-a345-56b84baeaa1c' where function_id ='1264021' and protocol_type ='12';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='238ce1cd-1bcb-4f40-a345-56b84baeaa1c' where function_id ='1264022' and protocol_type ='12';

-- 冀标
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='a108a26d-a995-4075-97b4-aad784c6a5e1' where function_id ='136508' and protocol_type ='13';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='bc5d0eb0-ca23-4178-81ba-981d959efe10' where function_id ='136401' and protocol_type ='13';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='ca4ec5ad-9d67-41d2-8600-1191617de37a' where function_id ='136503' and protocol_type ='13';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='42b44307-90a3-42f4-b3a9-8be59151da39' where function_id ='136502' and protocol_type ='13';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='a3b30558-9c26-4451-8443-51f222712b69' where function_id ='136511' and protocol_type ='13';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='08a19db5-3af3-4538-b172-c46759cf87d2' where function_id ='136513' and protocol_type ='13';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='ec50ffeb-c4c5-4d42-ac85-be328786a511' where function_id ='136404' and protocol_type ='13';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='4188a68b-6d65-4d28-afe7-efb47c1dbf1d' where function_id ='136403' and protocol_type ='13';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='91a73c58-89ea-49bd-b9da-6d9120e6e5f0' where function_id ='136402' and protocol_type ='13';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='6b03781a-4e69-4d9a-948b-2afa2ffc1df1' where function_id ='136409' and protocol_type ='13';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='edb79f0b-4fa9-4b26-a315-fcda20735ff3' where function_id ='136407' and protocol_type ='13';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='b705b29f-490a-4dbe-80c4-5e2677752fad' where function_id ='136405' and protocol_type ='13';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='25175350-b458-4f98-b5ba-8980c2a70a1a' where function_id ='136510' and protocol_type ='13';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='91a73c58-89ea-49bd-b9da-6d9120e6e5f0' where function_id ='1364021' and protocol_type ='13';
UPDATE  zw_m_risk_event set t_808_809_mapping_id ='91a73c58-89ea-49bd-b9da-6d9120e6e5f0' where function_id ='1364022' and protocol_type ='13';

-- 川标808
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) values
('0c473f82-316c-4ec7-9cf5-4e1db24c9547','2301-default','1','0x0001',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('b6573013-8ce6-4f4e-b90a-026eab30bb92','2301-default','79','0x0002',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('d854a8a5-61e8-448f-ac1f-895e973a1454','2301-default','0','0x0003',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('9eab965a-5499-4440-a130-9fccb2fbd964','2301-default','2011','0x0004',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('684d5e83-2a4e-4b29-bc0c-fdde56b6f957','2301-default','2012','0x0005',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('439c1f91-8568-443d-96a2-d66bfafa916b','2301-default','26','0x0009',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('2e2cb6cf-5082-41a2-ad83-22f139902011','2301-default','23','0x000B',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('cd73e5b0-53db-49a1-9dd7-d0b22cf81605','2301-default','18','0x000D',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('d32f26fd-f889-4783-ba82-b039e2c6e813','2301-default','15','0x0010',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('80af1927-f4f1-455d-8d80-0f358fbf803c','2301-default','148','0x0011',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('a50615e8-3ad9-4df6-b0eb-2a7091f1375d','2301-default','149','0x0012',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('7d96b789-d36c-4b3b-ae75-6e62e604882d','2301-default','125','0x0101',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('160bcd4a-89fc-40a6-8a21-da4164dcdea2','2301-default','126','0x0102',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('19e0520a-9aaf-436c-8e25-c9556651f817','2301-default','127','0x0103',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('cf1343df-3307-40f0-a73d-9afbf17d268d','2301-default','128','0x0104',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('a66a70b7-15e9-474f-a230-0f31f9ecadac','2301-default','129','0x0105',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('87d1c17b-bece-4fd3-8d67-193b06caac11','2301-default','130','0x0106',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('bdf3180b-46bc-4eb3-958a-3313bc62bc3e','2301-default','131','0x0107',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('571c4bfe-3534-4f15-bbbb-971b65258dc9','2301-default','29','0x0301',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('06d1b568-1283-4dca-9e5a-f8cee646fbd1','2301-default','30','0x0302',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('7c42cef8-28d8-4cea-af55-0ee97f339f98','2301-default','21','0x0304',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('1a598855-a360-4af7-8fe2-9cb6f9fcff30','2301-default','22','0x0305',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('28e35269-f873-4192-9986-8a8bedbf77f5','2301-default','27','0x0306',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('d52d672e-2b4b-4eea-977e-1f7d098ecd13','2301-default','28','0x0307',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('87334b11-6510-4dcb-8c6b-3d5952132d94','2301-default','19','0xA001',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('b59cdd27-f396-4e67-bb14-b3111c33b3fa','2301-default','4','0xA00A',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('24600aff-d5f1-48be-97c5-d047c64f903f','2301-default','5','0xA00A',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('ff6a7394-fc85-4754-b25f-3bb64a8ec56b','2301-default','6','0xA00A',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('46fdb0a9-1a46-4e6c-a8ab-b9faf463f0ae','2301-default','7','0xA00A',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('80b31305-19ed-4356-8983-684185d38fd0','2301-default','8','0xA00A',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('b2fe7cba-a8de-4dcb-ad4b-13425b0e10de','2301-default','9','0xA00A',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('6ea44ebe-331e-4a12-95b7-77ee226dac61','2301-default','10','0xA00A',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('7d089300-f0a8-4edd-bb9a-0a734a013ae5','2301-default','11','0xA00A',0,2301,1,'2019-07-20 16:46:11','wanxing'),
('dd82f4bd-dbdd-48c7-b2ba-0a757277f82d','2301-default','12','0xA00A',0,2301,1,'2019-07-20 16:46:11','wanxing');

 -- 冀标808

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) values
('40e17c58-89c5-43f7-a1d7-4b7a38f4dea0','3-default','1','0x0001',0,3,1,'2019-07-20 16:46:11','wanxing'),
('2e43abfb-c423-4fb2-b8aa-8bf34a89aeb1','3-default','79','0x0002',0,3,1,'2019-07-20 16:46:11','wanxing'),
('32206b58-7bdc-4382-9081-767203e6ed57','3-default','0','0x0003',0,3,1,'2019-07-20 16:46:11','wanxing'),
('436d9212-b81b-4ec1-877b-b6d14b630ff9','3-default','2011','0x0004',0,3,1,'2019-07-20 16:46:11','wanxing'),
('74ef94aa-d021-4b29-b670-80e607196909','3-default','2012','0x0005',0,3,1,'2019-07-20 16:46:11','wanxing'),
('c0bba1c0-caaf-4b53-9e98-2ecf2a720222','3-default','26','0x0009',0,3,1,'2019-07-20 16:46:11','wanxing'),
('7ec15ca4-a43e-423f-a6d3-57eb76666a63','3-default','23','0x000B',0,3,1,'2019-07-20 16:46:11','wanxing'),
('fc54bc9f-c422-4635-bf7d-f901b12520da','3-default','18','0x000D',0,3,1,'2019-07-20 16:46:11','wanxing'),
('8f1ec61f-c165-4490-b6ad-a7070a19e9fc','3-default','15','0x0010',0,3,1,'2019-07-20 16:46:11','wanxing'),
('c6717f5d-1df1-452a-bb06-c621f533dafc','3-default','148','0x0011',0,3,1,'2019-07-20 16:46:11','wanxing'),
('cf498875-f1cf-4b8c-80c7-2f587fd995de','3-default','149','0x0012',0,3,1,'2019-07-20 16:46:11','wanxing'),
('4e86d31b-0897-4719-8740-29f311522c4d','3-default','125','0x0101',0,3,1,'2019-07-20 16:46:11','wanxing'),
('a0c97d3b-f032-45bc-a5ad-3e5719487d88','3-default','126','0x0102',0,3,1,'2019-07-20 16:46:11','wanxing'),
('57ce0704-510b-4adc-8594-419119595305','3-default','127','0x0103',0,3,1,'2019-07-20 16:46:11','wanxing'),
('c251a97e-a24c-4c1d-a093-d787072d0243','3-default','128','0x0104',0,3,1,'2019-07-20 16:46:11','wanxing'),
('188612a3-2036-40bf-9c71-87f920e4963f','3-default','129','0x0105',0,3,1,'2019-07-20 16:46:11','wanxing'),
('2838b34f-213e-4b14-889e-5d44d64573c0','3-default','130','0x0106',0,3,1,'2019-07-20 16:46:11','wanxing'),
('20ad4a8a-0f05-4f24-846e-3c5b373084ab','3-default','131','0x0107',0,3,1,'2019-07-20 16:46:11','wanxing'),
('0415acbd-1565-44fa-9adf-7c964a12d86e','3-default','29','0x0301',0,3,1,'2019-07-20 16:46:11','wanxing'),
('c8930a9e-9981-4644-bd26-91c8913369ba','3-default','30','0x0302',0,3,1,'2019-07-20 16:46:11','wanxing'),
('ad9ec52a-4089-4796-ad44-b30cc0346dba','3-default','21','0x0304',0,3,1,'2019-07-20 16:46:11','wanxing'),
('30866d77-4400-42ac-841b-f481070612f2','3-default','22','0x0305',0,3,1,'2019-07-20 16:46:11','wanxing'),
('a8a3938a-1484-4192-8c3d-a6f7446e5fda','3-default','27','0x0306',0,3,1,'2019-07-20 16:46:11','wanxing'),
('54d25156-2c8b-400a-bc64-ee1708999ce3','3-default','28','0x0307',0,3,1,'2019-07-20 16:46:11','wanxing'),
('93a8a405-b8af-4d03-894b-19c5706ac333','3-default','19','0xA001',0,3,1,'2019-07-20 16:46:11','wanxing'),
('36a05d74-0e7f-4493-b516-30ef751f3ddc','3-default','4','0xA00A',0,3,1,'2019-07-20 16:46:11','wanxing'),
('250ed2d0-32a7-4e67-97a3-7c0ea828b042','3-default','5','0xA00A',0,3,1,'2019-07-20 16:46:11','wanxing'),
('1ebda102-cbee-4bb9-895a-f103dadd8909','3-default','6','0xA00A',0,3,1,'2019-07-20 16:46:11','wanxing'),
('9154ccf4-ddc9-4155-ac59-4293ac5fbb43','3-default','7','0xA00A',0,3,1,'2019-07-20 16:46:11','wanxing'),
('238258e5-771e-4bc8-ab10-c8ae08a4e850','3-default','8','0xA00A',0,3,1,'2019-07-20 16:46:11','wanxing'),
('031cca05-93e3-48ab-94d6-879c8217e301','3-default','9','0xA00A',0,3,1,'2019-07-20 16:46:11','wanxing'),
('0cab140c-4dae-457d-8652-66859f73e052','3-default','10','0xA00A',0,3,1,'2019-07-20 16:46:11','wanxing'),
('73617464-751a-4ba1-b548-c8d3393003ae','3-default','11','0xA00A',0,3,1,'2019-07-20 16:46:11','wanxing'),
('e83815b4-a698-4ee9-b496-4319d1953543','3-default','12','0xA00A',0,3,1,'2019-07-20 16:46:11','wanxing');



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 ('1505630a-09b6-420b-af26-f843f32fe447', '急减速报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16112', '12', '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 ('3531b1f2-5d85-4bc5-bc6f-7ffe60e40955', '发动机超转报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16117', '12', '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 ('3e637b42-94bb-456b-9272-86a6272041d3', '急加速报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16111', '12', '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 ('42607f31-086c-453d-a3dd-55e4c2b2ce63', '前向碰撞报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '15911', '12', '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 ('42a5a299-d408-4c90-9157-fb2e1c39a840', '车道偏离报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '15912', '12', '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 ('46e5deed-b4d5-4c7c-8853-1dfed348f211', '驾驶员身份异常报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16018', '12', '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 ('489961a4-5b93-4e76-86de-a3c114423b8a', '急转弯报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16113', '12', '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 ('675e98cd-8db1-48d5-aa1e-71d6cfd146aa', '长时间不目视前方报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16012', '12', '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 ('7cafbde4-e8d7-4a8b-b76a-cf2184b73e33', '双手同时脱离方向盘报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16016', '12', '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 ('7e02425c-96a2-4c16-8666-a2c2f63c1511', '道路标识超限报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '15916', '12', '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 ('7e12eece-d762-406a-8776-8ee2f8f8ef52', '未检测到驾驶员报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16015', '12', '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 ('909cea5a-0c02-4959-b563-b359a53067ac', '频繁变道报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '15915', '12', '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 ('931842f8-d751-43a5-9c4a-50d9130e13bc', '怠速报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16114', '12', '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 ('9cb703e6-8a4c-402a-aff5-934cd5670307', '疲劳驾驶报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16011', '12', '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 ('a572a922-c7a5-4b81-bbd9-b68d6a665666', '障碍物报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '15917', '12', '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 ('bbb2ad3f-1ce1-4d9b-85e7-bd71dcfb1fb6', '空挡滑行报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16116', '12', '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 ('cce0308c-4234-4344-a14d-6942a8362b09', '抽烟报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16013', '12', '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 ('d668dc8c-b775-4100-a3e9-552f825b3895', '车距过近报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '15913', '12', '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 ('eae10e2f-7d93-459b-b5a2-98d1dbb7a74e', '接打手持电话报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16014', '12', '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 ('eb218da3-d8ca-43c3-b258-acca6485c8f4', '异常熄火报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16115', '12', '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 ('ec39cd0d-1400-44a4-8775-d090fdf084ef', '驾驶辅助功能失效报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '15918', '12', '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 ('ee645816-7d72-450a-92ac-fca3d8880a7c', '驾驶员行为监测功能失效', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16017', '12', '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 ('f8f53a16-4e00-4274-a2ac-da7228f1db7d', '行人碰撞报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '15914', '12', '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 ('163a8e07-2fd2-43ef-97e2-4a44522537de', '车距过近报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16213', '13', '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 ('1e076709-4f50-4280-a12c-4fdfce1898ae', '道路标识超限报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16216', '13', '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 ('21aa1527-4e79-4d04-ba0e-fbc48ba6976f', '障碍物报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16217', '13', '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 ('33c619e2-1049-46ff-b9e6-5141ec220277', '疲劳驾驶报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16311', '13', '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 ('35026094-372e-4921-8340-ad8e108b59a8', '分神驾驶报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16312', '13', '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 ('69603566-abae-498c-85d6-44058be2ed51', '抽烟报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16313', '13', '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 ('7bbcbc91-726c-4e1a-a5e7-44f8e5422b04', '行人碰撞报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16214', '13', '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 ('9425d4a4-64f2-49e4-bee2-2876893a85b5', '车道偏离报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16212', '13', '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 ('a1430093-cb7c-4e2d-88aa-3aaea620c45c', '无驾驶员', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16315', '13', '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 ('adc73476-87b0-4978-ac31-9295abb30dce', '驾驶员异常报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16316', '13', '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 ('af24d1a3-f0df-4d5a-849a-64e6264c57bf', '接打手持电话报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16314', '13', '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 ('df818285-cfa4-461c-9656-3d8d06b23c7f', '前向碰撞报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16211', '13', '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 ('f7a28f6f-ce6b-4c45-b966-9be4caa0f611', '频繁变道报警', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16215', '13', '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)
VALUES ('18acefc0-f0b5-4fb8-b98f-ea321b927c81', '驾驶员变更事件', '违规异常', '驾驶员变更事件危险说明', '1', '2019-08-01 10:06:01', NULL, NULL, NULL, '136516', '13');

INSERT INTO `zw_c_adas_risk_level` (`one_level`, `two_level`, `event_type`, `protocol_type`, `flag`) VALUES (NULL, '12', '136516', '13', '1');
update `zw_m_risk_event` set risk_event ='驾驶员变更事件' where function_id ='126516';

-- 川标视频信号丢失
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 ('40771425-4444-492f-811e-248b762c0389', '2301-default', '12511', '0x0101', '0', '2301', '1', '2019-07-20 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 ('3f64ce5f-6e64-4bc0-a75e-5ac81dd1c338', '2301-default', '12512', '0x0101', '0', '2301', '1', '2019-07-20 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 ('2f9fef50-39a1-4ae9-86d1-6f88749f140c', '2301-default', '12513', '0x0101', '0', '2301', '1', '2019-07-20 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 ('a88f0ed3-7ce6-4616-a98f-75adc4f6d023', '2301-default', '12514', '0x0101', '0', '2301', '1', '2019-07-20 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 ('95c92a77-8146-4f11-8654-9aa2ce3d2035', '2301-default', '12515', '0x0101', '0', '2301', '1', '2019-07-20 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 ('ee1ec301-d6bf-4a91-8191-8dda24c53c07', '2301-default', '12516', '0x0101', '0', '2301', '1', '2019-07-20 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 ('12e907e1-6316-49ef-a328-e53b76af2c1d', '2301-default', '12517', '0x0101', '0', '2301', '1', '2019-07-20 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 ('bf0679c3-d8dd-4289-a256-5ab45b1b52ce', '2301-default', '12518', '0x0101', '0', '2301', '1', '2019-07-20 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 ('03ae41c1-2d4b-4f1b-966c-7574163e7a85', '2301-default', '12519', '0x0101', '0', '2301', '1', '2019-07-20 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 ('b1444816-e052-4dca-8a84-83cc54bbe814', '2301-default', '12520', '0x0101', '0', '2301', '1', '2019-07-20 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 ('e864d9df-bc6b-42aa-a7c7-e82b1731ffb5', '2301-default', '12521', '0x0101', '0', '2301', '1', '2019-07-20 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 ('ac0fbbec-e68b-446f-8c5e-cb8cc6e13ef7', '2301-default', '12522', '0x0101', '0', '2301', '1', '2019-07-20 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 ('64c516b9-3843-4272-bece-abae8c5a27ed', '2301-default', '12523', '0x0101', '0', '2301', '1', '2019-07-20 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 ('fcdfdf2b-09b9-483d-bc4e-d86f68d4e70a', '2301-default', '12524', '0x0101', '0', '2301', '1', '2019-07-20 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 ('c8d36820-0832-4205-ac64-064a858096f4', '2301-default', '12525', '0x0101', '0', '2301', '1', '2019-07-20 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 ('ba475122-6722-4f68-80db-af7e8831252a', '2301-default', '12526', '0x0101', '0', '2301', '1', '2019-07-20 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 ('12a23dbf-1d71-4348-8a6d-ef647f0aa917', '2301-default', '12527', '0x0101', '0', '2301', '1', '2019-07-20 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 ('568c4191-c1a9-4eaa-85b3-50859647c1f5', '2301-default', '12528', '0x0101', '0', '2301', '1', '2019-07-20 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 ('3cc0af7d-1b7b-4a7b-8954-00ecfb179211', '2301-default', '12529', '0x0101', '0', '2301', '1', '2019-07-20 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 ('8cab023b-5d9e-4d77-9b67-daf928c07fb1', '2301-default', '12530', '0x0101', '0', '2301', '1', '2019-07-20 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 ('5f72d5d2-654f-4750-8a8e-842f38afedac', '2301-default', '12531', '0x0101', '0', '2301', '1', '2019-07-20 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 ('c7f9e20c-d303-4c95-ab86-7c4de84486e4', '2301-default', '12532', '0x0101', '0', '2301', '1', '2019-07-20 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 ('d9d70a2f-6746-4403-bc83-0a21138cbad3', '2301-default', '12533', '0x0101', '0', '2301', '1', '2019-07-20 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 ('0314d962-3960-4cf1-9400-4f74d5b44389', '2301-default', '12534', '0x0101', '0', '2301', '1', '2019-07-20 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 ('2d7a3470-19a1-4dca-a003-5f113e81ba65', '2301-default', '12535', '0x0101', '0', '2301', '1', '2019-07-20 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 ('4d01e2b1-0dab-434b-af6f-fe13359669d4', '2301-default', '12536', '0x0101', '0', '2301', '1', '2019-07-20 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 ('47989bf1-ea7d-45cf-9b04-710bd7d81a61', '2301-default', '12537', '0x0101', '0', '2301', '1', '2019-07-20 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 ('674e159a-15df-4c69-96d9-0a77154d0ea3', '2301-default', '12538', '0x0101', '0', '2301', '1', '2019-07-20 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 ('38c1b357-8bc6-450b-80df-908b29ec1fa4', '2301-default', '12539', '0x0101', '0', '2301', '1', '2019-07-20 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 ('73f79678-b109-4f1a-82d4-8a9968706b49', '2301-default', '12540', '0x0101', '0', '2301', '1', '2019-07-20 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 ('515232e5-10db-4c91-9378-922c1264b94f', '2301-default', '12541', '0x0101', '0', '2301', '1', '2019-07-20 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 ('ef46d4d5-894d-4024-b98a-c57067e3afdd', '2301-default', '12542', '0x0101', '0', '2301', '1', '2019-07-20 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 ('91cd7417-60e6-43fc-8015-21fd101fcfce', '2301-default', '12611', '0x0102', '0', '2301', '1', '2019-07-20 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 ('f27cda32-57aa-4d43-9c8c-247e04e295a7', '2301-default', '12612', '0x0102', '0', '2301', '1', '2019-07-20 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 ('f2bf976c-81d3-4e76-a62a-5f32e70da060', '2301-default', '12613', '0x0102', '0', '2301', '1', '2019-07-20 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 ('3a21a1de-0e1d-4022-a133-ac93c83437a2', '2301-default', '12614', '0x0102', '0', '2301', '1', '2019-07-20 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 ('c72f53cd-0b81-4aa2-ba48-20adff0af109', '2301-default', '12615', '0x0102', '0', '2301', '1', '2019-07-20 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 ('0088628c-0cc5-4cb9-b1cc-125c7561037e', '2301-default', '12616', '0x0102', '0', '2301', '1', '2019-07-20 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 ('b992878b-c472-4100-b708-698a4315ee39', '2301-default', '12617', '0x0102', '0', '2301', '1', '2019-07-20 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 ('807ffe5d-21b4-45cf-b848-9390aa26ae0c', '2301-default', '12618', '0x0102', '0', '2301', '1', '2019-07-20 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 ('beae515b-ce5d-4ed9-b057-cd80890cac52', '2301-default', '12619', '0x0102', '0', '2301', '1', '2019-07-20 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 ('46586d0d-0aab-4807-8209-77e6e89469d9', '2301-default', '12620', '0x0102', '0', '2301', '1', '2019-07-20 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 ('0e9042b9-bf02-4c68-b136-dbb562fe0e2e', '2301-default', '12621', '0x0102', '0', '2301', '1', '2019-07-20 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 ('eafd9661-e801-452a-abb3-b09b57e80c7e', '2301-default', '12622', '0x0102', '0', '2301', '1', '2019-07-20 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 ('7430f78c-798e-4b0e-a034-bf5e4b57d909', '2301-default', '12623', '0x0102', '0', '2301', '1', '2019-07-20 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 ('e4d002f6-d18d-4715-9a4e-4db60b2d4912', '2301-default', '12624', '0x0102', '0', '2301', '1', '2019-07-20 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 ('da643062-6f93-4858-af55-c704f074d3f3', '2301-default', '12625', '0x0102', '0', '2301', '1', '2019-07-20 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 ('a27037bf-040d-4401-b099-ccd014b6aa9e', '2301-default', '12626', '0x0102', '0', '2301', '1', '2019-07-20 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 ('3f897117-1858-4426-a7d2-e16de34007ed', '2301-default', '12627', '0x0102', '0', '2301', '1', '2019-07-20 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 ('528219e0-c212-40a8-8a0a-6fd2c93fbe6f', '2301-default', '12628', '0x0102', '0', '2301', '1', '2019-07-20 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 ('73ce6e7a-cee2-45a4-805b-d21f727eb2be', '2301-default', '12629', '0x0102', '0', '2301', '1', '2019-07-20 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 ('a16fc5d3-904d-4a29-9fbf-c71637dcfe97', '2301-default', '12630', '0x0102', '0', '2301', '1', '2019-07-20 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 ('5213292e-1aae-4a6c-8274-97b3e12f5acf', '2301-default', '12631', '0x0102', '0', '2301', '1', '2019-07-20 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 ('8d38df0f-d07c-4cfb-8c5b-a6d5b3044d8e', '2301-default', '12632', '0x0102', '0', '2301', '1', '2019-07-20 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 ('914326a7-c7a7-4776-b4a4-cd839afe938d', '2301-default', '12633', '0x0102', '0', '2301', '1', '2019-07-20 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 ('06c21d74-8b50-408c-8e03-21b7c52435ad', '2301-default', '12634', '0x0102', '0', '2301', '1', '2019-07-20 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 ('63b590c9-bb64-4d6a-9fe2-3a44abdae121', '2301-default', '12635', '0x0102', '0', '2301', '1', '2019-07-20 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 ('aaf613cb-f59d-42fd-8d9c-43cd65fd10b2', '2301-default', '12636', '0x0102', '0', '2301', '1', '2019-07-20 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 ('2fc13cf5-ee11-4de1-a4cc-5b200a85f246', '2301-default', '12637', '0x0102', '0', '2301', '1', '2019-07-20 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 ('23a2b845-baed-4ab8-9ef4-025af94ce683', '2301-default', '12638', '0x0102', '0', '2301', '1', '2019-07-20 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 ('984744b7-0541-4377-b83b-0db5a567d32b', '2301-default', '12639', '0x0102', '0', '2301', '1', '2019-07-20 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 ('8f03016f-25a8-44bd-b868-734006068596', '2301-default', '12640', '0x0102', '0', '2301', '1', '2019-07-20 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 ('c0d9eb56-4e47-463a-8187-00a803e297aa', '2301-default', '12641', '0x0102', '0', '2301', '1', '2019-07-20 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 ('73114f46-e594-44dd-8a83-5b9b0831ea34', '2301-default', '12642', '0x0102', '0', '2301', '1', '2019-07-20 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 
('247ffcd4-3b07-4ffc-bf68-0fac820b54ed', '2301-default', '12711', '0x0103', '0', '2301', '1', '2019-07-20 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 
('4ff039b9-c49e-4759-ba08-417f01464737', '2301-default', '12712', '0x0103', '0', '2301', '1', '2019-07-20 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 
('bfc9cb2b-06af-48a6-8f28-095bbea7c6a4', '2301-default', '12713', '0x0103', '0', '2301', '1', '2019-07-20 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 
('5580a354-45b2-4e2b-86ad-37ef3176d316', '2301-default', '12714', '0x0103', '0', '2301', '1', '2019-07-20 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 
('609bfdcc-bd48-4c4c-89d5-35fd52309513', '2301-default', '12715', '0x0103', '0', '2301', '1', '2019-07-20 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 
('9f32873e-5509-4a93-8e7c-4660c7f60c50', '2301-default', '12716', '0x0103', '0', '2301', '1', '2019-07-20 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 
('5a9a3d70-6324-4c6c-882d-4f133bd87297', '2301-default', '12717', '0x0103', '0', '2301', '1', '2019-07-20 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 
('dcb5dcb7-ada3-4602-9385-081bf1f88d85', '2301-default', '12718', '0x0103', '0', '2301', '1', '2019-07-20 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 
('14b5188d-6dbb-49fb-bcc5-3300719836f2', '2301-default', '12719', '0x0103', '0', '2301', '1', '2019-07-20 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 
('55e527b9-8aa4-4603-b474-fc5b3c0dd4fb', '2301-default', '12720', '0x0103', '0', '2301', '1', '2019-07-20 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 
('6e20a27b-e36b-4de8-948d-4bccc0102482', '2301-default', '12721', '0x0103', '0', '2301', '1', '2019-07-20 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 
('c6f2abf8-9a95-4949-b47f-2dcca9a1b9e7', '2301-default', '12722', '0x0103', '0', '2301', '1', '2019-07-20 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 
('ad991215-fb97-498d-8aab-6a206607cf13', '2301-default', '12723', '0x0103', '0', '2301', '1', '2019-07-20 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 
('28a15c92-c09a-4ccf-aa87-afdd462c795f', '2301-default', '12724', '0x0103', '0', '2301', '1', '2019-07-20 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 
('53d69a55-7ed5-4d0e-8709-1c74f5f4cc7e', '2301-default', '12725', '0x0103', '0', '2301', '1', '2019-07-20 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 
('10cb4a8d-f765-4b7a-b673-0ac4d925c5a0', '2301-default', '12726', '0x0103', '0', '2301', '1', '2019-07-20 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 
('6157c3c1-b434-486d-9556-0922c88ed74a', '2301-default', '13011', '0x0106', '0', '2301', '1', '2019-07-20 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 
('e02b437e-dae4-448d-9fb2-be62ff96e6fc', '2301-default', '13012', '0x0106', '0', '2301', '1', '2019-07-20 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 
('324ddd02-ce85-4c88-8a76-4eb413b9e9c1', '2301-default', '13013', '0x0106', '0', '2301', '1', '2019-07-20 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 ('4e012184-31d1-4a5d-8459-6940ca948349', '3-default', '12511', '0x0101', '0', '3', '1', '2019-07-20 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 ('97244e18-b2ae-47a1-ae20-8c24c7f8d08c', '3-default', '12512', '0x0101', '0', '3', '1', '2019-07-20 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 ('403409c9-ed1c-4fc4-bf2a-e7ebfba42261', '3-default', '12513', '0x0101', '0', '3', '1', '2019-07-20 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 ('455d407b-a9f2-4ea8-bb5d-699f0841a404', '3-default', '12514', '0x0101', '0', '3', '1', '2019-07-20 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 ('fad73ec2-1d96-490f-b98c-545deddcfde4', '3-default', '12515', '0x0101', '0', '3', '1', '2019-07-20 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 ('eace5456-5a00-4940-9238-63ad67a39c1c', '3-default', '12516', '0x0101', '0', '3', '1', '2019-07-20 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 ('f19f8c08-cbed-49d4-add1-16d5a3f7ae11', '3-default', '12517', '0x0101', '0', '3', '1', '2019-07-20 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 ('4a0f129a-80d5-4ccd-afe1-cfd4c171127d', '3-default', '12518', '0x0101', '0', '3', '1', '2019-07-20 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 ('a6666f79-c4b4-43ab-bbcd-67886d75e895', '3-default', '12519', '0x0101', '0', '3', '1', '2019-07-20 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 ('b0babf3b-575f-4f68-9ba5-deca6686a139', '3-default', '12520', '0x0101', '0', '3', '1', '2019-07-20 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 ('7d58380b-b952-460a-8b37-eb7da21e9c58', '3-default', '12521', '0x0101', '0', '3', '1', '2019-07-20 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 ('85bb4687-1293-4030-a9b1-ea287814df72', '3-default', '12522', '0x0101', '0', '3', '1', '2019-07-20 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 ('cc9d566f-3e9a-46f0-8003-0fe753cffb5b', '3-default', '12523', '0x0101', '0', '3', '1', '2019-07-20 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 ('f21bd757-85be-45d8-b956-7c7d2c6c5e9f', '3-default', '12524', '0x0101', '0', '3', '1', '2019-07-20 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 ('cb95cbe5-c2db-457b-9484-433057cebebb', '3-default', '12525', '0x0101', '0', '3', '1', '2019-07-20 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 ('9bf03164-a663-4557-8d8b-519ad8752d70', '3-default', '12526', '0x0101', '0', '3', '1', '2019-07-20 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 ('30808aab-8bd4-43bd-aba0-b2b18a51c1e8', '3-default', '12527', '0x0101', '0', '3', '1', '2019-07-20 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 ('7ce83cf6-faa6-45da-bd19-1d9837d9d0c8', '3-default', '12528', '0x0101', '0', '3', '1', '2019-07-20 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 ('81560100-00fb-4e2f-8a8c-fa8552bebee7', '3-default', '12529', '0x0101', '0', '3', '1', '2019-07-20 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 ('72edf13e-cf66-4add-8a67-8af32e922b4b', '3-default', '12530', '0x0101', '0', '3', '1', '2019-07-20 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 ('ddab1f7a-f4f4-4b2e-a03b-6917817c72f5', '3-default', '12531', '0x0101', '0', '3', '1', '2019-07-20 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 ('e7d62200-ad0a-4684-8010-5aa69a731d23', '3-default', '12532', '0x0101', '0', '3', '1', '2019-07-20 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 ('c2caaaff-af9f-4470-a329-07cc54c9537b', '3-default', '12533', '0x0101', '0', '3', '1', '2019-07-20 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 ('74f5ea0f-a012-488d-8be0-bc7d2ec2fbcc', '3-default', '12534', '0x0101', '0', '3', '1', '2019-07-20 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 ('963a3e60-bf71-4c34-a287-62551be5837f', '3-default', '12535', '0x0101', '0', '3', '1', '2019-07-20 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 ('a5a06286-a39e-4820-82ef-3523e91a6875', '3-default', '12536', '0x0101', '0', '3', '1', '2019-07-20 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 ('ae4f21b4-0f16-4252-b78b-7b69faeba004', '3-default', '12537', '0x0101', '0', '3', '1', '2019-07-20 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 ('9e5b2f9a-ee20-401d-86e8-b21ef5759a57', '3-default', '12538', '0x0101', '0', '3', '1', '2019-07-20 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 ('9d949a5b-e3e2-4684-bc60-7f99f2a61879', '3-default', '12539', '0x0101', '0', '3', '1', '2019-07-20 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 ('2a1d389b-34be-492b-9345-43b78138e68c', '3-default', '12540', '0x0101', '0', '3', '1', '2019-07-20 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 ('c798dd5c-0412-4832-9538-47cf9f40e5dd', '3-default', '12541', '0x0101', '0', '3', '1', '2019-07-20 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 ('d49d7985-c03c-4e7b-ba19-64c3709f47e4', '3-default', '12542', '0x0101', '0', '3', '1', '2019-07-20 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 ('50cd3b40-d9a1-4fea-b451-9d56d725a0c6', '3-default', '12611', '0x0102', '0', '3', '1', '2019-07-20 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 ('5acb066c-a988-4943-adbc-093bd83d88ef', '3-default', '12612', '0x0102', '0', '3', '1', '2019-07-20 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 ('845fd2e3-3e3f-44c6-816e-4b2546a9ced0', '3-default', '12613', '0x0102', '0', '3', '1', '2019-07-20 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 ('115d0ebb-194d-4e8a-a1ef-499d0c0d3dda', '3-default', '12614', '0x0102', '0', '3', '1', '2019-07-20 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 ('c303ceff-5c92-4d94-817a-8a2e6785481e', '3-default', '12615', '0x0102', '0', '3', '1', '2019-07-20 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 ('c4d5e846-8f2a-45e1-af2d-fa089dcf85fc', '3-default', '12616', '0x0102', '0', '3', '1', '2019-07-20 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 ('32106503-2558-4319-a4e9-ed99769ba853', '3-default', '12617', '0x0102', '0', '3', '1', '2019-07-20 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 ('a5d854e8-b2b4-42bc-9c42-40604c3e3c33', '3-default', '12618', '0x0102', '0', '3', '1', '2019-07-20 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 ('c6d686ee-b897-4a16-9da8-30154fe5c917', '3-default', '12619', '0x0102', '0', '3', '1', '2019-07-20 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 ('9d5a9f37-6a42-40c6-9caa-f0b382a949d2', '3-default', '12620', '0x0102', '0', '3', '1', '2019-07-20 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 ('8fde2518-d680-4758-9935-14929f9691f1', '3-default', '12621', '0x0102', '0', '3', '1', '2019-07-20 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 ('cc98b41f-d718-41c6-bb14-1f8befece33c', '3-default', '12622', '0x0102', '0', '3', '1', '2019-07-20 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 ('3dddb954-3032-4530-96c1-84ad825545c6', '3-default', '12623', '0x0102', '0', '3', '1', '2019-07-20 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 ('bb6042b1-b69b-4e05-aa03-86fe533b1836', '3-default', '12624', '0x0102', '0', '3', '1', '2019-07-20 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 ('fddc191a-7202-4080-9b78-363644840c03', '3-default', '12625', '0x0102', '0', '3', '1', '2019-07-20 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 ('30c8bcef-35b2-49f3-8c5b-e049abe78d9f', '3-default', '12626', '0x0102', '0', '3', '1', '2019-07-20 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 ('6a57efbc-5630-45e8-bbed-b93a0ab17bc5', '3-default', '12627', '0x0102', '0', '3', '1', '2019-07-20 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 ('537c61c1-b323-4432-9f68-95a8ffec7f46', '3-default', '12628', '0x0102', '0', '3', '1', '2019-07-20 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 ('2624769c-9679-495f-83c4-5ad1d974c8d4', '3-default', '12629', '0x0102', '0', '3', '1', '2019-07-20 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 ('e0673020-ba09-47b6-9e03-1b236ae26a46', '3-default', '12630', '0x0102', '0', '3', '1', '2019-07-20 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 ('f846e954-4269-4360-ad5f-43648ffe32c6', '3-default', '12631', '0x0102', '0', '3', '1', '2019-07-20 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 ('7e5307e9-a1bd-443f-96cb-f410d8dfb05b', '3-default', '12632', '0x0102', '0', '3', '1', '2019-07-20 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 ('0d0e8149-4799-40fb-9889-2f0d4438e676', '3-default', '12633', '0x0102', '0', '3', '1', '2019-07-20 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 ('54e93560-b784-4afa-a0a5-f46f8deb1915', '3-default', '12634', '0x0102', '0', '3', '1', '2019-07-20 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 ('a75caa46-3ad7-4b3d-bacb-bf7ad8f4425e', '3-default', '12635', '0x0102', '0', '3', '1', '2019-07-20 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 ('1731641f-f7a5-46db-9863-7037c9469bb6', '3-default', '12636', '0x0102', '0', '3', '1', '2019-07-20 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 ('b8003693-91be-4b43-bd1b-a722991b98a4', '3-default', '12637', '0x0102', '0', '3', '1', '2019-07-20 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 ('4b4b9c5c-485a-455d-bece-de8280342484', '3-default', '12638', '0x0102', '0', '3', '1', '2019-07-20 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 ('1acce6bb-bb75-4cf6-a4cc-eab67c9fdc88', '3-default', '12639', '0x0102', '0', '3', '1', '2019-07-20 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 ('c7138738-5a18-4b55-8e7c-91f8e66eeeed', '3-default', '12640', '0x0102', '0', '3', '1', '2019-07-20 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 ('518f7395-77ed-432f-91dc-cf2f6d6ac8eb', '3-default', '12641', '0x0102', '0', '3', '1', '2019-07-20 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 ('ae25185b-791e-4cd5-a66a-1a5dd3ef6f42', '3-default', '12642', '0x0102', '0', '3', '1', '2019-07-20 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 
('a46130ea-6a09-4cee-bc6e-a79343cca5dd', '3-default', '12711', '0x0103', '0', '3', '1', '2019-07-20 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 
('901b8c92-a1eb-489b-8340-4640801234ab', '3-default', '12712', '0x0103', '0', '3', '1', '2019-07-20 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 
('6b499b82-96a8-4ef6-a80d-527bb8292b2f', '3-default', '12713', '0x0103', '0', '3', '1', '2019-07-20 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 
('388a1892-c5ae-4cac-99d8-f037fa4d3308', '3-default', '12714', '0x0103', '0', '3', '1', '2019-07-20 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 
('a40ce5ef-5486-495e-9a62-1ef4bf522955', '3-default', '12715', '0x0103', '0', '3', '1', '2019-07-20 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 
('d942f4bb-e730-42ac-98ec-898575a6aecc', '3-default', '12716', '0x0103', '0', '3', '1', '2019-07-20 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 
('9c67c08e-fb54-423a-9409-f065d747dede', '3-default', '12717', '0x0103', '0', '3', '1', '2019-07-20 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 
('997af405-99ef-4faf-ad41-a51042a9b635', '3-default', '12718', '0x0103', '0', '3', '1', '2019-07-20 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 
('f5ac0a8f-2633-457d-b31f-4cb7685df64a', '3-default', '12719', '0x0103', '0', '3', '1', '2019-07-20 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 
('cdac755f-f479-4193-a97a-2bfeeb9224bc', '3-default', '12720', '0x0103', '0', '3', '1', '2019-07-20 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 
('72d929ac-028a-4410-8c01-e9abce6051d2', '3-default', '12721', '0x0103', '0', '3', '1', '2019-07-20 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 
('ec7ea6a8-3a53-4e3c-ac83-6abf6fab4d50', '3-default', '12722', '0x0103', '0', '3', '1', '2019-07-20 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 
('5b407953-56d2-4ed7-9fc3-5eda01e96d03', '3-default', '12723', '0x0103', '0', '3', '1', '2019-07-20 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 
('3a173fdd-851f-4c07-9a2c-50ec3f0a50be', '3-default', '12724', '0x0103', '0', '3', '1', '2019-07-20 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 
('744f19a1-82a7-47fa-8f86-30843b650004', '3-default', '12725', '0x0103', '0', '3', '1', '2019-07-20 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 
('8d3ff160-7ac0-4070-8755-7f8b5e2bcaaf', '3-default', '12726', '0x0103', '0', '3', '1', '2019-07-20 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 
('08c2de19-546c-48dc-be61-c3fe584bc6c7', '3-default', '13011', '0x0106', '0', '3', '1', '2019-07-20 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 
('eb9d543e-7eea-49ec-bbb3-344dec0e559a', '3-default', '13012', '0x0106', '0', '3', '1', '2019-07-20 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 
('7abfbd69-213a-4789-a7e7-aa69db6c91d9', '3-default', '13013', '0x0106', '0', '3', '1', '2019-07-20 16:46:11', 'wanxing', NULL, NULL);
-- 删除垃圾数据
delete from zw_m_808_809_mapping where  808_pos in ('130','126','127','125') and create_data_username ='wanxing';
UPDATE `zw_c_resource` SET `icon_cls` = '', `resource_name` = '驾驶员统计', `type` = 0, `code` = NULL, `permission` = '', `perm_value` = '/m/reportManagement/driverStatistics/list', `description` = '', `parent_id` = '2234bd3e-191e-2216-d43f-78df4c92c74d', `sort_order` = 122, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = NULL, `flag` = 1 WHERE `id` = '43891d98-667f-41db-993d-87c0cc8aea8c';

UPDATE `zw_c_resource` SET `icon_cls` = NULL, `resource_name` = '风险证据库', `type` = 0, `code` = NULL, `permission` = 'adasRiskEvidence', `perm_value` = '/adas/r/reportManagement/adasRiskEvidence/list', `description` = NULL, `parent_id` = '2234bd3e-191e-2216-d43f-78df4c92c74d', `sort_order` = 11110, `editable` = 1, `enabled` = 1, `create_data_time` = NULL, `create_data_username` = NULL, `update_data_time` = NULL, `update_data_username` = NULL, `domain` = NULL, `code_num` = '1111000', `flag` = 1 WHERE `id` = '8e60dafb-859f-4f13-9b5e-ea9f3c107bf2';



/*Data for the table `zw_c_role_resource` */

INSERT INTO `zw_c_role_resource` SELECT UUID(), id, 'cn=POWER_USER,ou=Groups', CURRENT_TIMESTAMP, 'admin', NULL, NULL, '1', '1' FROM `zw_c_resource`;
INSERT INTO `zw_c_role_resource` SELECT UUID(), id, 'cn=ROLE_ADMIN,ou=Groups', CURRENT_TIMESTAMP, 'admin', NULL, NULL, '1', '1' FROM `zw_c_resource`;

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
 ('1dab421e-e855-48c0-878f-13180c500294', '2301-default', '16019', '0x0219', '0', '2301', '1', '2019-07-11 16:46:11', 'wanxing', NULL, NULL);
update zw_m_risk_event set t_808_809_mapping_id = '1dab421e-e855-48c0-878f-13180c500294' where function_id ='126516';

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 
('c0675d13-8c85-4388-ba6d-2c37bf7d2bbe', '驾驶员变更事件', NULL, '1', NULL, NULL, NULL, NULL, 'adasAlarm', NULL, '0', '16019', '12', '1');

alter table zw_m_media add index idx_vehicle_id (vehicle_id,id);


