use `log-platform`;

-- ----------------------------
-- 访问日志菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '访问日志', '/access/log/list', 0, 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 访问日志资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '访问日志-菜单管理-查看', '/access/log/list,/access/log/view,/access/log/info,/access/log/export,/access/log/exportExcel,/access/log/downloadTemplate,/access/log/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '访问日志-菜单管理-维护', '/access/log/add,/access/log/edit,/access/log/delete,/access/log/logicDelete,/access/log/save,/access/log/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 访问日志参数 SQL
-- ----------------------------
-- ----------------------------
-- 业务日志菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '业务日志', '/biz/log/list', 0, 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 业务日志资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '业务日志-菜单管理-查看', '/biz/log/list,/biz/log/view,/biz/log/info,/biz/log/export,/biz/log/exportExcel,/biz/log/downloadTemplate,/biz/log/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '业务日志-菜单管理-维护', '/biz/log/add,/biz/log/edit,/biz/log/delete,/biz/log/logicDelete,/biz/log/save,/biz/log/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 业务日志参数 SQL
-- ----------------------------
-- ----------------------------
-- 异常日志菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '异常日志', '/error/log/list', 0, 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 异常日志资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '异常日志-菜单管理-查看', '/error/log/list,/error/log/view,/error/log/info,/error/log/export,/error/log/exportExcel,/error/log/downloadTemplate,/error/log/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '异常日志-菜单管理-维护', '/error/log/add,/error/log/edit,/error/log/delete,/error/log/logicDelete,/error/log/save,/error/log/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 异常日志参数 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'java', 'java', 1, 4, 0, 'platform', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'php', 'php', 1, 4, 0, 'platform', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'c#', 'c#', 1, 4, 0, 'platform', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'android', 'android', 1, 4, 0, 'platform', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'vue', 'vue', 1, 4, 0, 'platform', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'webos', 'webos', 1, 4, 0, 'platform', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'ios', 'ios', 1, 4, 0, 'platform', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'python', 'python', 1, 4, 0, 'platform', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '等级', 'ErrorLog', 'level', 'FATAL', 'FATAL', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '等级', 'ErrorLog', 'level', 'ERROR', 'ERROR', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '等级', 'ErrorLog', 'level', 'WARNING', 'WARNING', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '等级', 'ErrorLog', 'level', 'INFO', 'INFO', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '等级', 'ErrorLog', 'level', 'DEBUG', 'DEBUG', 1, 4, 0, 'level', NULL, NULL, NULL);

-- ----------------------------
-- 平台用户操作日志业务菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '平台用户操作日志业务', '/operate/log/list', 0, 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 平台用户操作日志业务资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '平台用户操作日志业务-菜单管理-查看', '/operate/log/list,/operate/log/view,/operate/log/info,/operate/log/export,/operate/log/exportExcel,/operate/log/downloadTemplate,/operate/log/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '平台用户操作日志业务-菜单管理-维护', '/operate/log/add,/operate/log/edit,/operate/log/delete,/operate/log/logicDelete,/operate/log/save,/operate/log/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 平台用户操作日志业务参数 SQL
-- ----------------------------


INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'platformMark', 'base-manager', '基础管理服务', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'platformMark', 'device-manager', '设备管理服务', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'platformMark', 'portal-manager', '门户管理服务', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'platformMark', 'log-manager', '日志管理服务', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'platformMark', 'sample-form-manager', '样表管理服务', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'platformMark', 'fill-manager', '填单管理服务', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'platformMark', 'refined-manager', '精细化管理服务', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'platformMark', 'log_wechat', '微信小程序', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'platformMark', 'log_wechat', '全市地图智能引导预约服务系统', 1, 4, 0, 'level', NULL, NULL, NULL);

INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'platformMark', 'log_bkb', '背靠背', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'platformMark', 'log_phxt', '排号系统', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'platformMark', 'log_info', '信息发布系统', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'platformMark', 'log_pickup', '存取件系统', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'platformMark', 'log_pjdevice', '评价系统', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'platformMark', 'log_guide', '导视系统', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'platformMark', 'log_ai', '窗口服务行为监察系统', 1, 4, 0, '', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'platformMark', ' log_resource', '大数据可视化分析系统', 1, 4, 0, '', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '平台标识', 'OperateLog', 'platformMark', ' datav-manager', '大数据可视化制作工具系统', 1, 4, 0, '', NULL, NULL, NULL);


INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'pdj', '排队机', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'ckp', '窗口屏', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'hjq', '呼叫器', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'jzxsp', '集中显示屏', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'pjq', '评价器', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'xxfbp', '信息发布屏', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'dsj', '导视机', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'zzfwzd', '自助服务终端', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'tdj', '填单机', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'ybj', '样表机', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'ymt', '一码通', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'ledtp', 'LED通屏', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'qjg', '取件柜', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'bkb', '背靠背评价设备', 1, 4, 0, '', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'zzfwzd', '自助终端', 1, 4, 0, '', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'zmszzfwzd', '桌面式自助服务终端', 1, 4, 0, '', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'dzmp', '电子门牌', 1, 4, 0, '', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'hysdzmp', '会议室电子门牌', 1, 4, 0, '', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '应用标识', 'BizLog', 'appName', 'device-manager', '设备管理系统', 1, 4, 0, '', NULL, NULL, NULL);

INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'java', 'JAVA', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'php', 'PHP', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'c#', 'C#', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'android', 'ANDROID', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'vue', 'VUE', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'webos', 'WEBOS', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'ios', 'IOS', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'python', 'PYTHON', 1, 4, 0, 'level', NULL, NULL, NULL);
