-- ----------------------------
-- 用户信息业务菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '用户信息业务', '/user/list', 0,'', 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

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

-- ----------------------------
-- 用户信息业务参数 SQL
-- ----------------------------
-- ----------------------------
-- 公司菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '公司', '/company/list', 0,'', 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

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

-- ----------------------------
-- 公司参数 SQL
-- ----------------------------
-- ----------------------------
-- 标注菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '标注', '/labels/list', 0,'', 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

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

-- ----------------------------
-- 标注参数 SQL
-- ----------------------------
-- ----------------------------
-- 公司标注菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '公司标注', '/company/labels/list', 0,'', 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 公司标注资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '公司标注-菜单管理-查看', '/company/labels/list,/company/labels/view,/company/labels/info,/company/labels/export,/company/labels/exportExcel,/company/labels/downloadTemplate,/company/labels/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '公司标注-菜单管理-维护', '/company/labels/add,/company/labels/edit,/company/labels/delete,/company/labels/logicDelete,/company/labels/save,/company/labels/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 公司标注参数 SQL
-- ----------------------------
-- ----------------------------
-- 公司专利菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '公司专利', '/company/patent/list', 0,'', 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 公司专利资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '公司专利-菜单管理-查看', '/company/patent/list,/company/patent/view,/company/patent/info,/company/patent/export,/company/patent/exportExcel,/company/patent/downloadTemplate,/company/patent/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '公司专利-菜单管理-维护', '/company/patent/add,/company/patent/edit,/company/patent/delete,/company/patent/logicDelete,/company/patent/save,/company/patent/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 公司专利参数 SQL
-- ----------------------------
-- ----------------------------
-- 分类菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '分类', '/category/list', 0,'', 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

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

-- ----------------------------
-- 分类参数 SQL
-- ----------------------------
-- ----------------------------
-- 产品分类菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '产品分类', '/product/category/list', 0,'', 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 产品分类资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '产品分类-菜单管理-查看', '/product/category/list,/product/category/view,/product/category/info,/product/category/export,/product/category/exportExcel,/product/category/downloadTemplate,/product/category/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '产品分类-菜单管理-维护', '/product/category/add,/product/category/edit,/product/category/delete,/product/category/logicDelete,/product/category/save,/product/category/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 产品分类参数 SQL
-- ----------------------------
-- ----------------------------
-- 产品菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '产品', '/product/list', 0,'', 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

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

-- ----------------------------
-- 产品参数 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_param` VALUES (null, '是否热门', 'Product', 'hot', '0', '否', 1, 4, 0, 'hot', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '是否热门', 'Product', 'hot', '1', '是', 1, 4, 0, 'hot', NULL, NULL, NULL);
-- ----------------------------
-- 产品常见问题菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '产品常见问题', '/product/question/list', 0,'', 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 产品常见问题资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '产品常见问题-菜单管理-查看', '/product/question/list,/product/question/view,/product/question/info,/product/question/export,/product/question/exportExcel,/product/question/downloadTemplate,/product/question/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '产品常见问题-菜单管理-维护', '/product/question/add,/product/question/edit,/product/question/delete,/product/question/logicDelete,/product/question/save,/product/question/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 产品常见问题参数 SQL
-- ----------------------------
-- ----------------------------
-- 员工基本信息菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '员工基本信息', '/staff/list', 0,'', 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 员工基本信息资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '员工基本信息-菜单管理-查看', '/staff/list,/staff/view,/staff/info,/staff/export,/staff/exportExcel,/staff/downloadTemplate,/staff/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '员工基本信息-菜单管理-维护', '/staff/add,/staff/edit,/staff/delete,/staff/logicDelete,/staff/save,/staff/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 员工基本信息参数 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_param` VALUES (null, '性别', 'Staff', 'gender', '1', '男', 1, 4, 0, 'gender', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '性别', 'Staff', 'gender', '2', '女', 1, 4, 0, 'gender', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '员工状态', 'Staff', 'staffStatus', '1', '正式', 1, 4, 0, 'staffStatus', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '员工状态', 'Staff', 'staffStatus', '2', '试用', 1, 4, 0, 'staffStatus', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '员工状态', 'Staff', 'staffStatus', '3', '离职', 1, 4, 0, 'staffStatus', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '员工来源', 'Staff', 'source', '1', '企业内部', 1, 4, 0, 'source', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '员工来源', 'Staff', 'source', '2', '外部人员', 1, 4, 0, 'source', NULL, NULL, NULL);
-- ----------------------------
-- 职位信息菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '职位信息', '/position/list', 0,'', 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 职位信息资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '职位信息-菜单管理-查看', '/position/list,/position/view,/position/info,/position/export,/position/exportExcel,/position/downloadTemplate,/position/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '职位信息-菜单管理-维护', '/position/add,/position/edit,/position/delete,/position/logicDelete,/position/save,/position/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 职位信息参数 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_param` VALUES (null, '节点类型', 'Position', 'type', '1', '分组', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '节点类型', 'Position', 'type', '2', '职位', 1, 4, 0, 'type', NULL, NULL, NULL);
-- ----------------------------
-- 客户访问记录信息菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '客户访问记录信息', '/staff/record/list', 0,'', 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 客户访问记录信息资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '客户访问记录信息-菜单管理-查看', '/staff/record/list,/staff/record/view,/staff/record/info,/staff/record/export,/staff/record/exportExcel,/staff/record/downloadTemplate,/staff/record/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '客户访问记录信息-菜单管理-维护', '/staff/record/add,/staff/record/edit,/staff/record/delete,/staff/record/logicDelete,/staff/record/save,/staff/record/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 客户访问记录信息参数 SQL
-- ----------------------------
-- ----------------------------
-- 新闻频道分类菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '新闻频道分类', '/news/category/list', 0,'', 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 新闻频道分类资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '新闻频道分类-菜单管理-查看', '/news/category/list,/news/category/view,/news/category/info,/news/category/export,/news/category/exportExcel,/news/category/downloadTemplate,/news/category/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '新闻频道分类-菜单管理-维护', '/news/category/add,/news/category/edit,/news/category/delete,/news/category/logicDelete,/news/category/save,/news/category/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 新闻频道分类参数 SQL
-- ----------------------------
-- ----------------------------
-- 新闻菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '新闻', '/news/list', 0,'', 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

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

-- ----------------------------
-- 新闻参数 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_param` VALUES (null, '置顶 ', 'News', 'top', '0', '否', 1, 4, 0, 'top', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '置顶 ', 'News', 'top', '1', '是', 1, 4, 0, 'top', NULL, NULL, NULL);
-- ----------------------------
-- 新闻访问记录信息菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '新闻访问记录信息', '/news/record/list', 0,'', 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 新闻访问记录信息资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '新闻访问记录信息-菜单管理-查看', '/news/record/list,/news/record/view,/news/record/info,/news/record/export,/news/record/exportExcel,/news/record/downloadTemplate,/news/record/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '新闻访问记录信息-菜单管理-维护', '/news/record/add,/news/record/edit,/news/record/delete,/news/record/logicDelete,/news/record/save,/news/record/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 新闻访问记录信息参数 SQL
-- ----------------------------
-- ----------------------------
-- 新闻分享记录信息菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '新闻分享记录信息', '/news/share/list', 0,'', 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 新闻分享记录信息资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '新闻分享记录信息-菜单管理-查看', '/news/share/list,/news/share/view,/news/share/info,/news/share/export,/news/share/exportExcel,/news/share/downloadTemplate,/news/share/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '新闻分享记录信息-菜单管理-维护', '/news/share/add,/news/share/edit,/news/share/delete,/news/share/logicDelete,/news/share/save,/news/share/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 新闻分享记录信息参数 SQL
-- ----------------------------
-- ----------------------------
-- 反馈信息菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '反馈信息', '/feedback/list', 0,'', 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 反馈信息资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '反馈信息-菜单管理-查看', '/feedback/list,/feedback/view,/feedback/info,/feedback/export,/feedback/exportExcel,/feedback/downloadTemplate,/feedback/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '反馈信息-菜单管理-维护', '/feedback/add,/feedback/edit,/feedback/delete,/feedback/logicDelete,/feedback/save,/feedback/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 反馈信息参数 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_param` VALUES (null, '是否公开 ', 'Feedback', 'isShow', '0', '否', 1, 4, 0, 'isShow', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '是否公开 ', 'Feedback', 'isShow', '1', '是', 1, 4, 0, 'isShow', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '是否回复 ', 'Feedback', 'reply', '0', '否', 1, 4, 0, 'reply', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '是否回复 ', 'Feedback', 'reply', '1', '是', 1, 4, 0, 'reply', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '反馈类型 ', 'Feedback', 'feedbackType', '1', '建议', 1, 4, 0, 'feedbackType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '反馈类型 ', 'Feedback', 'feedbackType', '2', '问题', 1, 4, 0, 'feedbackType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '反馈类型 ', 'Feedback', 'feedbackType', '3', '表扬', 1, 4, 0, 'feedbackType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '处理状态', 'Feedback', 'processStatus', '1', '未处理', 1, 4, 0, 'processStatus', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '处理状态', 'Feedback', 'processStatus', '2', '已处理', 1, 4, 0, 'processStatus', NULL, NULL, NULL);
