-- 设置字符集
SET NAMES utf8mb4;
SET CHARACTER SET utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

truncate table `sys_dept`;
INSERT INTO `sys_dept` VALUES (100, 0, '0', '北京融硕智汇科技', 0, 'CEO', '13520830938', 'info@rszhihui.com', '0', '0', 'admin', '2025-04-11 13:51:33', '', NULL);
INSERT INTO `sys_dept` VALUES (101, 100, '0,100', '北京总公司', 1, '总经理', '13520830938', 'info@rszhihui.com', '0', '0', 'admin', '2025-04-11 13:51:33', '', NULL);
INSERT INTO `sys_dept` VALUES (102, 100, '0,100', '新乡分公司', 2, '总经理', '13837313963', 'info@rszhihui.com', '0', '0', 'admin', '2025-04-11 13:51:33', '', NULL);
INSERT INTO `sys_dept` VALUES (103, 101, '0,100,101', '研发部门', 1, '经理', '13837313963', 'info@rszhihui.com', '0', '0', 'admin', '2025-04-11 13:51:33', '', NULL);
INSERT INTO `sys_dept` VALUES (104, 101, '0,100,101', '市场部门', 2, '经理', '13837313963', 'info@rszhihui.com', '0', '0', 'admin', '2025-04-11 13:51:33', '', NULL);
INSERT INTO `sys_dept` VALUES (105, 101, '0,100,101', '测试部门', 3, '经理', '13837313963', 'info@rszhihui.com', '0', '0', 'admin', '2025-04-11 13:51:33', '', NULL);
INSERT INTO `sys_dept` VALUES (106, 101, '0,100,101', '财务部门', 4, '经理', '13837313963', 'info@rszhihui.com', '0', '0', 'admin', '2025-04-11 13:51:33', '', NULL);
INSERT INTO `sys_dept` VALUES (107, 101, '0,100,101', '运维部门', 5, '经理', '13837313963', 'info@rszhihui.com', '0', '0', 'admin', '2025-04-11 13:51:33', '', NULL);
INSERT INTO `sys_dept` VALUES (108, 102, '0,100,102', '市场部门', 1, '经理', '13837313963', 'info@rszhihui.com', '0', '0', 'admin', '2025-04-11 13:51:33', '', NULL);
INSERT INTO `sys_dept` VALUES (109, 102, '0,100,102', '财务部门', 2, '若依', '13837313963', 'info@rszhihui.com', '0', '0', 'admin', '2025-04-11 13:51:33', '', NULL);

truncate table `sys_job`;
INSERT INTO `sys_job` VALUES (1, '系统默认（无参）', 'DEFAULT', 'ryTask.ryNoParams', '0/10 * * * * ?', '3', '1', '1', 'admin', '2025-04-11 13:51:41', '', NULL, '');
INSERT INTO `sys_job` VALUES (2, '系统默认（有参）', 'DEFAULT', 'ryTask.ryParams(\'ry\')', '0/15 * * * * ?', '3', '1', '1', 'admin', '2025-04-11 13:51:41', '', NULL, '');
INSERT INTO `sys_job` VALUES (3, '系统默认（多参）', 'DEFAULT', 'ryTask.ryMultipleParams(\'ry\', true, 2000L, 316.50D, 100)', '0/20 * * * * ?', '3', '1', '1', 'admin', '2025-04-11 13:51:41', '', NULL, '');
INSERT INTO `sys_job` VALUES (100, '携程订单', 'DEFAULT', 'orderRobot.xiecheng', '0 */10 * * * ?', '1', '1', '1', 'admin', '2024-07-19 02:30:34', 'admin', '2026-03-08 11:10:49', '执行频率');
INSERT INTO `sys_job` VALUES (101, '同程订单', 'DEFAULT', 'orderRobot.tongcheng', '0 */20 * * * ?', '1', '1', '1', 'admin', '2024-07-19 02:31:46', 'admin', '2025-04-11 16:23:19', '执行频率20分钟');
INSERT INTO `sys_job` VALUES (103, '同城退单', 'DEFAULT', 'refundRobot.tongtui', '0 */10 * * * ?', '1', '0', '1', 'admin', '2024-10-03 22:56:17', 'admin', '2025-04-11 16:23:30', '同城退单10分钟同期');
INSERT INTO `sys_job` VALUES (104, '同城改期', 'DEFAULT', 'changeRobot.tonggai', '0 */10 * * * ?', '1', '0', '1', 'admin', '2024-10-06 00:04:25', 'admin', '2025-04-11 16:23:36', '同城改期10分钟周期');


truncate table `sys_role`;
INSERT INTO `sys_role` VALUES (1, '超级管理员', 'admin', 1, '1', 1, 1, '0', '0', 'admin', '2025-04-11 13:51:34', '', NULL, '超级管理员');
INSERT INTO `sys_role` VALUES (2, '普通角色', 'common', 2, '2', 1, 1, '0', '0', 'admin', '2025-04-11 13:51:34', '', NULL, '普通角色');
INSERT INTO `sys_role` VALUES (3, '技术角色', 'techrole', 3, '3', 0, 0, '0', '0', 'admin', '2026-03-05 09:13:39', 'admin', '2026-03-24 21:08:13', NULL);
INSERT INTO `sys_role` VALUES (4, '销售角色', 'sale', 4, '3', 0, 0, '0', '0', 'admin', '2026-03-05 09:14:12', 'admin', '2026-04-06 23:11:09', NULL);

truncate table `sys_menu`;
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `route_name`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES
-- 一级菜单
(1, '系统管理', 0, 9, 'system', NULL, '', '', 1, 0, 'M', '0', '0', '', 'setting', 'admin', '2024-06-08 09:48:12', 'admin', '2026-05-06 21:13:56', '系统管理目录'),
(2, '系统监控', 0, 8, 'monitor', NULL, '', '', 1, 0, 'M', '0', '0', '', 'monitor', 'admin', '2024-06-08 09:48:12', 'admin', '2025-01-14 13:44:11', '系统监控目录'),
(4, '智汇数据', 0, 10, 'data', NULL, '', '', 1, 0, 'M', '0', '0', '', 'star', 'admin', '2024-06-08 09:48:12', 'admin', '2026-05-28 11:40:43', '若依官网地址'),
(2000, '政策系统', 0, 1, 'policy', NULL, NULL, '', 1, 0, 'M', '0', '0', '', 'code', 'admin', '2024-06-09 16:45:24', 'admin', '2024-06-16 00:18:23', ''),
(2003, '订单管理', 0, 2, 'order', NULL, NULL, '', 1, 0, 'M', '0', '0', '', 'profile', 'admin', '2024-06-09 23:45:31', 'admin', '2026-05-06 21:07:58', ''),
(2006, '票务配置', 0, 7, 'setting', NULL, NULL, '', 1, 0, 'M', '0', '0', '', 'tool', 'admin', '2024-06-10 15:19:20', 'admin', '2026-05-06 21:14:26', ''),
(2014, '报表系统', 0, 5, 'report', NULL, NULL, '', 1, 0, 'M', '0', '0', '', 'fund-projection-screen', 'admin', '2024-06-16 22:21:40', 'admin', '2026-05-06 21:09:27', ''),
(2031, '销售系统', 0, 0, 'sale', NULL, NULL, '', 1, 0, 'M', '0', '0', '', 'pay-circle', 'admin', '2025-01-15 00:01:43', 'admin', '2026-05-06 21:11:12', ''),

-- 系统管理下的菜单
(100, '用户管理', 1, 3, 'user', 'system/user/index', '', '', 1, 0, 'C', '0', '0', 'system:user:list', 'user', 'admin', '2024-06-08 09:48:12', 'admin', '2024-06-13 09:08:06', '用户管理菜单'),
(101, '角色管理', 1, 2, 'role', 'system/role/index', '', '', 1, 0, 'C', '0', '0', 'system:role:list', 'usergroup-add', 'admin', '2024-06-08 09:48:12', 'admin', '2026-05-07 08:35:30', '角色管理菜单'),
(102, '菜单管理', 1, 1, 'menu', 'system/menu/index', '', '', 1, 0, 'C', '0', '0', 'system:menu:list', 'tree-table', 'admin', '2024-06-08 09:48:12', 'admin', '2024-06-13 09:07:59', '菜单管理菜单'),
(103, '部门管理', 1, 4, 'dept', 'system/dept/index', '', '', 1, 0, 'C', '0', '0', 'system:dept:list', 'apartment', 'admin', '2024-06-08 09:48:12', 'admin', '2026-05-07 08:36:03', '部门管理菜单'),
(104, '岗位管理', 1, 5, 'post', 'system/post/index', '', '', 1, 0, 'C', '0', '0', 'system:post:list', 'post', 'admin', '2024-06-08 09:48:12', '', NULL, '岗位管理菜单'),
(105, '字典管理', 1, 6, 'dict', 'system/dict/index', '', '', 1, 0, 'C', '0', '0', 'system:dict:list', 'dict', 'admin', '2024-06-08 09:48:12', '', NULL, '字典管理菜单'),
(106, '参数设置', 1, 7, 'config', 'system/config/index', '', '', 1, 0, 'C', '0', '0', 'system:config:list', 'edit', 'admin', '2024-06-08 09:48:12', '', NULL, '参数设置菜单'),
(107, '通知公告', 1, 8, 'notice', 'system/notice/index', '', '', 1, 0, 'C', '0', '0', 'system:notice:list', 'message', 'admin', '2024-06-08 09:48:12', '', NULL, '通知公告菜单'),
(108, '日志管理', 1, 9, 'log', '', '', '', 1, 0, 'M', '0', '0', '', 'history', 'admin', '2024-06-08 09:48:12', 'admin', '2026-05-07 08:34:33', '日志管理菜单'),
(3, '系统工具', 1, 8, 'tool', NULL, '', '', 1, 0, 'M', '0', '0', '', 'tool', 'admin', '2024-06-08 09:48:12', 'admin', '2026-05-07 08:21:36', '系统工具目录'),

-- 系统监控下的菜单
(109, '在线用户', 2, 1, 'online', 'monitor/online/index', '', '', 1, 0, 'C', '0', '0', 'monitor:online:list', 'online', 'admin', '2024-06-08 09:48:12', '', NULL, '在线用户菜单'),
(110, '定时任务', 2, 2, 'job', 'monitor/job/index', '', '', 1, 0, 'C', '0', '0', 'monitor:job:list', 'job', 'admin', '2024-06-08 09:48:12', '', NULL, '定时任务菜单'),
(111, '数据监控', 2, 3, 'druid', 'monitor/druid/index', '', '', 1, 0, 'C', '0', '0', 'monitor:druid:list', 'druid', 'admin', '2024-06-08 09:48:12', '', NULL, '数据监控菜单'),
(112, '服务监控', 2, 4, 'server', 'monitor/server/index', '', '', 1, 0, 'C', '0', '0', 'monitor:server:list', 'server', 'admin', '2024-06-08 09:48:12', '', NULL, '服务监控菜单'),
(113, '缓存监控', 2, 5, 'cache', 'monitor/cache/index', '', '', 1, 0, 'C', '0', '0', 'monitor:cache:list', 'redis', 'admin', '2024-06-08 09:48:12', '', NULL, '缓存监控菜单'),
(114, '缓存列表', 2, 6, 'cacheList', 'monitor/cache/list', '', '', 1, 0, 'C', '0', '0', 'monitor:cache:list', 'redis-list', 'admin', '2024-06-08 09:48:12', '', NULL, '缓存列表菜单'),

-- 系统工具下的菜单
(115, '表单构建', 3, 1, 'build', 'tool/build/index', '', '', 1, 0, 'C', '0', '0', 'tool:build:list', 'build', 'admin', '2024-06-08 09:48:12', '', NULL, '表单构建菜单'),
(116, '代码生成', 3, 2, 'gen', 'tool/gen/index', '', '', 1, 0, 'C', '0', '0', 'tool:gen:list', 'code', 'admin', '2024-06-08 09:48:12', '', NULL, '代码生成菜单'),
(117, '系统接口', 3, 3, 'swagger', 'tool/swagger/index', '', '', 1, 0, 'C', '0', '0', 'tool:swagger:list', 'swagger', 'admin', '2024-06-08 09:48:12', '', NULL, '系统接口菜单'),

-- 日志管理下的菜单
(500, '操作日志', 108, 1, 'operlog', 'monitor/operlog/index', '', '', 1, 0, 'C', '0', '0', 'monitor:operlog:list', 'form', 'admin', '2024-06-08 09:48:12', '', NULL, '操作日志菜单'),
(501, '登录日志', 108, 2, 'logininfor', 'monitor/logininfor/index', '', '', 1, 0, 'C', '0', '0', 'monitor:logininfor:list', 'logininfor', 'admin', '2024-06-08 09:48:12', '', NULL, '登录日志菜单'),

-- 政策系统下的菜单
(2001, '政策助手', 2000, 1, 'superior', 'piao/policy/superior', NULL, '', 1, 0, 'C', '0', '0', '', 'heart', 'admin', '2024-06-09 16:46:15', 'admin', '2025-04-15 16:16:55', ''),
(2010, '携程政策', 2000, 2, 'xiepolicy', 'piao/policy/xiecheng', NULL, '', 1, 0, 'C', '0', '0', '', 'code', 'admin', '2024-06-10 17:14:45', 'admin', '2024-08-16 15:03:23', ''),
(2013, '同城政策', 2000, 3, 'tongpolicy', 'piao/policy/tongcheng', NULL, '', 1, 0, 'C', '0', '0', '', '#', 'admin', '2024-06-15 23:54:48', 'admin', '2025-02-19 16:17:02', ''),
(2042, '比价助手', 2000, 1, 'price', 'piao/policy/price', NULL, '', 1, 0, 'C', '0', '0', NULL, 'transaction', 'admin', '2026-05-13 23:07:06', '', NULL, ''),

-- 政策助手下的按钮
(2002, '发现优势', 2001, 1, '', '', NULL, '', 1, 0, 'F', '0', '0', '', 'monitor', 'admin', '2024-06-09 23:10:11', 'admin', '2024-06-10 16:54:50', ''),

-- 订单管理下的菜单
(2004, '订单列表', 2003, 1, 'orderlist', 'piao/order/list', NULL, '', 1, 0, 'C', '0', '0', '', 'tree-table', 'admin', '2024-06-09 23:46:26', 'admin', '2024-06-14 17:38:15', ''),
(2011, '退款列表', 2003, 3, 'refundlist', 'piao/order/refund', NULL, '', 1, 0, 'C', '0', '0', '', 'rotate-left', 'admin', '2024-06-10 17:36:30', 'admin', '2026-05-26 15:54:21', ''),
(2012, '改期列表', 2003, 4, 'changelist', 'piao/order/change', NULL, '', 1, 0, 'C', '0', '0', '', 'interaction', 'admin', '2024-06-13 09:33:07', 'admin', '2026-05-26 15:53:44', ''),
(2025, '自动出票', 2003, 7, 'autoorder', 'piao/order/list-auto', NULL, '', 1, 0, 'C', '0', '0', '', 'robot', 'admin', '2024-06-24 13:43:37', 'admin', '2026-05-26 15:53:07', ''),
(2030, '自动退票', 2003, 8, 'autorefund', 'piao/order/refund-auto', NULL, '', 1, 0, 'C', '0', '0', '', 'robot', 'admin', '2024-12-02 12:21:44', 'admin', '2026-05-26 15:54:01', ''),

-- 订单列表下的按钮
(2005, '查询', 2004, 1, 'search', NULL, NULL, '', 1, 0, 'F', '0', '0', '', 'post', 'admin', '2024-06-10 00:12:45', 'admin', '2024-06-10 16:48:20', ''),

-- 票务配置下的菜单
(2007, '航司信息', 2006, 2, 'airlinelist', 'piao/config/airline', NULL, '', 1, 0, 'C', '0', '0', '', 'edit', 'admin', '2024-06-10 15:22:37', 'admin', '2025-02-27 17:11:58', ''),
(2008, '航线信息', 2006, 3, 'routelist', 'piao/config/route', NULL, '', 1, 0, 'C', '0', '0', '', 'edit', 'admin', '2024-06-10 15:23:54', 'admin', '2024-09-29 18:05:42', ''),
(2009, '平台信息', 2006, 4, 'platform', 'piao/config/platform', NULL, '', 1, 0, 'C', '0', '0', '', 'tree', 'admin', '2024-06-10 15:24:45', 'admin', '2024-06-10 17:53:29', ''),
(2019, '降仓配置', 2006, 6, 'cabin', 'piao/config/cabin', NULL, '', 1, 0, 'C', '0', '0', '', '#', 'admin', '2024-06-16 22:43:00', 'admin', '2024-06-30 23:59:52', ''),
(2020, '大客户', 2006, 2, 'customer', 'piao/config/customer', NULL, '', 1, 0, 'C', '0', '0', '', 'contacts', 'admin', '2024-06-16 22:44:15', 'admin', '2026-04-18 14:51:02', ''),
(2021, '支付配置', 2006, 7, 'payment', 'piao/config/payment', NULL, '', 1, 0, 'C', '0', '0', NULL, '#', 'admin', '2024-06-17 00:15:17', '', NULL, ''),
(2022, '导单配置', 2006, 3, 'ota', 'piao/config/ota', NULL, '', 1, 0, 'C', '0', '0', '', '#', 'admin', '2024-06-17 23:53:04', 'admin', '2025-02-27 17:12:07', ''),
(2023, '出票渠道', 2006, 3, 'channel', 'piao/config/channel', NULL, '', 1, 0, 'C', '0', '0', '', '#', 'admin', '2024-06-17 23:54:08', 'admin', '2025-02-27 17:12:16', ''),
(2028, '航班列表', 2006, 3, 'flightlist', 'piao/config/flight', NULL, '', 1, 0, 'C', '0', '0', '', 'block', 'admin', '2024-09-29 18:18:52', 'admin', '2026-04-18 14:51:21', ''),
(2029, '规则列表', 2006, 3, 'rulelist', 'piao/config/rule', NULL, '', 1, 0, 'M', '0', '0', '', 'tree-table', 'admin', '2024-10-18 11:10:21', 'admin', '2025-04-12 02:45:11', ''),

-- 报表系统下的菜单
(2015, '出票统计', 2014, 1, 'orderreport', 'piao/report/order', NULL, '', 1, 0, 'C', '0', '0', '', '#', 'admin', '2024-06-16 22:26:47', 'admin', '2024-06-25 23:10:15', ''),
(2017, '利润汇总', 2014, 2, 'profit', 'piao/report/profit', NULL, '', 1, 0, 'C', '0', '0', '', '#', 'admin', '2024-06-16 22:37:47', 'admin', '2026-04-16 08:23:34', ''),
(2018, '结算管理', 2014, 3, 'settle', 'piao/report/settle', NULL, '', 1, 0, 'C', '0', '0', '', '#', 'admin', '2024-06-16 22:40:30', 'admin', '2026-04-16 09:34:59', ''),
(2024, '人员统计', 2014, 4, 'people', 'piao/report/people', NULL, '', 1, 0, 'C', '0', '0', '', '#', 'admin', '2024-06-22 14:50:53', 'admin', '2026-04-16 09:34:39', ''),
(2016, '业绩统计', 2014, 5, 'achievement', 'piao/report/achievement', NULL, '', 1, 0, 'C', '0', '0', '', '#', 'admin', '2024-06-16 22:34:02', 'admin', '2026-04-16 09:34:28', ''),

-- 出票统计下的按钮
(2026, '导出统计', 2015, 1, '', NULL, NULL, '', 1, 0, 'F', '0', '0', 'piao:reportorder:export', '#', 'admin', '2024-09-18 14:21:07', '', NULL, '导出订单统计信息'),
(2027, '报表订单查询', 2015, 1, '', NULL, NULL, '', 1, 0, 'F', '0', '0', 'piao:reportorder:search', '#', 'admin', '2024-09-18 14:27:22', '', NULL, ''),

-- 销售系统下的菜单
(2032, '航班预定', 2031, 1, 'booking', 'piao/sale/booking', NULL, '', 1, 0, 'C', '0', '0', '', 'button', 'admin', '2025-01-15 00:02:48', 'admin', '2025-03-30 13:31:11', ''),
(2033, '需求列表', 2031, 2, 'salelist', 'piao/sale/list', NULL, '', 1, 0, 'C', '0', '0', '', 'block', 'admin', '2025-03-30 13:34:36', 'admin', '2026-05-06 15:10:13', ''),
(2035, '同程票价', 2031, 3, 'tongprice', 'piao/sale/list-tong', NULL, '', 1, 0, 'C', '0', '0', NULL, 'bell', 'admin', '2025-04-13 10:53:02', '', NULL, ''),
(2034, '优惠机票', 2031, 1, 'airfly', 'piao/sale/airfly', NULL, '', 1, 0, 'C', '1', '1', '', 'smile', 'admin', '2025-04-13 07:13:24', 'admin', '2026-05-06 13:56:59', ''),

-- 智汇数据下的菜单
(2043, '爬虫任务', 4, 1, 'crawl', 'piao/data/crawl', NULL, '', 1, 0, 'C', '0', '0', '', 'database', 'admin', '2026-05-28 11:22:34', 'admin', '2026-05-28 16:25:49', '');


truncate table `sys_role_menu`;
-- 角色 2 的菜单权限
    INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES
                (2, 1), (2, 2), (2, 3), (2, 4), (2, 100), (2, 101), (2, 102), (2, 103), (2, 104),
                (2, 105), (2, 106), (2, 107), (2, 108), (2, 109), (2, 110), (2, 111), (2, 112),
                (2, 113), (2, 114), (2, 115), (2, 116), (2, 117), (2, 500), (2, 501), (2, 1000),
                (2, 1001), (2, 1002), (2, 1003), (2, 1004), (2, 1005), (2, 1006), (2, 1007),
                (2, 1008), (2, 1009), (2, 1010), (2, 1011), (2, 1012), (2, 1013), (2, 1014),
                (2, 1015), (2, 1016), (2, 1017), (2, 1018), (2, 1019), (2, 1020), (2, 1021),
                (2, 1022), (2, 1023), (2, 1024), (2, 1025), (2, 1026), (2, 1027), (2, 1028),
                (2, 1029), (2, 1030), (2, 1031), (2, 1032), (2, 1033), (2, 1034), (2, 1035),
                (2, 1036), (2, 1037), (2, 1038), (2, 1039), (2, 1040), (2, 1041), (2, 1042),
                (2, 1043), (2, 1044), (2, 1045), (2, 1046), (2, 1047), (2, 1048), (2, 1049),
                (2, 1050), (2, 1051), (2, 1052), (2, 1053), (2, 1054), (2, 1055), (2, 1056),
                (2, 1057), (2, 1058), (2, 1059), (2, 1060);

-- 角色 3 的菜单权限
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES
               (3, 2), (3, 4), (3, 109), (3, 110), (3, 111), (3, 112), (3, 113), (3, 114),
               (3, 1046), (3, 1047), (3, 1048), (3, 1049), (3, 1050), (3, 1051), (3, 1052),
               (3, 1053), (3, 1054), (3, 2000), (3, 2001), (3, 2002), (3, 2003), (3, 2004),
               (3, 2005), (3, 2006), (3, 2007), (3, 2008), (3, 2009), (3, 2010), (3, 2011),
               (3, 2012), (3, 2013), (3, 2014), (3, 2015), (3, 2016), (3, 2017), (3, 2018),
               (3, 2019), (3, 2020), (3, 2021), (3, 2022), (3, 2023), (3, 2024), (3, 2025),
               (3, 2026), (3, 2027), (3, 2028), (3, 2029), (3, 2030);

-- 角色 4 的菜单权限
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES
               (4, 2003), (4, 2004), (4, 2005), (4, 2011), (4, 2012), (4, 2025), (4, 2030),
               (4, 2031), (4, 2032), (4, 2033), (4, 2034), (4, 2035);

truncate table `sys_user`;
INSERT INTO `sys_user` VALUES (1, 103, 'admin', '常军强', '00', '344656718@qq.com', '13520830938', '0', '/profile/avatar/2025-04-12/1527155022844_20250412002436A001.jpg', '$2a$10$dNiVc4PA1gX7LHz5f1Y1gO./RHMNTNYaNf5D/1J6w5.cw7Zau8p3C', '0', '0', '223.88.107.31', sysdate(), sysdate(), 'admin', sysdate(), '', null, '管理员');
INSERT INTO `sys_user` VALUES (2, 105, 'zhihui', '智汇票务员', '00', 'zhihui@qq.com', '15666666666', '1', '/images/defaultavatar.png', '$2a$10$[REDACTED]', '0', '0', '127.0.0.1', sysdate(), sysdate(), 'admin', sysdate(), '', null, '管理员');
INSERT INTO `sys_user` VALUES (3, 102, 'lizikang', '李梓康', '00', '', '', '0', '', '$2a$10$EypsMFjMJTAO5cgUmVd2HeAqBx/5U/jltXw8H25dfHjDbq2eqE7NW', '0', '0', '42.229.70.66', sysdate(), sysdate(), 'admin', sysdate(), '', null, '管理员');
INSERT INTO `sys_user` VALUES (4, 102, 'guohao', '郭豪', '00', '515210848@qq.com', '15670590335', '0', '', '$2a$10$tYac19iPk/7XmWIMB.WPxuyAEH/UHcIrcuOivqhBqqYpQ3uCqrwVW', '0', '0', '42.226.8.138', sysdate(), sysdate(), 'admin', sysdate(), '', null, '管理员');
INSERT INTO `sys_user` VALUES (5, 102, 'shuangfang', '双方', '00', '', '', '0', '', '$2a$10$gGZur5c.HCt4dDWoSRf8K.WJQvXD.XMxlKKq94pDR7D66FOS/plGa', '0', '0', '223.88.108.80', sysdate(), sysdate(), 'admin', sysdate(), '', null, '管理员');
INSERT INTO `sys_user` VALUES (6, 108, 'zhangyang', '张洋', '00', '', '', '0', '', '$2a$10$Sm7loHUoHbFFKLBYKMYz/eVZKVBuwGwrKU7qE9qVY5d0HqJvbyjf6', '0', '0', '59.152.38.195', sysdate(), sysdate(), 'admin', sysdate(), '', null, '管理员');
INSERT INTO `sys_user` VALUES (7, 109, 'zhaoting', '赵婷', '00', '', '15137323323', '1', '', '$2a$10$rlruoOZEDU5joZ4StIAfK.GXrzqaooN2bDljpqNWzNxBA7YieY2pq', '0', '0', '223.88.107.89', sysdate(), sysdate(), 'admin', sysdate(), '', null, '管理员');

truncate table `sys_user_post`;
INSERT INTO `sys_user_post` VALUES (1, 1);
INSERT INTO `sys_user_post` VALUES (2, 2);
INSERT INTO `sys_user_post` VALUES (3, 2);
INSERT INTO `sys_user_post` VALUES (4, 2);
INSERT INTO `sys_user_post` VALUES (5, 2);
INSERT INTO `sys_user_post` VALUES (6, 2);
INSERT INTO `sys_user_post` VALUES (7, 1);
INSERT INTO `sys_user_post` VALUES (7, 2);

truncate table `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 (3, 3);
INSERT INTO `sys_user_role` VALUES (4, 4);
INSERT INTO `sys_user_role` VALUES (5, 4);
INSERT INTO `sys_user_role` VALUES (6, 4);
INSERT INTO `sys_user_role` VALUES (7, 4);

SET FOREIGN_KEY_CHECKS = 0;