-- ----------------------------
-- 设备菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '设备表', '/device/list', 0, 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 3, NULL, NULL, NULL);

-- ----------------------------
-- 设备资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '设备-菜单管理-查看', '/device/list,/device/view', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '设备-菜单管理-维护', '/device/add,/device/edit,/device/delete,/device/save', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 设备参数 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_param` VALUES (null, '连接状态，(0.离线，1.在线，2.未激活)', 'connectStatus', NULL, '0', '离线', 1, 4, 0, NULL, NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '连接状态，(0.离线，1.在线，2.未激活)', 'connectStatus', NULL, '1', '在线', 1, 4, 0, NULL, NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '连接状态，(0.离线，1.在线，2.未激活)', 'connectStatus', NULL, '2', '未激活', 1, 4, 0, NULL, NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '启用状态 (0.停用，1.启用，2.测试)', 'useStatus', NULL, '0', '停用', 1, 4, 0, NULL, NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '启用状态 (0.停用，1.启用，2.测试)', 'useStatus', NULL, '1', '启用', 1, 4, 0, NULL, NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '启用状态 (0.停用，1.启用，2.测试)', 'useStatus', NULL, '2', '测试', 1, 4, 0, NULL, NULL, NULL, NULL);
-- ----------------------------
-- 客户菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '客户表', '/customer/list', 0, 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 3, NULL, NULL, NULL);

-- ----------------------------
-- 客户资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '客户-菜单管理-查看', '/customer/list,/customer/view', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '客户-菜单管理-维护', '/customer/add,/customer/edit,/customer/delete,/customer/save', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 客户参数 SQL
-- ----------------------------
-- ----------------------------
-- 设备日志菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '设备日志表', '/device/list', 0, 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 3, NULL, NULL, NULL);

-- ----------------------------
-- 设备日志资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '设备日志-菜单管理-查看', '/device/list,/device/view', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '设备日志-菜单管理-维护', '/device/add,/device/edit,/device/delete,/device/save', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 设备日志参数 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_param` VALUES (null, '日志类型，(0.上报事件，1.下发服务)', 'logType', NULL, '0', '上报事件', 1, 4, 0, NULL, NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '日志类型，(0.上报事件，1.下发服务)', 'logType', NULL, '1', '下发服务', 1, 4, 0, NULL, NULL, NULL, NULL);
-- ----------------------------
-- 设备topic菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '设备topic表', '/device/list', 0, 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 3, NULL, NULL, NULL);

-- ----------------------------
-- 设备topic资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '设备topic-菜单管理-查看', '/device/list,/device/view', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '设备topic-菜单管理-维护', '/device/add,/device/edit,/device/delete,/device/save', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 设备topic参数 SQL
-- ----------------------------
-- ----------------------------
-- 产品菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '产品表', '/product/list', 0, 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 3, NULL, NULL, NULL);

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

-- ----------------------------
-- 产品参数 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_param` VALUES (null, '产品状态，（1.开发中，2.发布）', 'productStatus', NULL, '1', '开发中', 1, 4, 0, NULL, NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '产品状态，（1.开发中，2.发布）', 'productStatus', NULL, '2', '发布', 1, 4, 0, NULL, NULL, NULL, NULL);
-- ----------------------------
-- 产品topic菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '产品topic表', '/product/list', 0, 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 3, NULL, NULL, NULL);

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

-- ----------------------------
-- 产品topic参数 SQL
-- ----------------------------
