提交 | 用户 | 时间
|
1ac2bc
|
1 |
SET NAMES utf8mb4; |
懒 |
2 |
SET FOREIGN_KEY_CHECKS = 0; |
|
3 |
|
|
4 |
-- ---------------------------- |
|
5 |
-- Table structure for oauth_user_info |
|
6 |
-- ---------------------------- |
|
7 |
DROP TABLE IF EXISTS `oauth_user_info`; |
|
8 |
CREATE TABLE `oauth_user_info` ( |
|
9 |
`oauth_id` bigint(20) NOT NULL COMMENT '主键id', |
|
10 |
`user_id` bigint(20) NOT NULL COMMENT '用户主键id', |
|
11 |
`nick_name` varchar(255) DEFAULT NULL COMMENT '昵称', |
|
12 |
`avatar` varchar(500) DEFAULT NULL COMMENT '头像', |
|
13 |
`blog` varchar(255) DEFAULT NULL COMMENT '用户网址', |
|
14 |
`company` varchar(255) DEFAULT NULL COMMENT '所在公司', |
|
15 |
`location` varchar(255) DEFAULT NULL COMMENT '位置', |
|
16 |
`email` varchar(255) DEFAULT NULL COMMENT '邮箱', |
|
17 |
`remark` varchar(255) DEFAULT NULL COMMENT '用户备注(各平台中的用户个人介绍)', |
|
18 |
`gender` int(11) DEFAULT NULL COMMENT '性别,1-男,0-女', |
|
19 |
`source` varchar(255) DEFAULT NULL COMMENT '用户来源', |
|
20 |
`token` varchar(255) DEFAULT NULL COMMENT '用户授权的token', |
|
21 |
`uuid` varchar(255) DEFAULT NULL COMMENT '第三方平台的用户唯一di', |
|
22 |
`create_time` datetime DEFAULT NULL COMMENT '创建时间', |
|
23 |
`create_user` bigint(20) DEFAULT NULL COMMENT '创建用户', |
|
24 |
`update_time` datetime DEFAULT NULL COMMENT '更新时间', |
|
25 |
`update_user` bigint(20) DEFAULT NULL COMMENT '更新用户', |
|
26 |
PRIMARY KEY (`oauth_id`) USING BTREE |
|
27 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='第三方用户信息表'; |
|
28 |
|
|
29 |
-- ---------------------------- |
|
30 |
-- Table structure for sys_dept |
|
31 |
-- ---------------------------- |
|
32 |
DROP TABLE IF EXISTS `sys_dept`; |
|
33 |
CREATE TABLE `sys_dept` ( |
|
34 |
`dept_id` bigint(20) NOT NULL COMMENT '主键id', |
|
35 |
`pid` bigint(20) DEFAULT '0' COMMENT '父部门id', |
|
36 |
`pids` varchar(512) DEFAULT '' COMMENT '父级ids', |
|
37 |
`simple_name` varchar(45) DEFAULT NULL COMMENT '简称', |
|
38 |
`full_name` varchar(255) DEFAULT NULL COMMENT '全称', |
|
39 |
`description` varchar(255) DEFAULT NULL COMMENT '描述', |
|
40 |
`version` int(11) DEFAULT NULL COMMENT '版本(乐观锁保留字段)', |
|
41 |
`sort` int(11) DEFAULT NULL COMMENT '排序', |
|
42 |
`create_time` datetime DEFAULT NULL COMMENT '创建时间', |
|
43 |
`update_time` datetime DEFAULT NULL COMMENT '修改时间', |
|
44 |
`create_user` bigint(20) DEFAULT NULL COMMENT '创建人', |
|
45 |
`update_user` bigint(20) DEFAULT NULL COMMENT '修改人', |
|
46 |
PRIMARY KEY (`dept_id`) USING BTREE |
|
47 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='部门表'; |
|
48 |
|
|
49 |
-- ---------------------------- |
|
50 |
-- Records of sys_dept |
|
51 |
-- ---------------------------- |
|
52 |
BEGIN; |
|
53 |
INSERT INTO `sys_dept` VALUES (24, 0, '[0],', '总公司', '总公司', '', NULL, 1, NULL, NULL, NULL, NULL); |
|
54 |
INSERT INTO `sys_dept` VALUES (25, 24, '[0],[24],', '开发部', '开发部', '', NULL, 2, NULL, NULL, NULL, NULL); |
|
55 |
INSERT INTO `sys_dept` VALUES (26, 24, '[0],[24],', '运营部', '运营部', '', NULL, 3, NULL, NULL, NULL, NULL); |
|
56 |
INSERT INTO `sys_dept` VALUES (27, 24, '[0],[24],', '战略部', '战略部', '', NULL, 4, NULL, NULL, NULL, NULL); |
|
57 |
COMMIT; |
|
58 |
|
|
59 |
-- ---------------------------- |
|
60 |
-- Table structure for sys_dict |
|
61 |
-- ---------------------------- |
|
62 |
DROP TABLE IF EXISTS `sys_dict`; |
|
63 |
CREATE TABLE `sys_dict` ( |
|
64 |
`dict_id` bigint(20) NOT NULL COMMENT '字典id', |
|
65 |
`dict_type_id` bigint(20) NOT NULL COMMENT '所属字典类型的id', |
|
66 |
`code` varchar(50) NOT NULL COMMENT '字典编码', |
|
67 |
`name` varchar(255) NOT NULL COMMENT '字典名称', |
|
68 |
`parent_id` bigint(20) NOT NULL COMMENT '上级代码id', |
|
69 |
`parent_ids` varchar(255) DEFAULT NULL COMMENT '所有上级id', |
|
70 |
`status` varchar(10) NOT NULL DEFAULT 'ENABLE' COMMENT '状态(字典)', |
|
71 |
`sort` int(11) DEFAULT NULL COMMENT '排序', |
|
72 |
`description` varchar(1000) DEFAULT NULL COMMENT '字典的描述', |
|
73 |
`create_time` datetime DEFAULT NULL COMMENT '创建时间', |
|
74 |
`update_time` datetime DEFAULT NULL COMMENT '更新时间', |
|
75 |
`create_user` bigint(20) DEFAULT NULL COMMENT '创建人', |
|
76 |
`update_user` bigint(20) DEFAULT NULL COMMENT '修改人', |
|
77 |
PRIMARY KEY (`dict_id`) USING BTREE |
|
78 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='基础字典'; |
|
79 |
|
|
80 |
-- ---------------------------- |
|
81 |
-- Records of sys_dict |
|
82 |
-- ---------------------------- |
|
83 |
BEGIN; |
|
84 |
INSERT INTO `sys_dict` VALUES (1106120532442595330, 1106120208097067009, 'M', '男', 0, '[0]', 'ENABLE', NULL, '', '2019-03-14 17:11:00', NULL, 1, NULL); |
|
85 |
INSERT INTO `sys_dict` VALUES (1106120574163337218, 1106120208097067009, 'F', '女', 0, '[0]', 'ENABLE', NULL, '', '2019-03-14 17:11:10', NULL, 1, NULL); |
|
86 |
INSERT INTO `sys_dict` VALUES (1106120645697191938, 1106120265689055233, 'ENABLE', '启用', 0, '[0]', 'ENABLE', NULL, '', '2019-03-14 17:11:27', NULL, 1, NULL); |
|
87 |
INSERT INTO `sys_dict` VALUES (1106120699468169217, 1106120265689055233, 'DISABLE', '禁用', 0, '[0]', 'ENABLE', NULL, '', '2019-03-14 17:11:40', NULL, 1, NULL); |
|
88 |
INSERT INTO `sys_dict` VALUES (1106120784318939137, 1106120322450571266, 'ENABLE', '启用', 0, '[0]', 'ENABLE', NULL, '', '2019-03-14 17:12:00', NULL, 1, NULL); |
|
89 |
INSERT INTO `sys_dict` VALUES (1106120825993543682, 1106120322450571266, 'FREEZE', '冻结', 0, '[0]', 'ENABLE', 1, '', '2019-03-14 17:12:10', '2019-03-16 10:56:36', 1, 1); |
|
90 |
INSERT INTO `sys_dict` VALUES (1106120875872206849, 1106120322450571266, 'DELETED', '已删除', 0, '[0]', 'ENABLE', -1221, '', '2019-03-14 17:12:22', '2019-03-16 10:56:53', 1, 1); |
|
91 |
INSERT INTO `sys_dict` VALUES (1106120935070613505, 1106120388036902914, 'Y', '删除', 0, '[0]', 'ENABLE', 23333, '', '2019-03-14 17:12:36', '2019-03-16 10:58:53', 1, 1); |
|
92 |
INSERT INTO `sys_dict` VALUES (1106120968910258177, 1106120388036902914, 'N', '未删除', 0, '[0]', 'ENABLE', 1212211221, '', '2019-03-14 17:12:44', '2019-03-16 10:59:03', 1, 1); |
|
93 |
INSERT INTO `sys_dict` VALUES (1149218674746355713, 1149217131989069826, 'BASE_SYSTEM', '系统管理', 0, '[0]', 'ENABLE', 1, '系统管理平台', '2019-07-11 15:27:38', '2019-07-11 20:27:14', 1, 1); |
|
94 |
INSERT INTO `sys_dict` VALUES (1160533174626959361, 1160532704105742337, '00101', '办公审批', 0, '[0]', 'ENABLE', 10, '', '2019-08-11 20:47:25', NULL, 1, NULL); |
|
95 |
INSERT INTO `sys_dict` VALUES (1160533264645111810, 1160532704105742337, '00102', '行政审批', 0, '[0]', 'ENABLE', 20, '', '2019-08-11 20:47:47', NULL, 1, NULL); |
|
96 |
INSERT INTO `sys_dict` VALUES (1160533377727741954, 1160532775455047681, 'KEY_LEAVE', '请假流程标识', 0, '[0]', 'ENABLE', 10, '', '2019-08-11 20:48:14', NULL, 1, NULL); |
|
97 |
INSERT INTO `sys_dict` VALUES (1160533455343337474, 1160532775455047681, 'KEY_FINANCE', '财务流程标识', 0, '[0]', 'ENABLE', 20, '', '2019-08-11 20:48:32', NULL, 1, NULL); |
|
98 |
INSERT INTO `sys_dict` VALUES (1160533574843252737, 1160532886713155585, '00401', '事假', 0, '[0]', 'ENABLE', 10, '', '2019-08-11 20:49:01', NULL, 1, NULL); |
|
99 |
INSERT INTO `sys_dict` VALUES (1160533625615302658, 1160532886713155585, '00402', '婚假', 0, '[0]', 'ENABLE', 20, '', '2019-08-11 20:49:13', NULL, 1, NULL); |
|
100 |
INSERT INTO `sys_dict` VALUES (1160533707215486977, 1160532886713155585, '00403', '产假', 0, '[0]', 'ENABLE', 30, '', '2019-08-11 20:49:32', NULL, 1, NULL); |
|
101 |
INSERT INTO `sys_dict` VALUES (1160533765403066370, 1160532886713155585, '00404', '病假', 0, '[0]', 'ENABLE', 40, '', '2019-08-11 20:49:46', NULL, 1, NULL); |
|
102 |
INSERT INTO `sys_dict` VALUES (1160533863834992641, 1160532886713155585, '00405', '公假', 0, '[0]', 'ENABLE', 50, '', '2019-08-11 20:50:09', NULL, 1, NULL); |
|
103 |
INSERT INTO `sys_dict` VALUES (1160533945309347841, 1160532886713155585, '00406', '年假', 0, '[0]', 'ENABLE', 60, '', '2019-08-11 20:50:29', NULL, 1, NULL); |
|
104 |
INSERT INTO `sys_dict` VALUES (1160534007389241346, 1160532886713155585, '00407', '其他', 0, '[0]', 'ENABLE', 70, '', '2019-08-11 20:50:44', NULL, 1, NULL); |
|
105 |
COMMIT; |
|
106 |
|
|
107 |
-- ---------------------------- |
|
108 |
-- Table structure for sys_dict_type |
|
109 |
-- ---------------------------- |
|
110 |
DROP TABLE IF EXISTS `sys_dict_type`; |
|
111 |
CREATE TABLE `sys_dict_type` ( |
|
112 |
`dict_type_id` bigint(20) NOT NULL COMMENT '字典类型id', |
|
113 |
`code` varchar(255) NOT NULL COMMENT '字典类型编码', |
|
114 |
`name` varchar(255) NOT NULL COMMENT '字典类型名称', |
|
115 |
`description` varchar(1000) DEFAULT NULL COMMENT '字典描述', |
|
116 |
`system_flag` char(1) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '是否是系统字典,Y-是,N-否', |
|
117 |
`status` varchar(10) NOT NULL DEFAULT 'ENABLE' COMMENT '状态(字典)', |
|
118 |
`sort` int(11) DEFAULT NULL COMMENT '排序', |
|
119 |
`create_time` datetime DEFAULT NULL COMMENT '添加时间', |
|
120 |
`create_user` bigint(20) DEFAULT NULL COMMENT '创建人', |
|
121 |
`update_time` datetime DEFAULT NULL COMMENT '修改时间', |
|
122 |
`update_user` bigint(20) DEFAULT NULL COMMENT '修改人', |
|
123 |
PRIMARY KEY (`dict_type_id`) USING BTREE |
|
124 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='字典类型表'; |
|
125 |
|
|
126 |
-- ---------------------------- |
|
127 |
-- Records of sys_dict_type |
|
128 |
-- ---------------------------- |
|
129 |
BEGIN; |
|
130 |
INSERT INTO `sys_dict_type` VALUES (1106120208097067009, 'SEX', '性别', '', 'Y', 'ENABLE', 4, '2019-03-14 17:09:43', 1, NULL, NULL); |
|
131 |
INSERT INTO `sys_dict_type` VALUES (1106120265689055233, 'STATUS', '状态', '', 'Y', 'ENABLE', 3, '2019-03-14 17:09:57', 1, NULL, NULL); |
|
132 |
INSERT INTO `sys_dict_type` VALUES (1106120322450571266, 'ACCOUNT_STATUS', '账号状态', '', 'Y', 'ENABLE', 40, '2019-03-14 17:10:10', 1, '2019-08-11 20:46:38', 1); |
|
133 |
INSERT INTO `sys_dict_type` VALUES (1106120388036902914, 'DEL_FLAG', '是否删除', '', 'Y', 'ENABLE', 2, '2019-03-14 17:10:26', 1, '2019-03-27 16:26:31', 1); |
|
134 |
INSERT INTO `sys_dict_type` VALUES (1149217131989069826, 'SYSTEM_TYPE', '系统分类', '系统所有分类的维护', 'Y', 'ENABLE', 50, '2019-07-11 15:21:30', 1, '2019-08-11 20:46:47', 1); |
|
135 |
INSERT INTO `sys_dict_type` VALUES (1160532704105742337, 'FLOW_CATEGARY', '工作流分类', '工作流分类', 'Y', 'ENABLE', 60, '2019-08-11 20:45:33', 1, NULL, NULL); |
|
136 |
INSERT INTO `sys_dict_type` VALUES (1160532775455047681, 'FLOW_KEY', '工作流标识', '工作流标识', 'Y', 'ENABLE', 70, '2019-08-11 20:45:50', 1, NULL, NULL); |
|
137 |
INSERT INTO `sys_dict_type` VALUES (1160532886713155585, 'LEAVE_TYPE', '请假类型', '请假类型', 'Y', 'ENABLE', 80, '2019-08-11 20:46:17', 1, '2019-08-11 20:46:23', 1); |
|
138 |
COMMIT; |
|
139 |
|
|
140 |
-- ---------------------------- |
|
141 |
-- Table structure for sys_file_info |
|
142 |
-- ---------------------------- |
|
143 |
DROP TABLE IF EXISTS `sys_file_info`; |
|
144 |
CREATE TABLE `sys_file_info` ( |
|
145 |
`file_id` varchar(50) NOT NULL COMMENT '主键id', |
|
146 |
`file_bucket` varchar(100) DEFAULT NULL COMMENT '文件仓库(oss仓库)', |
|
147 |
`file_name` varchar(100) NOT NULL COMMENT '文件名称', |
|
148 |
`file_suffix` varchar(50) DEFAULT NULL COMMENT '文件后缀', |
|
149 |
`file_size_kb` bigint(20) DEFAULT NULL COMMENT '文件大小kb', |
|
150 |
`final_name` varchar(100) NOT NULL COMMENT '文件唯一标识id', |
|
151 |
`file_path` varchar(1000) DEFAULT NULL COMMENT '存储路径', |
|
152 |
`create_time` datetime DEFAULT NULL COMMENT '创建时间', |
|
153 |
`update_time` datetime DEFAULT NULL COMMENT '修改时间', |
|
154 |
`create_user` bigint(20) DEFAULT NULL COMMENT '创建用户', |
|
155 |
`update_user` bigint(20) DEFAULT NULL COMMENT '修改用户', |
|
156 |
PRIMARY KEY (`file_id`) USING BTREE |
|
157 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='文件信息表'; |
|
158 |
|
|
159 |
-- ---------------------------- |
|
160 |
-- Records of sys_file_info |
|
161 |
-- ---------------------------- |
|
162 |
BEGIN; |
|
163 |
INSERT INTO `sys_file_info` VALUES ('1167385745179131905', NULL, '请假流程.bpmn20.xml', 'xml', 6, '1167385745179131905.xml', '/Users/stylefeng/tmp/gunsTempFiles/1167385745179131905.xml', '2019-08-30 18:37:05', NULL, 1, NULL); |
|
164 |
COMMIT; |
|
165 |
|
|
166 |
-- ---------------------------- |
|
167 |
-- Table structure for sys_login_log |
|
168 |
-- ---------------------------- |
|
169 |
DROP TABLE IF EXISTS `sys_login_log`; |
|
170 |
CREATE TABLE `sys_login_log` ( |
|
171 |
`login_log_id` bigint(20) NOT NULL COMMENT '主键', |
|
172 |
`log_name` varchar(255) DEFAULT NULL COMMENT '日志名称', |
|
173 |
`user_id` bigint(20) DEFAULT NULL COMMENT '管理员id', |
|
174 |
`create_time` datetime DEFAULT NULL COMMENT '创建时间', |
|
175 |
`succeed` varchar(255) DEFAULT NULL COMMENT '是否执行成功', |
|
176 |
`message` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT '具体消息', |
|
177 |
`ip_address` varchar(255) DEFAULT NULL COMMENT '登录ip', |
|
178 |
PRIMARY KEY (`login_log_id`) USING BTREE |
|
179 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='登录记录'; |
|
180 |
|
|
181 |
-- ---------------------------- |
|
182 |
-- Table structure for sys_menu |
|
183 |
-- ---------------------------- |
|
184 |
DROP TABLE IF EXISTS `sys_menu`; |
|
185 |
CREATE TABLE `sys_menu` ( |
|
186 |
`menu_id` bigint(20) NOT NULL COMMENT '主键id', |
|
187 |
`code` varchar(255) DEFAULT NULL COMMENT '菜单编号', |
|
188 |
`pcode` varchar(255) DEFAULT NULL COMMENT '菜单父编号', |
|
189 |
`pcodes` varchar(255) DEFAULT NULL COMMENT '当前菜单的所有父菜单编号', |
|
190 |
`name` varchar(255) DEFAULT NULL COMMENT '菜单名称', |
|
191 |
`icon` varchar(255) DEFAULT NULL COMMENT '菜单图标', |
|
192 |
`url` varchar(255) DEFAULT NULL COMMENT 'url地址', |
|
193 |
`sort` int(65) DEFAULT NULL COMMENT '菜单排序号', |
|
194 |
`levels` int(65) DEFAULT NULL COMMENT '菜单层级', |
|
195 |
`menu_flag` varchar(32) DEFAULT NULL COMMENT '是否是菜单(字典)', |
|
196 |
`description` varchar(255) DEFAULT NULL COMMENT '备注', |
|
197 |
`status` varchar(32) DEFAULT 'ENABLE' COMMENT '菜单状态(字典)', |
|
198 |
`new_page_flag` varchar(32) DEFAULT NULL COMMENT '是否打开新页面的标识(字典)', |
|
199 |
`open_flag` varchar(32) DEFAULT NULL COMMENT '是否打开(字典)', |
|
200 |
`system_type` varchar(100) DEFAULT NULL COMMENT '系统分类(字典)', |
|
201 |
`create_time` datetime DEFAULT NULL COMMENT '创建时间', |
|
202 |
`update_time` datetime DEFAULT NULL COMMENT '修改时间', |
|
203 |
`create_user` bigint(20) DEFAULT NULL COMMENT '创建人', |
|
204 |
`update_user` bigint(20) DEFAULT NULL COMMENT '修改人', |
|
205 |
PRIMARY KEY (`menu_id`) USING BTREE |
|
206 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='菜单表'; |
|
207 |
|
|
208 |
-- ---------------------------- |
|
209 |
-- Records of sys_menu |
|
210 |
-- ---------------------------- |
|
211 |
BEGIN; |
|
212 |
INSERT INTO `sys_menu` VALUES (105, 'system', '0', '[0],', '系统管理', 'layui-icon layui-icon-set', '#', 20, 1, 'Y', NULL, 'ENABLE', NULL, '1', 'BASE_SYSTEM', NULL, '2019-03-29 16:32:27', NULL, 1); |
|
213 |
INSERT INTO `sys_menu` VALUES (106, 'mgr', 'system', '[0],[system],', '用户管理', '', '/mgr', 10, 2, 'Y', NULL, 'ENABLE', NULL, '0', 'BASE_SYSTEM', NULL, '2019-06-30 13:48:07', NULL, 1); |
|
214 |
INSERT INTO `sys_menu` VALUES (107, 'mgr_add', 'mgr', '[0],[system],[mgr],', '添加用户', NULL, '/mgr/add', 1, 3, 'N', NULL, 'ENABLE', NULL, '0', 'BASE_SYSTEM', NULL, '2019-06-30 13:48:07', NULL, 1); |
|
215 |
INSERT INTO `sys_menu` VALUES (108, 'mgr_edit', 'mgr', '[0],[system],[mgr],', '修改用户', NULL, '/mgr/edit', 2, 3, 'N', NULL, 'ENABLE', NULL, '0', 'BASE_SYSTEM', NULL, '2019-06-30 13:48:07', NULL, 1); |
|
216 |
INSERT INTO `sys_menu` VALUES (109, 'mgr_delete', 'mgr', '[0],[system],[mgr],', '删除用户', NULL, '/mgr/delete', 3, 3, 'N', NULL, 'ENABLE', NULL, '0', 'BASE_SYSTEM', NULL, '2019-06-30 13:48:07', NULL, 1); |
|
217 |
INSERT INTO `sys_menu` VALUES (110, 'mgr_reset', 'mgr', '[0],[system],[mgr],', '重置密码', NULL, '/mgr/reset', 4, 3, 'N', NULL, 'ENABLE', NULL, '0', 'BASE_SYSTEM', NULL, '2019-06-30 13:48:07', NULL, 1); |
|
218 |
INSERT INTO `sys_menu` VALUES (111, 'mgr_freeze', 'mgr', '[0],[system],[mgr],', '冻结用户', NULL, '/mgr/freeze', 5, 3, 'N', NULL, 'ENABLE', NULL, '0', 'BASE_SYSTEM', NULL, '2019-06-30 13:48:07', NULL, 1); |
|
219 |
INSERT INTO `sys_menu` VALUES (112, 'mgr_unfreeze', 'mgr', '[0],[system],[mgr],', '解除冻结用户', NULL, '/mgr/unfreeze', 6, 3, 'N', NULL, 'ENABLE', NULL, '0', 'BASE_SYSTEM', NULL, '2019-06-30 13:48:07', NULL, 1); |
|
220 |
INSERT INTO `sys_menu` VALUES (113, 'mgr_setRole', 'mgr', '[0],[system],[mgr],', '分配角色', NULL, '/mgr/setRole', 7, 3, 'N', NULL, 'ENABLE', NULL, '0', 'BASE_SYSTEM', NULL, '2019-06-30 13:48:07', NULL, 1); |
|
221 |
INSERT INTO `sys_menu` VALUES (114, 'role', 'system', '[0],[system],', '角色管理', '', '/role', 20, 2, 'Y', NULL, 'ENABLE', NULL, '0', 'BASE_SYSTEM', NULL, '2019-06-30 13:48:12', NULL, 1); |
|
222 |
INSERT INTO `sys_menu` VALUES (115, 'role_add', 'role', '[0],[system],[role],', '添加角色', NULL, '/role/add', 1, 3, 'N', NULL, 'ENABLE', NULL, '0', 'BASE_SYSTEM', NULL, '2019-06-30 13:48:12', NULL, 1); |
|
223 |
INSERT INTO `sys_menu` VALUES (116, 'role_edit', 'role', '[0],[system],[role],', '修改角色', NULL, '/role/edit', 2, 3, 'N', NULL, 'ENABLE', NULL, '0', 'BASE_SYSTEM', NULL, '2019-06-30 13:48:12', NULL, 1); |
|
224 |
INSERT INTO `sys_menu` VALUES (117, 'role_remove', 'role', '[0],[system],[role],', '删除角色', NULL, '/role/remove', 3, 3, 'N', NULL, 'ENABLE', NULL, '0', 'BASE_SYSTEM', NULL, '2019-06-30 13:48:12', NULL, 1); |
|
225 |
INSERT INTO `sys_menu` VALUES (118, 'role_setAuthority', 'role', '[0],[system],[role],', '配置权限', NULL, '/role/setAuthority', 4, 3, 'N', NULL, 'ENABLE', NULL, '0', 'BASE_SYSTEM', NULL, '2019-06-30 13:48:12', NULL, 1); |
|
226 |
INSERT INTO `sys_menu` VALUES (119, 'menu', 'system', '[0],[system],', '菜单管理', '', '/menu', 50, 2, 'Y', NULL, 'ENABLE', NULL, '0', 'BASE_SYSTEM', NULL, '2019-06-30 13:48:25', NULL, 1); |
|
227 |
INSERT INTO `sys_menu` VALUES (120, 'menu_add', 'menu', '[0],[system],[menu],', '添加菜单', NULL, '/menu/add', 1, 3, 'N', NULL, 'ENABLE', NULL, '0', 'BASE_SYSTEM', NULL, '2019-06-30 13:48:25', NULL, 1); |
|
228 |
INSERT INTO `sys_menu` VALUES (121, 'menu_edit', 'menu', '[0],[system],[menu],', '修改菜单', NULL, '/menu/edit', 2, 3, 'N', NULL, 'ENABLE', NULL, '0', 'BASE_SYSTEM', NULL, '2019-06-30 13:48:25', NULL, 1); |
|
229 |
INSERT INTO `sys_menu` VALUES (122, 'menu_remove', 'menu', '[0],[system],[menu],', '删除菜单', NULL, '/menu/remove', 3, 3, 'N', NULL, 'ENABLE', NULL, '0', 'BASE_SYSTEM', NULL, '2019-06-30 13:48:25', NULL, 1); |
|
230 |
INSERT INTO `sys_menu` VALUES (128, 'log', 'system', '[0],[system],', '业务日志', '', '/log', 70, 2, 'Y', NULL, 'ENABLE', NULL, '0', 'BASE_SYSTEM', NULL, '2019-06-30 13:48:39', NULL, 1); |
|
231 |
INSERT INTO `sys_menu` VALUES (130, 'druid', 'system', '[0],[system],', '监控管理', '', '/druid', 80, 2, 'Y', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:50:06', NULL, 1); |
|
232 |
INSERT INTO `sys_menu` VALUES (131, 'dept', 'system', '[0],[system],', '部门管理', '', '/dept', 30, 2, 'Y', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:48:53', NULL, 1); |
|
233 |
INSERT INTO `sys_menu` VALUES (132, 'dict', 'system', '[0],[system],', '字典管理', '', '/dictType', 40, 2, 'Y', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:49:04', NULL, 1); |
|
234 |
INSERT INTO `sys_menu` VALUES (133, 'loginLog', 'system', '[0],[system],', '登录日志', '', '/loginLog', 60, 2, 'Y', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:49:29', NULL, 1); |
|
235 |
INSERT INTO `sys_menu` VALUES (134, 'log_clean', 'log', '[0],[system],[log],', '清空日志', NULL, '/log/delLog', 3, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:48:39', NULL, 1); |
|
236 |
INSERT INTO `sys_menu` VALUES (135, 'dept_add', 'dept', '[0],[system],[dept],', '添加部门', NULL, '/dept/add', 1, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:48:53', NULL, 1); |
|
237 |
INSERT INTO `sys_menu` VALUES (136, 'dept_update', 'dept', '[0],[system],[dept],', '修改部门', NULL, '/dept/update', 1, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:48:53', NULL, 1); |
|
238 |
INSERT INTO `sys_menu` VALUES (137, 'dept_delete', 'dept', '[0],[system],[dept],', '删除部门', NULL, '/dept/delete', 1, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:48:53', NULL, 1); |
|
239 |
INSERT INTO `sys_menu` VALUES (138, 'dict_add', 'dict', '[0],[system],[dict],', '添加字典', NULL, '/dictType/addItem', 1, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:49:04', NULL, 1); |
|
240 |
INSERT INTO `sys_menu` VALUES (139, 'dict_update', 'dict', '[0],[system],[dict],', '修改字典', NULL, '/dictType/editItem', 1, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:49:04', NULL, 1); |
|
241 |
INSERT INTO `sys_menu` VALUES (140, 'dict_delete', 'dict', '[0],[system],[dict],', '删除字典', NULL, '/dictType/delete', 1, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:49:04', NULL, 1); |
|
242 |
INSERT INTO `sys_menu` VALUES (141, 'notice', 'system', '[0],[system],', '通知管理', '', '/notice', 90, 2, 'Y', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:49:44', NULL, 1); |
|
243 |
INSERT INTO `sys_menu` VALUES (142, 'notice_add', 'notice', '[0],[system],[notice],', '添加通知', NULL, '/notice/add', 1, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:49:44', NULL, 1); |
|
244 |
INSERT INTO `sys_menu` VALUES (143, 'notice_update', 'notice', '[0],[system],[notice],', '修改通知', NULL, '/notice/update', 2, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:49:44', NULL, 1); |
|
245 |
INSERT INTO `sys_menu` VALUES (144, 'notice_delete', 'notice', '[0],[system],[notice],', '删除通知', NULL, '/notice/delete', 3, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:49:44', NULL, 1); |
|
246 |
INSERT INTO `sys_menu` VALUES (145, 'sys_message', 'dashboard', '[0],[dashboard],', '消息通知', 'layui-icon layui-icon-tips', '/system/notice', 30, 2, 'Y', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-04-08 22:49:39', NULL, 1); |
|
247 |
INSERT INTO `sys_menu` VALUES (150, 'to_menu_edit', 'menu', '[0],[system],[menu],', '菜单编辑跳转', '', '/menu/menu_edit', 4, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:48:25', NULL, 1); |
|
248 |
INSERT INTO `sys_menu` VALUES (151, 'menu_list', 'menu', '[0],[system],[menu],', '菜单列表', '', '/menu/list', 5, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:48:25', NULL, 1); |
|
249 |
INSERT INTO `sys_menu` VALUES (152, 'to_dept_update', 'dept', '[0],[system],[dept],', '修改部门跳转', '', '/dept/dept_update', 4, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:48:53', NULL, 1); |
|
250 |
INSERT INTO `sys_menu` VALUES (153, 'dept_list', 'dept', '[0],[system],[dept],', '部门列表', '', '/dept/list', 5, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:48:53', NULL, 1); |
|
251 |
INSERT INTO `sys_menu` VALUES (154, 'dept_detail', 'dept', '[0],[system],[dept],', '部门详情', '', '/dept/detail', 6, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:48:53', NULL, 1); |
|
252 |
INSERT INTO `sys_menu` VALUES (155, 'to_dict_edit', 'dict', '[0],[system],[dict],', '修改菜单跳转', '', '/dict/dict_edit', 4, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:49:04', NULL, 1); |
|
253 |
INSERT INTO `sys_menu` VALUES (156, 'dict_list', 'dict', '[0],[system],[dict],', '字典列表', '', '/dict/list', 5, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:49:04', NULL, 1); |
|
254 |
INSERT INTO `sys_menu` VALUES (157, 'dict_detail', 'dict', '[0],[system],[dict],', '字典详情', '', '/dict/detail', 6, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:49:04', NULL, 1); |
|
255 |
INSERT INTO `sys_menu` VALUES (158, 'log_list', 'log', '[0],[system],[log],', '日志列表', '', '/log/list', 2, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:48:39', NULL, 1); |
|
256 |
INSERT INTO `sys_menu` VALUES (159, 'log_detail', 'log', '[0],[system],[log],', '日志详情', '', '/log/detail', 3, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:48:39', NULL, 1); |
|
257 |
INSERT INTO `sys_menu` VALUES (160, 'del_login_log', 'loginLog', '[0],[system],[loginLog],', '清空登录日志', '', '/loginLog/delLoginLog', 1, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:49:29', NULL, 1); |
|
258 |
INSERT INTO `sys_menu` VALUES (161, 'login_log_list', 'loginLog', '[0],[system],[loginLog],', '登录日志列表', '', '/loginLog/list', 2, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:49:29', NULL, 1); |
|
259 |
INSERT INTO `sys_menu` VALUES (162, 'to_role_edit', 'role', '[0],[system],[role],', '修改角色跳转', '', '/role/role_edit', 5, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:48:12', NULL, 1); |
|
260 |
INSERT INTO `sys_menu` VALUES (163, 'to_role_assign', 'role', '[0],[system],[role],', '角色分配跳转', '', '/role/role_assign', 6, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:48:12', NULL, 1); |
|
261 |
INSERT INTO `sys_menu` VALUES (164, 'role_list', 'role', '[0],[system],[role],', '角色列表', '', '/role/list', 7, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:48:12', NULL, 1); |
|
262 |
INSERT INTO `sys_menu` VALUES (165, 'to_assign_role', 'mgr', '[0],[system],[mgr],', '分配角色跳转', '', '/mgr/role_assign', 8, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:48:07', NULL, 1); |
|
263 |
INSERT INTO `sys_menu` VALUES (166, 'to_user_edit', 'mgr', '[0],[system],[mgr],', '编辑用户跳转', '', '/mgr/user_edit', 9, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:48:07', NULL, 1); |
|
264 |
INSERT INTO `sys_menu` VALUES (167, 'mgr_list', 'mgr', '[0],[system],[mgr],', '用户列表', '', '/mgr/list', 10, 3, 'N', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-06-30 13:48:07', NULL, 1); |
|
265 |
INSERT INTO `sys_menu` VALUES (172, 'dashboard', '0', '[0],', '主控面板', 'layui-icon layui-icon-home', '#', 10, 1, 'Y', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', NULL, '2019-04-08 22:48:15', NULL, 1); |
|
266 |
INSERT INTO `sys_menu` VALUES (1111545968697860098, 'console', 'dashboard', '[0],[dashboard],', '项目介绍', '', '/system/console', 10, 2, 'Y', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', '2019-03-29 16:29:45', '2019-04-09 20:57:08', 1, 1); |
|
267 |
INSERT INTO `sys_menu` VALUES (1111546189892870145, 'console2', 'dashboard', '[0],[dashboard],', '统计报表', '', '/system/console2', 20, 2, 'Y', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', '2019-03-29 16:30:38', '2019-04-08 22:49:48', 1, 1); |
|
268 |
INSERT INTO `sys_menu` VALUES (1144441072852684801, 'SYS_POSITION', 'system', '[0],[system],', '职位管理', 'fa-star', '/position', 35, 2, 'Y', '', 'ENABLE', '', '', 'BASE_SYSTEM', '2019-06-28 11:03:09', '2019-06-28 11:06:42', 1, 1); |
|
269 |
INSERT INTO `sys_menu` VALUES (1144441072852684802, 'SYS_POSITION_ADD', 'SYS_POSITION', '[0],[system],[SYS_POSITION],', '职位表添加', 'fa-star', '', 999, 3, 'N', '', 'ENABLE', '', '', 'BASE_SYSTEM', '2019-06-28 11:03:09', '2019-06-28 11:06:42', 1, 1); |
|
270 |
INSERT INTO `sys_menu` VALUES (1144441072852684803, 'SYS_POSITION_EDIT', 'SYS_POSITION', '[0],[system],[SYS_POSITION],', '职位表修改', 'fa-star', '', 999, 3, 'N', '', 'ENABLE', '', '', 'BASE_SYSTEM', '2019-06-28 11:03:09', '2019-06-28 11:06:42', 1, 1); |
|
271 |
INSERT INTO `sys_menu` VALUES (1144441072852684804, 'SYS_POSITION_DELETE', 'SYS_POSITION', '[0],[system],[SYS_POSITION],', '职位表删除', 'fa-star', '', 999, 3, 'N', '', 'ENABLE', '', '', 'BASE_SYSTEM', '2019-06-28 11:03:09', '2019-06-28 11:06:42', 1, 1); |
|
272 |
INSERT INTO `sys_menu` VALUES (1149955324929765378, 'system_info', 'dashboard', '[0],[dashboard],', '系统监控', 'layui-icon-star-fill', '/system/systemInfo', 40, 2, 'Y', NULL, 'ENABLE', NULL, NULL, 'BASE_SYSTEM', '2019-07-13 16:14:49', NULL, 1, NULL); |
|
273 |
COMMIT; |
|
274 |
|
|
275 |
-- ---------------------------- |
|
276 |
-- Table structure for sys_notice |
|
277 |
-- ---------------------------- |
|
278 |
DROP TABLE IF EXISTS `sys_notice`; |
|
279 |
CREATE TABLE `sys_notice` ( |
|
280 |
`notice_id` bigint(20) NOT NULL COMMENT '主键', |
|
281 |
`title` varchar(255) DEFAULT NULL COMMENT '标题', |
|
282 |
`content` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT '内容', |
|
283 |
`create_time` datetime DEFAULT NULL COMMENT '创建时间', |
|
284 |
`create_user` bigint(20) DEFAULT NULL COMMENT '创建人', |
|
285 |
`update_time` datetime DEFAULT NULL COMMENT '修改时间', |
|
286 |
`update_user` bigint(20) DEFAULT NULL COMMENT '修改人', |
|
287 |
PRIMARY KEY (`notice_id`) USING BTREE |
|
288 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='通知表'; |
|
289 |
|
|
290 |
-- ---------------------------- |
|
291 |
-- Records of sys_notice |
|
292 |
-- ---------------------------- |
|
293 |
BEGIN; |
|
294 |
INSERT INTO `sys_notice` VALUES (6, '欢迎', 'hi,Guns旗舰版发布了!', '2017-01-11 08:53:20', 1, '2018-12-28 23:24:48', 1); |
|
295 |
INSERT INTO `sys_notice` VALUES (8, '你好', '你好,世界!', '2017-05-10 19:28:57', 1, '2018-12-28 23:28:26', 1); |
|
296 |
COMMIT; |
|
297 |
|
|
298 |
-- ---------------------------- |
|
299 |
-- Table structure for sys_operation_log |
|
300 |
-- ---------------------------- |
|
301 |
DROP TABLE IF EXISTS `sys_operation_log`; |
|
302 |
CREATE TABLE `sys_operation_log` ( |
|
303 |
`operation_log_id` bigint(20) NOT NULL COMMENT '主键', |
|
304 |
`log_type` varchar(32) DEFAULT NULL COMMENT '日志类型(字典)', |
|
305 |
`log_name` varchar(255) DEFAULT NULL COMMENT '日志名称', |
|
306 |
`user_id` bigint(65) DEFAULT NULL COMMENT '用户id', |
|
307 |
`class_name` varchar(255) DEFAULT NULL COMMENT '类名称', |
|
308 |
`method` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT '方法名称', |
|
309 |
`create_time` datetime DEFAULT NULL COMMENT '创建时间', |
|
310 |
`succeed` varchar(32) DEFAULT NULL COMMENT '是否成功(字典)', |
|
311 |
`message` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT '备注', |
|
312 |
PRIMARY KEY (`operation_log_id`) USING BTREE |
|
313 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='操作日志'; |
|
314 |
|
|
315 |
-- ---------------------------- |
|
316 |
-- Table structure for sys_position |
|
317 |
-- ---------------------------- |
|
318 |
DROP TABLE IF EXISTS `sys_position`; |
|
319 |
CREATE TABLE `sys_position` ( |
|
320 |
`position_id` bigint(20) NOT NULL COMMENT '主键id', |
|
321 |
`name` varchar(50) NOT NULL COMMENT '职位名称', |
|
322 |
`code` varchar(64) NOT NULL COMMENT '职位编码', |
|
323 |
`sort` int(11) NOT NULL COMMENT '顺序', |
|
324 |
`status` varchar(100) NOT NULL DEFAULT 'ENABLE' COMMENT '状态(字典)', |
|
325 |
`remark` varchar(500) DEFAULT NULL COMMENT '备注', |
|
326 |
`create_time` datetime DEFAULT NULL COMMENT '创建时间', |
|
327 |
`update_user` bigint(20) DEFAULT NULL COMMENT '更新者', |
|
328 |
`update_time` datetime DEFAULT NULL COMMENT '更新时间', |
|
329 |
`create_user` bigint(20) DEFAULT NULL COMMENT '创建者', |
|
330 |
PRIMARY KEY (`position_id`) USING BTREE, |
|
331 |
UNIQUE KEY `CODE_UNI` (`code`) USING BTREE |
|
332 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='职位表'; |
|
333 |
|
|
334 |
-- ---------------------------- |
|
335 |
-- Records of sys_position |
|
336 |
-- ---------------------------- |
|
337 |
BEGIN; |
|
338 |
INSERT INTO `sys_position` VALUES (1, '董事长', 'President', 1, 'ENABLE', NULL, '2019-06-27 18:14:43', 1, NULL, NULL); |
|
339 |
INSERT INTO `sys_position` VALUES (2, '总经理', 'GM', 2, 'ENABLE', NULL, '2019-06-27 18:14:43', 1, NULL, NULL); |
|
340 |
COMMIT; |
|
341 |
|
|
342 |
-- ---------------------------- |
|
343 |
-- Table structure for sys_relation |
|
344 |
-- ---------------------------- |
|
345 |
DROP TABLE IF EXISTS `sys_relation`; |
|
346 |
CREATE TABLE `sys_relation` ( |
|
347 |
`relation_id` bigint(20) NOT NULL COMMENT '主键', |
|
348 |
`menu_id` bigint(20) DEFAULT NULL COMMENT '菜单id', |
|
349 |
`role_id` bigint(20) DEFAULT NULL COMMENT '角色id', |
|
350 |
PRIMARY KEY (`relation_id`) USING BTREE |
|
351 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='角色和菜单关联表'; |
|
352 |
|
|
353 |
-- ---------------------------- |
|
354 |
-- Records of sys_relation |
|
355 |
-- ---------------------------- |
|
356 |
BEGIN; |
|
357 |
INSERT INTO `sys_relation` VALUES (1184402534703558657, 105, 1); |
|
358 |
INSERT INTO `sys_relation` VALUES (1184402534711947266, 106, 1); |
|
359 |
INSERT INTO `sys_relation` VALUES (1184402534720335873, 107, 1); |
|
360 |
INSERT INTO `sys_relation` VALUES (1184402534720335874, 108, 1); |
|
361 |
INSERT INTO `sys_relation` VALUES (1184402534728724482, 109, 1); |
|
362 |
INSERT INTO `sys_relation` VALUES (1184402534737113090, 110, 1); |
|
363 |
INSERT INTO `sys_relation` VALUES (1184402534745501698, 111, 1); |
|
364 |
INSERT INTO `sys_relation` VALUES (1184402534745501699, 112, 1); |
|
365 |
INSERT INTO `sys_relation` VALUES (1184402534758084610, 113, 1); |
|
366 |
INSERT INTO `sys_relation` VALUES (1184402534766473217, 165, 1); |
|
367 |
INSERT INTO `sys_relation` VALUES (1184402534774861825, 166, 1); |
|
368 |
INSERT INTO `sys_relation` VALUES (1184402534783250433, 167, 1); |
|
369 |
INSERT INTO `sys_relation` VALUES (1184402534791639042, 114, 1); |
|
370 |
INSERT INTO `sys_relation` VALUES (1184402534800027649, 115, 1); |
|
371 |
INSERT INTO `sys_relation` VALUES (1184402534808416258, 116, 1); |
|
372 |
INSERT INTO `sys_relation` VALUES (1184402534808416259, 117, 1); |
|
373 |
INSERT INTO `sys_relation` VALUES (1184402534816804866, 118, 1); |
|
374 |
INSERT INTO `sys_relation` VALUES (1184402534825193473, 162, 1); |
|
375 |
INSERT INTO `sys_relation` VALUES (1184402534825193474, 163, 1); |
|
376 |
INSERT INTO `sys_relation` VALUES (1184402534833582081, 164, 1); |
|
377 |
INSERT INTO `sys_relation` VALUES (1184402534841970690, 119, 1); |
|
378 |
INSERT INTO `sys_relation` VALUES (1184402534850359297, 120, 1); |
|
379 |
INSERT INTO `sys_relation` VALUES (1184402534858747905, 121, 1); |
|
380 |
INSERT INTO `sys_relation` VALUES (1184402534858747906, 122, 1); |
|
381 |
INSERT INTO `sys_relation` VALUES (1184402534867136513, 150, 1); |
|
382 |
INSERT INTO `sys_relation` VALUES (1184402534875525121, 151, 1); |
|
383 |
INSERT INTO `sys_relation` VALUES (1184402534875525122, 128, 1); |
|
384 |
INSERT INTO `sys_relation` VALUES (1184402534883913729, 134, 1); |
|
385 |
INSERT INTO `sys_relation` VALUES (1184402534892302337, 158, 1); |
|
386 |
INSERT INTO `sys_relation` VALUES (1184402534900690946, 159, 1); |
|
387 |
INSERT INTO `sys_relation` VALUES (1184402534909079553, 130, 1); |
|
388 |
INSERT INTO `sys_relation` VALUES (1184402534909079554, 131, 1); |
|
389 |
INSERT INTO `sys_relation` VALUES (1184402534917468162, 135, 1); |
|
390 |
INSERT INTO `sys_relation` VALUES (1184402534925856769, 136, 1); |
|
391 |
INSERT INTO `sys_relation` VALUES (1184402534925856770, 137, 1); |
|
392 |
INSERT INTO `sys_relation` VALUES (1184402534934245378, 152, 1); |
|
393 |
INSERT INTO `sys_relation` VALUES (1184402534942633986, 153, 1); |
|
394 |
INSERT INTO `sys_relation` VALUES (1184402534942633987, 154, 1); |
|
395 |
INSERT INTO `sys_relation` VALUES (1184402534951022593, 132, 1); |
|
396 |
INSERT INTO `sys_relation` VALUES (1184402534959411202, 138, 1); |
|
397 |
INSERT INTO `sys_relation` VALUES (1184402534959411203, 139, 1); |
|
398 |
INSERT INTO `sys_relation` VALUES (1184402534967799810, 140, 1); |
|
399 |
INSERT INTO `sys_relation` VALUES (1184402534976188417, 155, 1); |
|
400 |
INSERT INTO `sys_relation` VALUES (1184402534976188418, 156, 1); |
|
401 |
INSERT INTO `sys_relation` VALUES (1184402534984577025, 157, 1); |
|
402 |
INSERT INTO `sys_relation` VALUES (1184402534992965634, 133, 1); |
|
403 |
INSERT INTO `sys_relation` VALUES (1184402535001354242, 160, 1); |
|
404 |
INSERT INTO `sys_relation` VALUES (1184402535001354243, 161, 1); |
|
405 |
INSERT INTO `sys_relation` VALUES (1184402535009742849, 141, 1); |
|
406 |
INSERT INTO `sys_relation` VALUES (1184402535018131458, 142, 1); |
|
407 |
INSERT INTO `sys_relation` VALUES (1184402535018131459, 143, 1); |
|
408 |
INSERT INTO `sys_relation` VALUES (1184402535022325762, 144, 1); |
|
409 |
INSERT INTO `sys_relation` VALUES (1184402535030714370, 1144441072852684801, 1); |
|
410 |
INSERT INTO `sys_relation` VALUES (1184402535030714371, 1144441072852684802, 1); |
|
411 |
INSERT INTO `sys_relation` VALUES (1184402535039102977, 1144441072852684803, 1); |
|
412 |
INSERT INTO `sys_relation` VALUES (1184402535047491586, 1144441072852684804, 1); |
|
413 |
INSERT INTO `sys_relation` VALUES (1184402535047491587, 172, 1); |
|
414 |
INSERT INTO `sys_relation` VALUES (1184402535055880193, 145, 1); |
|
415 |
INSERT INTO `sys_relation` VALUES (1184402535064268802, 1111545968697860098, 1); |
|
416 |
INSERT INTO `sys_relation` VALUES (1184402535072657410, 1111546189892870145, 1); |
|
417 |
INSERT INTO `sys_relation` VALUES (1184402535076851714, 1149955324929765378, 1); |
|
418 |
INSERT INTO `sys_relation` VALUES (1184402688970059778, 105, 5); |
|
419 |
INSERT INTO `sys_relation` VALUES (1184402688974254082, 132, 5); |
|
420 |
INSERT INTO `sys_relation` VALUES (1184402688982642689, 138, 5); |
|
421 |
INSERT INTO `sys_relation` VALUES (1184402688991031298, 139, 5); |
|
422 |
INSERT INTO `sys_relation` VALUES (1184402688999419905, 140, 5); |
|
423 |
INSERT INTO `sys_relation` VALUES (1184402689003614210, 155, 5); |
|
424 |
INSERT INTO `sys_relation` VALUES (1184402689012002818, 156, 5); |
|
425 |
INSERT INTO `sys_relation` VALUES (1184402689020391425, 157, 5); |
|
426 |
INSERT INTO `sys_relation` VALUES (1184402689028780033, 141, 5); |
|
427 |
INSERT INTO `sys_relation` VALUES (1184402689032974338, 142, 5); |
|
428 |
INSERT INTO `sys_relation` VALUES (1184402689041362946, 143, 5); |
|
429 |
INSERT INTO `sys_relation` VALUES (1184402689049751553, 144, 5); |
|
430 |
INSERT INTO `sys_relation` VALUES (1184402689049751554, 172, 5); |
|
431 |
INSERT INTO `sys_relation` VALUES (1184402689058140161, 145, 5); |
|
432 |
INSERT INTO `sys_relation` VALUES (1184402689058140162, 1111545968697860098, 5); |
|
433 |
INSERT INTO `sys_relation` VALUES (1184402689066528769, 1111546189892870145, 5); |
|
434 |
COMMIT; |
|
435 |
|
|
436 |
-- ---------------------------- |
|
437 |
-- Table structure for sys_role |
|
438 |
-- ---------------------------- |
|
439 |
DROP TABLE IF EXISTS `sys_role`; |
|
440 |
CREATE TABLE `sys_role` ( |
|
441 |
`role_id` bigint(20) NOT NULL COMMENT '主键id', |
|
442 |
`pid` bigint(20) DEFAULT NULL COMMENT '父角色id', |
|
443 |
`name` varchar(255) DEFAULT NULL COMMENT '角色名称', |
|
444 |
`description` varchar(255) DEFAULT NULL COMMENT '提示', |
|
445 |
`sort` int(11) DEFAULT NULL COMMENT '序号', |
|
446 |
`version` int(11) DEFAULT NULL COMMENT '乐观锁', |
|
447 |
`create_time` datetime DEFAULT NULL COMMENT '创建时间', |
|
448 |
`update_time` datetime DEFAULT NULL COMMENT '修改时间', |
|
449 |
`create_user` bigint(20) DEFAULT NULL COMMENT '创建用户', |
|
450 |
`update_user` bigint(20) DEFAULT NULL COMMENT '修改用户', |
|
451 |
PRIMARY KEY (`role_id`) USING BTREE |
|
452 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='角色表'; |
|
453 |
|
|
454 |
-- ---------------------------- |
|
455 |
-- Records of sys_role |
|
456 |
-- ---------------------------- |
|
457 |
BEGIN; |
|
458 |
INSERT INTO `sys_role` VALUES (1, 0, '超级管理员', 'administrator', 1, 1, NULL, NULL, NULL, NULL); |
|
459 |
INSERT INTO `sys_role` VALUES (5, 1, '第三方登录', 'oauth_role', 2, NULL, NULL, '2019-06-11 13:59:40', NULL, 1); |
|
460 |
COMMIT; |
|
461 |
|
|
462 |
-- ---------------------------- |
|
463 |
-- Table structure for sys_user |
|
464 |
-- ---------------------------- |
|
465 |
DROP TABLE IF EXISTS `sys_user`; |
|
466 |
CREATE TABLE `sys_user` ( |
|
467 |
`user_id` bigint(20) NOT NULL COMMENT '主键id', |
|
468 |
`avatar` varchar(255) DEFAULT NULL COMMENT '头像', |
|
469 |
`account` varchar(45) DEFAULT NULL COMMENT '账号', |
|
470 |
`password` varchar(45) DEFAULT NULL COMMENT '密码', |
|
471 |
`salt` varchar(45) DEFAULT NULL COMMENT 'md5密码盐', |
|
472 |
`name` varchar(45) DEFAULT NULL COMMENT '名字', |
|
473 |
`birthday` datetime DEFAULT NULL COMMENT '生日', |
|
474 |
`sex` varchar(32) DEFAULT NULL COMMENT '性别(字典)', |
|
475 |
`email` varchar(45) DEFAULT NULL COMMENT '电子邮件', |
|
476 |
`phone` varchar(45) DEFAULT NULL COMMENT '电话', |
|
477 |
`role_id` varchar(255) DEFAULT NULL COMMENT '角色id(多个逗号隔开)', |
|
478 |
`dept_id` bigint(20) DEFAULT NULL COMMENT '部门id(多个逗号隔开)', |
|
479 |
`status` varchar(32) DEFAULT NULL COMMENT '状态(字典)', |
|
480 |
`create_time` datetime DEFAULT NULL COMMENT '创建时间', |
|
481 |
`create_user` bigint(20) DEFAULT NULL COMMENT '创建人', |
|
482 |
`update_time` datetime DEFAULT NULL COMMENT '更新时间', |
|
483 |
`update_user` bigint(20) DEFAULT NULL COMMENT '更新人', |
|
484 |
`version` int(11) DEFAULT NULL COMMENT '乐观锁', |
|
485 |
PRIMARY KEY (`user_id`) USING BTREE |
|
486 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='管理员表'; |
|
487 |
|
|
488 |
-- ---------------------------- |
|
489 |
-- Records of sys_user |
|
490 |
-- ---------------------------- |
|
491 |
BEGIN; |
|
492 |
INSERT INTO `sys_user` VALUES (1, '1124606971782160385', 'admin', '17db03c22596b7609c7c9704f16663e0', 'abcdef', 'stylefeng', '2018-11-16 00:00:00', 'M', 'sn93@qq.com', '18200000000', '1', 25, 'ENABLE', '2016-01-29 08:49:53', NULL, '2019-06-28 14:38:19', 24, 25); |
|
493 |
COMMIT; |
|
494 |
|
|
495 |
-- ---------------------------- |
|
496 |
-- Table structure for sys_user_pos |
|
497 |
-- ---------------------------- |
|
498 |
DROP TABLE IF EXISTS `sys_user_pos`; |
|
499 |
CREATE TABLE `sys_user_pos` ( |
|
500 |
`user_pos_id` bigint(20) NOT NULL COMMENT '主键id', |
|
501 |
`user_id` bigint(20) NOT NULL COMMENT '用户id', |
|
502 |
`pos_id` bigint(20) NOT NULL COMMENT '职位id', |
|
503 |
PRIMARY KEY (`user_pos_id`) USING BTREE |
|
504 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='用户职位关联表'; |
|
505 |
|
|
506 |
-- ---------------------------- |
|
507 |
-- Records of sys_user_pos |
|
508 |
-- ---------------------------- |
|
509 |
BEGIN; |
|
510 |
INSERT INTO `sys_user_pos` VALUES (1144495219551617025, 1, 1); |
|
511 |
COMMIT; |