/*
 Navicat MySQL Data Transfer

 Source Server         : database
 Source Server Type    : MySQL
 Source Server Version : 50723
 Source Host           : localhost:3306
 Source Schema         : cmc_oa

 Target Server Type    : MySQL
 Target Server Version : 50723
 File Encoding         : 65001

 Date: 30/05/2024 18:28:03
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_menu`;
CREATE TABLE `sys_menu`  (
  `menu_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
  `menu_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '菜单名称',
  `parent_id` bigint(20) NULL DEFAULT 0 COMMENT '父菜单ID',
  `order_num` int(4) NULL DEFAULT 0 COMMENT '显示顺序',
  `path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '路由地址',
  `component` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '组件路径',
  `query` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '路由参数',
  `is_frame` int(1) NULL DEFAULT 1 COMMENT '是否为外链（0是 1否）',
  `is_cache` int(1) NULL DEFAULT 0 COMMENT '是否缓存（0缓存 1不缓存）',
  `menu_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '菜单类型（M目录 C菜单 F按钮）',
  `visible` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '菜单状态（0显示 1隐藏）',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '菜单状态（0正常 1停用）',
  `perms` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '权限标识',
  `icon` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '#' COMMENT '菜单图标',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '创建者',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '更新者',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '备注',
  PRIMARY KEY (`menu_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2057 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '菜单权限表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_menu
-- ----------------------------
INSERT INTO `sys_menu` VALUES (1, '系统管理', 0, 1, 'system', NULL, '', 1, 0, 'M', '0', '0', '', 'system', 'admin', '2024-05-30 17:48:57', '', NULL, '系统管理目录');
INSERT INTO `sys_menu` VALUES (2, '系统监控', 0, 2, 'monitor', NULL, '', 1, 0, 'M', '0', '0', '', 'monitor', 'admin', '2024-05-30 17:48:57', '', NULL, '系统监控目录');
INSERT INTO `sys_menu` VALUES (3, '系统工具', 0, 3, 'tool', NULL, '', 1, 0, 'M', '0', '0', '', 'tool', 'admin', '2024-05-30 17:48:57', '', NULL, '系统工具目录');
INSERT INTO `sys_menu` VALUES (4, '人事管理', 0, 4, 'staff', NULL, '', 1, 0, 'M', '0', '0', '', 'user', 'admin', '2024-05-30 17:48:57', '', NULL, '人事管理菜单');
INSERT INTO `sys_menu` VALUES (5, '设备管理', 0, 5, 'device', NULL, '', 1, 0, 'M', '0', '0', '', 'equipment', 'admin', '2024-05-30 17:48:57', '', NULL, '设备管理菜单');
INSERT INTO `sys_menu` VALUES (6, '车辆管理', 0, 6, 'car', 'oa/car/index', '', 1, 0, 'C', '0', '0', 'oa:car:list', 'car', 'admin', '2024-05-30 17:48:57', '', NULL, '车辆管理菜单');
INSERT INTO `sys_menu` VALUES (7, '投标管理', 0, 7, 'tender', 'oa/tender/index', '', 1, 0, 'C', '0', '0', 'oa:tender:list', 'guide', 'admin', '2024-05-30 17:48:57', '', NULL, '投标管理菜单');
INSERT INTO `sys_menu` VALUES (8, '合同管理', 0, 8, 'contract', 'oa/contract/index', '', 1, 0, 'C', '0', '0', 'oa:contract:list', 'documentation', 'admin', '2024-05-30 17:48:57', '', NULL, '合同管理菜单');
INSERT INTO `sys_menu` VALUES (9, '项目台账', 0, 9, 'project', 'oa/project/index', '', 1, 0, 'C', '0', '0', 'oa:project:list', 'project', 'admin', '2024-05-30 17:48:57', 'admin', '2024-05-30 18:26:48', '项目管理菜单');
INSERT INTO `sys_menu` VALUES (10, '单价管理', 0, 10, 'price', 'oa/price/index', '', 1, 0, 'C', '0', '0', 'oa:price:list', 'money', 'admin', '2024-05-30 17:48:57', '', NULL, '单价管理菜单');
INSERT INTO `sys_menu` VALUES (12, '资料管理', 0, 12, 'file', 'file/filesProject/index', '', 1, 0, 'C', '0', '0', 'oa:archive:list', 'education', 'admin', '2024-05-30 17:48:57', '', NULL, '资料管理菜单');
INSERT INTO `sys_menu` VALUES (13, '一张图', 0, 13, 'gis', 'file/index', '', 1, 0, 'C', '0', '0', '', 'international', 'admin', '2024-05-30 17:48:57', '', NULL, '一张图菜单');
INSERT INTO `sys_menu` VALUES (100, '用户管理', 1, 1, 'user', 'system/user/index', '', 1, 0, 'C', '0', '0', 'system:user:list', 'user', 'admin', '2024-05-30 17:48:57', '', NULL, '用户管理菜单');
INSERT INTO `sys_menu` VALUES (101, '角色管理', 1, 2, 'role', 'system/role/index', '', 1, 0, 'C', '0', '0', 'system:role:list', 'peoples', 'admin', '2024-05-30 17:48:57', '', NULL, '角色管理菜单');
INSERT INTO `sys_menu` VALUES (102, '菜单管理', 1, 3, 'menu', 'system/menu/index', '', 1, 0, 'C', '0', '0', 'system:menu:list', 'tree-table', 'admin', '2024-05-30 17:48:57', '', NULL, '菜单管理菜单');
INSERT INTO `sys_menu` VALUES (103, '部门管理', 1, 4, 'dept', 'system/dept/index', '', 1, 0, 'C', '0', '0', 'system:dept:list', 'tree', 'admin', '2024-05-30 17:48:57', '', NULL, '部门管理菜单');
INSERT INTO `sys_menu` VALUES (104, '岗位管理', 1, 5, 'post', 'system/post/index', '', 1, 0, 'C', '0', '0', 'system:post:list', 'post', 'admin', '2024-05-30 17:48:57', '', NULL, '岗位管理菜单');
INSERT INTO `sys_menu` VALUES (105, '字典管理', 1, 6, 'dict', 'system/dict/index', '', 1, 0, 'C', '0', '0', 'system:dict:list', 'dict', 'admin', '2024-05-30 17:48:57', '', NULL, '字典管理菜单');
INSERT INTO `sys_menu` VALUES (106, '参数设置', 1, 7, 'config', 'system/config/index', '', 1, 0, 'C', '0', '0', 'system:config:list', 'edit', 'admin', '2024-05-30 17:48:57', '', NULL, '参数设置菜单');
INSERT INTO `sys_menu` VALUES (107, '通知公告', 1, 8, 'notice', 'system/notice/index', '', 1, 0, 'C', '0', '0', 'system:notice:list', 'message', 'admin', '2024-05-30 17:48:57', '', NULL, '通知公告菜单');
INSERT INTO `sys_menu` VALUES (108, '日志管理', 1, 9, 'log', '', '', 1, 0, 'M', '0', '0', '', 'log', 'admin', '2024-05-30 17:48:57', '', NULL, '日志管理菜单');
INSERT INTO `sys_menu` VALUES (109, '在线用户', 2, 1, 'online', 'monitor/online/index', '', 1, 0, 'C', '0', '0', 'monitor:online:list', 'online', 'admin', '2024-05-30 17:48:57', '', NULL, '在线用户菜单');
INSERT INTO `sys_menu` VALUES (110, '定时任务', 2, 2, 'job', 'monitor/job/index', '', 1, 0, 'C', '0', '0', 'monitor:job:list', 'job', 'admin', '2024-05-30 17:48:57', '', NULL, '定时任务菜单');
INSERT INTO `sys_menu` VALUES (111, '数据监控', 2, 3, 'druid', 'monitor/druid/index', '', 1, 0, 'C', '0', '0', 'monitor:druid:list', 'druid', 'admin', '2024-05-30 17:48:57', '', NULL, '数据监控菜单');
INSERT INTO `sys_menu` VALUES (112, '服务监控', 2, 4, 'server', 'monitor/server/index', '', 1, 0, 'C', '0', '0', 'monitor:server:list', 'server', 'admin', '2024-05-30 17:48:57', '', NULL, '服务监控菜单');
INSERT INTO `sys_menu` VALUES (113, '缓存监控', 2, 5, 'cache', 'monitor/cache/index', '', 1, 0, 'C', '0', '0', 'monitor:cache:list', 'redis', 'admin', '2024-05-30 17:48:57', '', NULL, '缓存监控菜单');
INSERT INTO `sys_menu` VALUES (114, '缓存列表', 2, 6, 'cacheList', 'monitor/cache/list', '', 1, 0, 'C', '0', '0', 'monitor:cache:list', 'redis-list', 'admin', '2024-05-30 17:48:57', '', NULL, '缓存列表菜单');
INSERT INTO `sys_menu` VALUES (115, '表单构建', 3, 1, 'build', 'tool/build/index', '', 1, 0, 'C', '0', '0', 'tool:build:list', 'build', 'admin', '2024-05-30 17:48:57', '', NULL, '表单构建菜单');
INSERT INTO `sys_menu` VALUES (116, '代码生成', 3, 2, 'gen', 'tool/gen/index', '', 1, 0, 'C', '0', '0', 'tool:gen:list', 'code', 'admin', '2024-05-30 17:48:57', '', NULL, '代码生成菜单');
INSERT INTO `sys_menu` VALUES (117, '系统接口', 3, 3, 'swagger', 'tool/swagger/index', '', 1, 0, 'C', '0', '0', 'tool:swagger:list', 'swagger', 'admin', '2024-05-30 17:48:57', '', NULL, '系统接口菜单');
INSERT INTO `sys_menu` VALUES (118, '人员信息', 4, 1, 'people', 'oa/staff/index', '', 1, 0, 'C', '0', '0', 'system:user:list', 'peoples', 'admin', '2024-05-30 17:48:57', '', NULL, '人员信息菜单');
INSERT INTO `sys_menu` VALUES (119, '岗位工资', 4, 2, 'salary', 'oa/staff/salary', '', 1, 0, 'C', '0', '0', 'oa:salary:list', 'cost', 'admin', '2024-05-30 17:48:57', '', NULL, '岗位工资菜单');
INSERT INTO `sys_menu` VALUES (120, '仪器设备', 5, 1, 'equipment', 'oa/device/index', '', 1, 0, 'C', '0', '0', 'oa:device:list', 'component', 'admin', '2024-05-30 17:48:57', '', NULL, '仪器设备菜单');
INSERT INTO `sys_menu` VALUES (121, '办公设备', 5, 2, 'supply', 'oa/supply/index', '', 1, 0, 'C', '0', '0', 'oa:supply:list', 'desktop', 'admin', '2024-05-30 17:48:57', '', NULL, '办公设备菜单');
INSERT INTO `sys_menu` VALUES (500, '操作日志', 108, 1, 'operlog', 'monitor/operlog/index', '', 1, 0, 'C', '0', '0', 'monitor:operlog:list', 'form', 'admin', '2024-05-30 17:48:57', '', NULL, '操作日志菜单');
INSERT INTO `sys_menu` VALUES (501, '登录日志', 108, 2, 'logininfor', 'monitor/logininfor/index', '', 1, 0, 'C', '0', '0', 'monitor:logininfor:list', 'logininfor', 'admin', '2024-05-30 17:48:57', '', NULL, '登录日志菜单');
INSERT INTO `sys_menu` VALUES (1000, '用户列表', 100, 0, '', '', '', 1, 0, 'F', '0', '0', 'system:user:list', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1001, '用户查询', 100, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:user:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1002, '用户新增', 100, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:user:add', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1003, '用户修改', 100, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:user:edit', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1004, '用户删除', 100, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:user:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1005, '用户导出', 100, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:user:export', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1006, '用户导入', 100, 6, '', '', '', 1, 0, 'F', '0', '0', 'system:user:import', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1007, '重置密码', 100, 7, '', '', '', 1, 0, 'F', '0', '0', 'system:user:resetPwd', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1008, '角色查询', 101, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:role:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1009, '角色新增', 101, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:role:add', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1010, '角色修改', 101, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:role:edit', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1011, '角色删除', 101, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:role:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1012, '角色导出', 101, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:role:export', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1013, '菜单查询', 102, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1014, '菜单新增', 102, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:add', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1015, '菜单修改', 102, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:edit', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1016, '菜单删除', 102, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1017, '部门查询', 103, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:list', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1018, '部门查询', 103, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1019, '部门新增', 103, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:add', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1020, '部门修改', 103, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:edit', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1021, '部门删除', 103, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1022, '岗位查询', 104, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:post:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1023, '岗位新增', 104, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:post:add', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1024, '岗位修改', 104, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:post:edit', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1025, '岗位删除', 104, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:post:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1026, '岗位导出', 104, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:post:export', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1027, '字典查询', 105, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1028, '字典新增', 105, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:add', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1029, '字典修改', 105, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:edit', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1030, '字典删除', 105, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1031, '字典导出', 105, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:export', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1032, '参数查询', 106, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1033, '参数新增', 106, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:add', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1034, '参数修改', 106, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:edit', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1035, '参数删除', 106, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1036, '参数导出', 106, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:export', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1037, '公告查询', 107, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1038, '公告新增', 107, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:add', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1039, '公告修改', 107, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:edit', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1040, '公告删除', 107, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1041, '操作查询', 500, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1042, '操作删除', 500, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1043, '日志导出', 500, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:export', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1044, '登录查询', 501, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1045, '登录删除', 501, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1046, '日志导出', 501, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:export', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1047, '账户解锁', 501, 4, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:unlock', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1048, '在线查询', 109, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1049, '批量强退', 109, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:batchLogout', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1050, '单条强退', 109, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:forceLogout', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1051, '任务查询', 110, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1052, '任务新增', 110, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:add', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1053, '任务修改', 110, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:edit', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1054, '任务删除', 110, 4, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1055, '状态修改', 110, 5, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:changeStatus', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1056, '任务导出', 110, 6, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:export', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1057, '生成查询', 116, 1, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1058, '生成修改', 116, 2, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:edit', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1059, '生成删除', 116, 3, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1060, '导入代码', 116, 4, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:import', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1061, '预览代码', 116, 5, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:preview', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1062, '生成代码', 116, 6, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:code', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1063, '车辆查询', 6, 1, '#', '', '', 1, 0, 'F', '0', '0', 'oa:car:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1064, '车辆新增', 6, 2, '#', '', '', 1, 0, 'F', '0', '0', 'oa:car:add', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1065, '车辆修改', 6, 3, '#', '', '', 1, 0, 'F', '0', '0', 'oa:car:edit', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1066, '车辆删除', 6, 4, '#', '', '', 1, 0, 'F', '0', '0', 'oa:car:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1067, '车辆导出', 6, 5, '#', '', '', 1, 0, 'F', '0', '0', 'oa:car:export', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1068, '设备查询', 120, 1, '#', '', '', 1, 0, 'F', '0', '0', 'oa:device:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1069, '设备新增', 120, 2, '#', '', '', 1, 0, 'F', '0', '0', 'oa:device:add', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1070, '设备修改', 120, 3, '#', '', '', 1, 0, 'F', '0', '0', 'oa:device:edit', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1071, '设备删除', 120, 4, '#', '', '', 1, 0, 'F', '0', '0', 'oa:device:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1072, '设备导出', 120, 5, '#', '', '', 1, 0, 'F', '0', '0', 'oa:device:export', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1073, '投标查询', 7, 1, '#', '', '', 1, 0, 'F', '0', '0', 'oa:tender:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1074, '投标新增', 7, 2, '#', '', '', 1, 0, 'F', '0', '0', 'oa:tender:add', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1075, '投标修改', 7, 3, '#', '', '', 1, 0, 'F', '0', '0', 'oa:tender:edit', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1076, '投标删除', 7, 4, '#', '', '', 1, 0, 'F', '0', '0', 'oa:tender:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1077, '投标导出', 7, 5, '#', '', '', 1, 0, 'F', '0', '0', 'oa:tender:export', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1078, '合同查询', 8, 1, '#', '', '', 1, 0, 'F', '0', '0', 'oa:contract:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1079, '合同新增', 8, 2, '#', '', '', 1, 0, 'F', '0', '0', 'oa:contract:add', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1080, '合同修改', 8, 3, '#', '', '', 1, 0, 'F', '0', '0', 'oa:contract:edit', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1081, '合同删除', 8, 4, '#', '', '', 1, 0, 'F', '0', '0', 'oa:contract:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1082, '合同导出', 8, 5, '#', '', '', 1, 0, 'F', '0', '0', 'oa:contract:export', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1083, '项目查询', 9, 1, '#', '', '', 1, 0, 'F', '0', '0', 'oa:project:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1084, '项目新增', 9, 2, '#', '', '', 1, 0, 'F', '0', '0', 'oa:project:add', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1085, '项目修改', 9, 3, '#', '', '', 1, 0, 'F', '0', '0', 'oa:project:edit', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1086, '项目删除', 9, 4, '#', '', '', 1, 0, 'F', '0', '0', 'oa:project:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1087, '项目导出', 9, 5, '#', '', '', 1, 0, 'F', '0', '0', 'oa:project:export', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1088, '工资查询', 119, 1, '#', '', '', 1, 0, 'F', '0', '0', 'oa:salary:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1089, '工资新增', 119, 2, '#', '', '', 1, 0, 'F', '0', '0', 'oa:salary:add', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1090, '工资修改', 119, 3, '#', '', '', 1, 0, 'F', '0', '0', 'oa:salary:edit', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1091, '工资删除', 119, 4, '#', '', '', 1, 0, 'F', '0', '0', 'oa:salary:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1092, '工资导出', 119, 5, '#', '', '', 1, 0, 'F', '0', '0', 'oa:salary:export', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1093, '资料查询', 12, 1, '#', '', '', 1, 0, 'F', '0', '0', 'oa:archive:query', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1094, '资料新增', 12, 2, '#', '', '', 1, 0, 'F', '0', '0', 'oa:archive:add', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1095, '资料修改', 12, 3, '#', '', '', 1, 0, 'F', '0', '0', 'oa:archive:edit', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1096, '资料删除', 12, 4, '#', '', '', 1, 0, 'F', '0', '0', 'oa:archive:remove', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1097, '资料导出', 12, 5, '#', '', '', 1, 0, 'F', '0', '0', 'oa:archive:export', '#', 'admin', '2024-05-30 17:48:57', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2021, '流程管理', 0, 20, 'flowable', NULL, NULL, 1, 0, 'M', '0', '0', NULL, 'cascader', 'tony', '2021-03-25 11:35:09', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2022, '流程定义', 2021, 2, 'definition', 'flowable/definition/index', NULL, 1, 0, 'C', '0', '0', '', 'job', 'tony', '2021-03-25 13:53:55', 'admin', '2021-03-29 09:39:07', '');
INSERT INTO `sys_menu` VALUES (2023, '任务管理', 0, 21, 'task', NULL, NULL, 1, 0, 'M', '0', '0', '', 'dict', 'tony', '2021-03-26 10:53:10', 'admin', '2021-03-29 09:37:40', '');
INSERT INTO `sys_menu` VALUES (2024, '待办任务', 2023, 2, 'todo', 'flowable/task/todo/index', NULL, 1, 1, 'C', '0', '0', '', 'cascader', 'admin', '2021-03-26 10:55:52', 'admin', '2021-03-30 09:26:36', '');
INSERT INTO `sys_menu` VALUES (2025, '已办任务', 2023, 3, 'finished', 'flowable/task/finished/index', NULL, 1, 1, 'C', '0', '0', '', 'time-range', 'admin', '2021-03-26 10:57:54', 'admin', '2021-03-30 09:26:50', '');
INSERT INTO `sys_menu` VALUES (2026, '我的流程', 2023, 1, 'process', 'flowable/task/myProcess/index', NULL, 1, 1, 'C', '0', '0', '', 'guide', 'admin', '2021-03-30 09:26:23', 'admin', '2022-12-12 09:58:07', '');
INSERT INTO `sys_menu` VALUES (2027, '表单配置', 2021, 2, 'form', 'flowable/task/form/index', NULL, 1, 0, 'C', '0', '0', 'flowable:form:list', 'form', 'admin', '2021-03-30 22:55:12', 'admin', '2021-04-03 18:50:54', '');
INSERT INTO `sys_menu` VALUES (2028, '新增', 2027, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'flowable:form:add', '#', 'admin', '2021-07-07 14:23:37', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2029, '删除', 2027, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'flowable:form:remove', '#', 'admin', '2021-07-07 14:24:10', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2030, '编辑', 2027, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'flowable:form:edit', '#', 'admin', '2021-07-07 14:24:31', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2031, '新增', 2026, 1, '', NULL, NULL, 1, 0, 'F', '0', '0', 'system:deployment:add', '#', 'admin', '2021-07-07 14:25:22', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2032, '编辑', 2026, 2, '', NULL, NULL, 1, 0, 'F', '0', '0', 'system:deployment:edit', '#', 'admin', '2021-07-07 14:25:47', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2033, '删除', 2026, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'system:deployment:remove', '#', 'admin', '2021-07-07 14:26:02', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2034, '查询', 2027, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'flowable:form:query', '#', 'admin', '2021-07-08 14:05:22', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2035, '修改密码', 100, 8, '', NULL, NULL, 1, 0, 'F', '0', '0', 'system:user:updatePwd', '#', 'admin', '2022-04-29 11:27:13', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2036, '流程表达式', 2021, 3, 'expression', 'system/expression/index', NULL, 1, 1, 'C', '0', '0', 'system:expression:list', 'list', 'admin', '2022-12-12 17:12:19', 'admin', '2022-12-12 17:13:44', '流程达式菜单');
INSERT INTO `sys_menu` VALUES (2037, '流程达式查询', 2036, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:expression:query', '#', 'admin', '2022-12-12 17:12:19', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2038, '流程达式新增', 2036, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:expression:add', '#', 'admin', '2022-12-12 17:12:19', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2039, '流程达式修改', 2036, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:expression:edit', '#', 'admin', '2022-12-12 17:12:19', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2040, '流程达式删除', 2036, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:expression:remove', '#', 'admin', '2022-12-12 17:12:19', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2041, '流程达式导出', 2036, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:expression:export', '#', 'admin', '2022-12-12 17:12:19', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2042, '流程监听', 2021, 1, 'listener', 'system/listener/index', NULL, 1, 0, 'C', '0', '0', 'system:listener:list', '#', 'admin', '2022-12-25 11:44:16', '', NULL, '流程监听菜单');
INSERT INTO `sys_menu` VALUES (2043, '流程监听查询', 2042, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:listener:query', '#', 'admin', '2022-12-25 11:44:16', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2044, '流程监听新增', 2042, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:listener:add', '#', 'admin', '2022-12-25 11:44:16', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2045, '流程监听修改', 2042, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:listener:edit', '#', 'admin', '2022-12-25 11:44:16', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2046, '流程监听删除', 2042, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:listener:remove', '#', 'admin', '2022-12-25 11:44:16', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2047, '流程监听导出', 2042, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'system:listener:export', '#', 'admin', '2022-12-25 11:44:16', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2049, '记录新增', 5, 3, '', NULL, NULL, 1, 0, 'F', '0', '0', 'device:record:add', '#', 'admin', '2024-05-30 17:57:35', 'admin', '2024-05-30 17:59:43', '');
INSERT INTO `sys_menu` VALUES (2050, '记录修改', 5, 4, '', NULL, NULL, 1, 0, 'F', '0', '0', 'device:record:edit', '#', 'admin', '2024-05-30 17:58:23', 'admin', '2024-05-30 17:59:48', '');
INSERT INTO `sys_menu` VALUES (2051, '记录删除', 5, 5, '', NULL, NULL, 1, 0, 'F', '0', '0', 'device:record:remove', '#', 'admin', '2024-05-30 17:59:04', 'admin', '2024-05-30 17:59:52', '');
INSERT INTO `sys_menu` VALUES (2052, '记录导出', 5, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'device:record:export', '#', 'admin', '2024-05-30 17:59:31', 'admin', '2024-05-30 17:59:55', '');
INSERT INTO `sys_menu` VALUES (2053, '记录新增', 6, 6, '', NULL, NULL, 1, 0, 'F', '0', '0', 'car:record:add', '#', 'admin', '2024-05-30 18:06:54', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2054, '记录修改', 6, 7, '', NULL, NULL, 1, 0, 'F', '0', '0', 'car:record:edit', '#', 'admin', '2024-05-30 18:07:09', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2055, '记录删除', 6, 8, '', NULL, NULL, 1, 0, 'F', '0', '0', 'car:record:remove', '#', 'admin', '2024-05-30 18:07:25', '', NULL, '');
INSERT INTO `sys_menu` VALUES (2056, '记录导出', 6, 9, '', NULL, NULL, 1, 0, 'F', '0', '0', 'car:record:export', '#', 'admin', '2024-05-30 18:07:44', '', NULL, '');

-- ----------------------------
-- Table structure for sys_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role`  (
  `role_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '角色ID',
  `role_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色名称',
  `role_key` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色权限字符串',
  `role_sort` int(4) NOT NULL COMMENT '显示顺序',
  `data_scope` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '1' COMMENT '数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）',
  `menu_check_strictly` tinyint(1) NULL DEFAULT 1 COMMENT '菜单树选择项是否关联显示',
  `dept_check_strictly` tinyint(1) NULL DEFAULT 1 COMMENT '部门树选择项是否关联显示',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色状态（0正常 1停用）',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '创建者',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '更新者',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`role_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色信息表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_role
-- ----------------------------
INSERT INTO `sys_role` VALUES (1, '超级管理员', 'admin', 1, '1', 1, 1, '0', '0', 'admin', '2024-05-28 09:33:59', '', NULL, '超级管理员');
INSERT INTO `sys_role` VALUES (2, '普通角色', 'common', 2, '2', 0, 1, '0', '0', 'admin', '2024-05-28 09:33:59', 'admin', '2024-05-30 18:26:32', '普通角色');
INSERT INTO `sys_role` VALUES (3, '人事管理员', 'staff', 3, '3', 1, 1, '0', '0', 'admin', '2024-05-28 09:33:59', '', NULL, '人事管理员');
INSERT INTO `sys_role` VALUES (4, '车辆管理员', 'car', 4, '4', 1, 1, '0', '0', 'admin', '2024-05-28 09:33:59', '', NULL, '车辆管理员');
INSERT INTO `sys_role` VALUES (5, '设备管理员', 'device', 5, '5', 1, 1, '0', '0', 'admin', '2024-05-28 09:33:59', '', NULL, '设备管理员');
INSERT INTO `sys_role` VALUES (6, '资料归档员', 'archive', 6, '6', 1, 1, '0', '0', 'admin', '2024-05-28 09:33:59', '', NULL, '资料归档员');
INSERT INTO `sys_role` VALUES (7, '管理层', 'leader', 7, '1', 0, 1, '0', '0', 'admin', '2024-05-30 17:34:20', 'admin', '2024-05-30 18:14:16', NULL);

-- ----------------------------
-- Table structure for sys_role_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_menu`;
CREATE TABLE `sys_role_menu`  (
  `role_id` bigint(20) NOT NULL COMMENT '角色ID',
  `menu_id` bigint(20) NOT NULL COMMENT '菜单ID',
  PRIMARY KEY (`role_id`, `menu_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色和菜单关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_role_menu
-- ----------------------------
INSERT INTO `sys_role_menu` VALUES (2, 9);
INSERT INTO `sys_role_menu` VALUES (2, 1000);
INSERT INTO `sys_role_menu` VALUES (2, 1001);
INSERT INTO `sys_role_menu` VALUES (2, 1017);
INSERT INTO `sys_role_menu` VALUES (2, 1018);
INSERT INTO `sys_role_menu` VALUES (2, 1068);
INSERT INTO `sys_role_menu` VALUES (2, 1083);
INSERT INTO `sys_role_menu` VALUES (2, 2023);
INSERT INTO `sys_role_menu` VALUES (2, 2024);
INSERT INTO `sys_role_menu` VALUES (2, 2025);
INSERT INTO `sys_role_menu` VALUES (2, 2026);
INSERT INTO `sys_role_menu` VALUES (2, 2031);
INSERT INTO `sys_role_menu` VALUES (2, 2032);
INSERT INTO `sys_role_menu` VALUES (2, 2033);
INSERT INTO `sys_role_menu` VALUES (3, 4);
INSERT INTO `sys_role_menu` VALUES (3, 1002);
INSERT INTO `sys_role_menu` VALUES (3, 1003);
INSERT INTO `sys_role_menu` VALUES (3, 1004);
INSERT INTO `sys_role_menu` VALUES (3, 1005);
INSERT INTO `sys_role_menu` VALUES (3, 1006);
INSERT INTO `sys_role_menu` VALUES (3, 1007);
INSERT INTO `sys_role_menu` VALUES (4, 5);
INSERT INTO `sys_role_menu` VALUES (4, 1063);
INSERT INTO `sys_role_menu` VALUES (4, 1064);
INSERT INTO `sys_role_menu` VALUES (4, 1065);
INSERT INTO `sys_role_menu` VALUES (4, 1066);
INSERT INTO `sys_role_menu` VALUES (4, 1067);
INSERT INTO `sys_role_menu` VALUES (5, 6);
INSERT INTO `sys_role_menu` VALUES (5, 120);
INSERT INTO `sys_role_menu` VALUES (5, 121);
INSERT INTO `sys_role_menu` VALUES (5, 1068);
INSERT INTO `sys_role_menu` VALUES (5, 1069);
INSERT INTO `sys_role_menu` VALUES (5, 1070);
INSERT INTO `sys_role_menu` VALUES (5, 1071);
INSERT INTO `sys_role_menu` VALUES (5, 1072);
INSERT INTO `sys_role_menu` VALUES (7, 4);
INSERT INTO `sys_role_menu` VALUES (7, 5);
INSERT INTO `sys_role_menu` VALUES (7, 6);
INSERT INTO `sys_role_menu` VALUES (7, 7);
INSERT INTO `sys_role_menu` VALUES (7, 8);
INSERT INTO `sys_role_menu` VALUES (7, 9);
INSERT INTO `sys_role_menu` VALUES (7, 118);
INSERT INTO `sys_role_menu` VALUES (7, 119);
INSERT INTO `sys_role_menu` VALUES (7, 120);
INSERT INTO `sys_role_menu` VALUES (7, 121);
INSERT INTO `sys_role_menu` VALUES (7, 1000);
INSERT INTO `sys_role_menu` VALUES (7, 1001);
INSERT INTO `sys_role_menu` VALUES (7, 1063);
INSERT INTO `sys_role_menu` VALUES (7, 1064);
INSERT INTO `sys_role_menu` VALUES (7, 1067);
INSERT INTO `sys_role_menu` VALUES (7, 1068);
INSERT INTO `sys_role_menu` VALUES (7, 1069);
INSERT INTO `sys_role_menu` VALUES (7, 1072);
INSERT INTO `sys_role_menu` VALUES (7, 1073);
INSERT INTO `sys_role_menu` VALUES (7, 1078);
INSERT INTO `sys_role_menu` VALUES (7, 1082);
INSERT INTO `sys_role_menu` VALUES (7, 1083);
INSERT INTO `sys_role_menu` VALUES (7, 1087);
INSERT INTO `sys_role_menu` VALUES (7, 2023);
INSERT INTO `sys_role_menu` VALUES (7, 2024);
INSERT INTO `sys_role_menu` VALUES (7, 2025);
INSERT INTO `sys_role_menu` VALUES (7, 2026);
INSERT INTO `sys_role_menu` VALUES (7, 2031);
INSERT INTO `sys_role_menu` VALUES (7, 2032);
INSERT INTO `sys_role_menu` VALUES (7, 2033);
INSERT INTO `sys_role_menu` VALUES (7, 2052);

-- ----------------------------
-- Table structure for sys_user_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_role`;
CREATE TABLE `sys_user_role`  (
  `user_id` bigint(20) NOT NULL COMMENT '用户ID',
  `role_id` bigint(20) NOT NULL COMMENT '角色ID',
  PRIMARY KEY (`user_id`, `role_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户和角色关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sys_user_role
-- ----------------------------
INSERT INTO `sys_user_role` VALUES (1, 1);
INSERT INTO `sys_user_role` VALUES (2, 2);
INSERT INTO `sys_user_role` VALUES (2, 7);
INSERT INTO `sys_user_role` VALUES (3, 2);
INSERT INTO `sys_user_role` VALUES (3, 7);
INSERT INTO `sys_user_role` VALUES (4, 2);
INSERT INTO `sys_user_role` VALUES (4, 7);
INSERT INTO `sys_user_role` VALUES (5, 2);
INSERT INTO `sys_user_role` VALUES (5, 7);
INSERT INTO `sys_user_role` VALUES (6, 2);
INSERT INTO `sys_user_role` VALUES (6, 7);
INSERT INTO `sys_user_role` VALUES (7, 2);
INSERT INTO `sys_user_role` VALUES (7, 7);
INSERT INTO `sys_user_role` VALUES (8, 2);
INSERT INTO `sys_user_role` VALUES (8, 3);
INSERT INTO `sys_user_role` VALUES (8, 4);
INSERT INTO `sys_user_role` VALUES (8, 7);
INSERT INTO `sys_user_role` VALUES (9, 2);
INSERT INTO `sys_user_role` VALUES (9, 7);
INSERT INTO `sys_user_role` VALUES (10, 2);
INSERT INTO `sys_user_role` VALUES (10, 7);
INSERT INTO `sys_user_role` VALUES (11, 2);
INSERT INTO `sys_user_role` VALUES (11, 7);
INSERT INTO `sys_user_role` VALUES (12, 2);
INSERT INTO `sys_user_role` VALUES (12, 7);
INSERT INTO `sys_user_role` VALUES (13, 2);
INSERT INTO `sys_user_role` VALUES (13, 7);
INSERT INTO `sys_user_role` VALUES (14, 2);
INSERT INTO `sys_user_role` VALUES (14, 7);
INSERT INTO `sys_user_role` VALUES (15, 2);
INSERT INTO `sys_user_role` VALUES (15, 7);
INSERT INTO `sys_user_role` VALUES (16, 2);
INSERT INTO `sys_user_role` VALUES (17, 2);
INSERT INTO `sys_user_role` VALUES (17, 4);
INSERT INTO `sys_user_role` VALUES (18, 2);
INSERT INTO `sys_user_role` VALUES (18, 5);
INSERT INTO `sys_user_role` VALUES (19, 2);
INSERT INTO `sys_user_role` VALUES (19, 3);
INSERT INTO `sys_user_role` VALUES (20, 2);
INSERT INTO `sys_user_role` VALUES (21, 2);
INSERT INTO `sys_user_role` VALUES (22, 2);
INSERT INTO `sys_user_role` VALUES (23, 2);
INSERT INTO `sys_user_role` VALUES (24, 2);
INSERT INTO `sys_user_role` VALUES (25, 2);
INSERT INTO `sys_user_role` VALUES (26, 2);
INSERT INTO `sys_user_role` VALUES (27, 2);
INSERT INTO `sys_user_role` VALUES (28, 2);
INSERT INTO `sys_user_role` VALUES (29, 2);
INSERT INTO `sys_user_role` VALUES (30, 2);
INSERT INTO `sys_user_role` VALUES (31, 2);
INSERT INTO `sys_user_role` VALUES (32, 2);
INSERT INTO `sys_user_role` VALUES (33, 2);
INSERT INTO `sys_user_role` VALUES (34, 2);
INSERT INTO `sys_user_role` VALUES (35, 2);
INSERT INTO `sys_user_role` VALUES (36, 2);
INSERT INTO `sys_user_role` VALUES (37, 2);
INSERT INTO `sys_user_role` VALUES (38, 2);
INSERT INTO `sys_user_role` VALUES (39, 2);
INSERT INTO `sys_user_role` VALUES (40, 2);
INSERT INTO `sys_user_role` VALUES (41, 2);
INSERT INTO `sys_user_role` VALUES (42, 2);
INSERT INTO `sys_user_role` VALUES (43, 2);
INSERT INTO `sys_user_role` VALUES (44, 2);
INSERT INTO `sys_user_role` VALUES (45, 2);
INSERT INTO `sys_user_role` VALUES (46, 2);
INSERT INTO `sys_user_role` VALUES (47, 2);
INSERT INTO `sys_user_role` VALUES (48, 2);
INSERT INTO `sys_user_role` VALUES (49, 2);
INSERT INTO `sys_user_role` VALUES (50, 2);
INSERT INTO `sys_user_role` VALUES (51, 2);
INSERT INTO `sys_user_role` VALUES (52, 2);
INSERT INTO `sys_user_role` VALUES (53, 2);
INSERT INTO `sys_user_role` VALUES (54, 2);
INSERT INTO `sys_user_role` VALUES (55, 2);
INSERT INTO `sys_user_role` VALUES (56, 2);
INSERT INTO `sys_user_role` VALUES (57, 2);
INSERT INTO `sys_user_role` VALUES (58, 2);
INSERT INTO `sys_user_role` VALUES (58, 6);
INSERT INTO `sys_user_role` VALUES (59, 2);
INSERT INTO `sys_user_role` VALUES (60, 2);
INSERT INTO `sys_user_role` VALUES (61, 2);
INSERT INTO `sys_user_role` VALUES (62, 2);
INSERT INTO `sys_user_role` VALUES (63, 2);
INSERT INTO `sys_user_role` VALUES (64, 2);
INSERT INTO `sys_user_role` VALUES (65, 2);
INSERT INTO `sys_user_role` VALUES (66, 2);
INSERT INTO `sys_user_role` VALUES (67, 2);
INSERT INTO `sys_user_role` VALUES (68, 2);
INSERT INTO `sys_user_role` VALUES (69, 2);
INSERT INTO `sys_user_role` VALUES (70, 2);
INSERT INTO `sys_user_role` VALUES (71, 2);
INSERT INTO `sys_user_role` VALUES (72, 2);
INSERT INTO `sys_user_role` VALUES (73, 2);
INSERT INTO `sys_user_role` VALUES (74, 2);
INSERT INTO `sys_user_role` VALUES (75, 2);
INSERT INTO `sys_user_role` VALUES (76, 2);
INSERT INTO `sys_user_role` VALUES (77, 2);
INSERT INTO `sys_user_role` VALUES (78, 2);
INSERT INTO `sys_user_role` VALUES (79, 2);
INSERT INTO `sys_user_role` VALUES (80, 2);
INSERT INTO `sys_user_role` VALUES (81, 2);
INSERT INTO `sys_user_role` VALUES (82, 2);
INSERT INTO `sys_user_role` VALUES (83, 2);
INSERT INTO `sys_user_role` VALUES (84, 2);
INSERT INTO `sys_user_role` VALUES (85, 2);
INSERT INTO `sys_user_role` VALUES (86, 2);
INSERT INTO `sys_user_role` VALUES (87, 2);
INSERT INTO `sys_user_role` VALUES (88, 2);
INSERT INTO `sys_user_role` VALUES (89, 2);
INSERT INTO `sys_user_role` VALUES (90, 2);
INSERT INTO `sys_user_role` VALUES (91, 2);
INSERT INTO `sys_user_role` VALUES (92, 2);
INSERT INTO `sys_user_role` VALUES (93, 2);
INSERT INTO `sys_user_role` VALUES (94, 2);
INSERT INTO `sys_user_role` VALUES (95, 2);
INSERT INTO `sys_user_role` VALUES (96, 2);
INSERT INTO `sys_user_role` VALUES (97, 2);
INSERT INTO `sys_user_role` VALUES (98, 2);
INSERT INTO `sys_user_role` VALUES (99, 2);
INSERT INTO `sys_user_role` VALUES (100, 2);
INSERT INTO `sys_user_role` VALUES (101, 2);
INSERT INTO `sys_user_role` VALUES (102, 2);
INSERT INTO `sys_user_role` VALUES (103, 2);
INSERT INTO `sys_user_role` VALUES (104, 2);
INSERT INTO `sys_user_role` VALUES (105, 2);
INSERT INTO `sys_user_role` VALUES (106, 2);
INSERT INTO `sys_user_role` VALUES (107, 2);
INSERT INTO `sys_user_role` VALUES (108, 2);
INSERT INTO `sys_user_role` VALUES (109, 2);
INSERT INTO `sys_user_role` VALUES (110, 2);
INSERT INTO `sys_user_role` VALUES (111, 2);
INSERT INTO `sys_user_role` VALUES (112, 2);
INSERT INTO `sys_user_role` VALUES (113, 2);
INSERT INTO `sys_user_role` VALUES (114, 2);
INSERT INTO `sys_user_role` VALUES (115, 2);
INSERT INTO `sys_user_role` VALUES (116, 2);
INSERT INTO `sys_user_role` VALUES (117, 2);
INSERT INTO `sys_user_role` VALUES (118, 2);
INSERT INTO `sys_user_role` VALUES (119, 2);
INSERT INTO `sys_user_role` VALUES (120, 2);
INSERT INTO `sys_user_role` VALUES (121, 2);
INSERT INTO `sys_user_role` VALUES (122, 2);
INSERT INTO `sys_user_role` VALUES (123, 2);
INSERT INTO `sys_user_role` VALUES (124, 2);
INSERT INTO `sys_user_role` VALUES (125, 2);
INSERT INTO `sys_user_role` VALUES (126, 2);
INSERT INTO `sys_user_role` VALUES (127, 2);
INSERT INTO `sys_user_role` VALUES (128, 2);
INSERT INTO `sys_user_role` VALUES (129, 2);
INSERT INTO `sys_user_role` VALUES (130, 2);
INSERT INTO `sys_user_role` VALUES (131, 2);
INSERT INTO `sys_user_role` VALUES (132, 2);
INSERT INTO `sys_user_role` VALUES (133, 2);
INSERT INTO `sys_user_role` VALUES (134, 2);
INSERT INTO `sys_user_role` VALUES (135, 2);
INSERT INTO `sys_user_role` VALUES (136, 2);
INSERT INTO `sys_user_role` VALUES (137, 2);
INSERT INTO `sys_user_role` VALUES (138, 2);
INSERT INTO `sys_user_role` VALUES (139, 2);
INSERT INTO `sys_user_role` VALUES (140, 2);
INSERT INTO `sys_user_role` VALUES (141, 2);
INSERT INTO `sys_user_role` VALUES (142, 2);
INSERT INTO `sys_user_role` VALUES (143, 2);
INSERT INTO `sys_user_role` VALUES (144, 2);
INSERT INTO `sys_user_role` VALUES (145, 2);
INSERT INTO `sys_user_role` VALUES (146, 2);
INSERT INTO `sys_user_role` VALUES (147, 2);
INSERT INTO `sys_user_role` VALUES (148, 2);
INSERT INTO `sys_user_role` VALUES (149, 2);
INSERT INTO `sys_user_role` VALUES (150, 2);

SET FOREIGN_KEY_CHECKS = 1;
