懒羊羊
2023-10-17 5d91e0a52879bf16511817b3cd20496f07717ab1
提交 | 用户 | 时间
1ac2bc 1 /****** Object:  table [dbo].[database_info]  Script Date: 2019-11-23 22:13:11 ******/
2 GO
3
4
5 use [guns]
6 GO
7
8
9 CREATE TABLE [dbo].[database_info]
10 (
11     [db_id] bigint NOT NULL ,
12     [db_name] varchar(255) NOT NULL ,
13     [jdbc_driver] varchar(255) NOT NULL ,
14     [user_name] varchar(255) NOT NULL ,
15     [password] varchar(255) NOT NULL ,
16     [jdbc_url] varchar(2000) NOT NULL ,
17     [remarks] varchar(255) NULL ,
18     [create_time] datetime NULL 
19 )
20 ON [PRIMARY];
21 GO
22
23
24 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'database_info', NULL, NULL;
25 GO
26
27 ALTER TABLE [dbo].[database_info] ADD CONSTRAINT [PK_database_info] PRIMARY KEY CLUSTERED 
28 (
29 [db_id]
30 )
31 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
32 GO
33
34
35
36 insert into [dbo].[database_info]([db_id],[db_name],[jdbc_driver],[user_name],[password],[jdbc_url],[remarks],[create_time]) values
37 ('1198241099289976833','master','net.sourceforge.jtds.jdbc.Driver','guns','Guns123456','jdbc:jtds:sqlserver://rm-2zem3l79b11r1p284jo.sqlserver.rds.aliyuncs.com:3433;DatabaseName=guns','主数据源,项目启动数据源!','2019-11-23 22:05:14.000')
38
39 ;
40 /****** Object:  table [dbo].[oa_myleave]  Script Date: 2019-11-23 22:13:11 ******/
41 GO
42
43
44 use [guns]
45 GO
46
47
48 CREATE TABLE [dbo].[oa_myleave]
49 (
50     [myleave_id] varchar(100) NOT NULL ,
51     [username] varchar(100) NOT NULL ,
52     [type] varchar(100) NOT NULL ,
53     [starttime] varchar(100) NOT NULL ,
54     [endtime] varchar(100) NOT NULL ,
55     [whenlong] varchar(50) NOT NULL ,
56     [reason] varchar(1000) NULL 
57 )
58 ON [PRIMARY];
59 GO
60
61
62 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'oa_myleave', NULL, NULL;
63 GO
64
65 ALTER TABLE [dbo].[oa_myleave] ADD CONSTRAINT [PK_oa_myleave] PRIMARY KEY CLUSTERED 
66 (
67 [myleave_id]
68 )
69 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
70 GO
71
72
73
74
75
76 /****** Object:  table [dbo].[oauth_user_info]  Script Date: 2019-11-23 22:13:11 ******/
77 GO
78
79
80 use [guns]
81 GO
82
83
84 CREATE TABLE [dbo].[oauth_user_info]
85 (
86     [oauth_id] bigint NOT NULL ,
87     [user_id] bigint NOT NULL ,
88     [nick_name] varchar(255) NULL ,
89     [avatar] varchar(500) NULL ,
90     [blog] varchar(255) NULL ,
91     [company] varchar(255) NULL ,
92     [location] varchar(255) NULL ,
93     [email] varchar(255) NULL ,
94     [remark] varchar(255) NULL ,
95     [gender] int NULL ,
96     [source] varchar(255) NULL ,
97     [token] varchar(255) NULL ,
98     [uuid] varchar(255) NULL ,
99     [create_time] datetime NULL ,
100     [create_user] bigint NULL ,
101     [update_time] datetime NULL ,
102     [update_user] bigint NULL 
103 )
104 ON [PRIMARY];
105 GO
106
107
108 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'oauth_user_info', NULL, NULL;
109 GO
110
111 ALTER TABLE [dbo].[oauth_user_info] ADD CONSTRAINT [PK_oauth_user_info] PRIMARY KEY CLUSTERED 
112 (
113 [oauth_id]
114 )
115 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
116 GO
117
118
119
120
121
122 /****** Object:  table [dbo].[sys_config]  Script Date: 2019-11-23 22:13:12 ******/
123 GO
124
125
126 use [guns]
127 GO
128
129
130 CREATE TABLE [dbo].[sys_config]
131 (
132     [id] bigint NOT NULL ,
133     [name] varchar(200) NOT NULL ,
134     [code] varchar(200) NOT NULL ,
135     [dict_flag] char(1) NOT NULL ,
136     [dict_type_id] bigint NULL ,
137     [value] varchar(200) NOT NULL ,
138     [remark] varchar(200) NULL ,
139     [create_time] datetime NULL ,
140     [create_user] bigint NULL ,
141     [update_time] datetime NULL ,
142     [update_user] bigint NULL 
143 )
144 ON [PRIMARY];
145 GO
146
147
148 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'sys_config', NULL, NULL;
149 GO
150
151 ALTER TABLE [dbo].[sys_config] ADD CONSTRAINT [PK_sys_config] PRIMARY KEY CLUSTERED 
152 (
153 [id]
154 )
155 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
156 GO
157
158
159
160 insert into [dbo].[sys_config]([id],[name],[code],[dict_flag],[dict_type_id],[value],[remark],[create_time],[create_user],[update_time],[update_user]) values
161 ('1143324237579165697','验证码开关','GUNS_KAPTCHA_OPEN','Y','1106120265689055233','DISABLE','是否开启验证码','2019-06-24 12:46:43.000','1','2019-06-25 09:04:42.000','1'),
162 ('1143386834613694465','阿里云短信的keyId','GUNS_SMS_ACCESSKEY_ID','N',null,'xxxkey','阿里云短信的密钥key','2019-06-25 13:13:59.000','1','2019-06-25 13:19:21.000','1'),
163 ('1143386953933254657','阿里云短信的secret','GUNS_SMS_ACCESSKEY_SECRET','N',null,'xxxsecret','阿里云短信的secret','2019-06-25 13:14:28.000','1',null,null),
164 ('1143387023449649154','阿里云短信的签名','GUNS_SMS_SIGN_NAME','N',null,'xxxsign','阿里云短信的签名','2019-06-25 13:14:44.000','1',null,null),
165 ('1143387131109044225','阿里云短信登录的模板号','GUNS_SMS_LOGIN_TEMPLATE_CODE','N',null,'SMS_XXXXXX','阿里云短信登录的模板号','2019-06-25 13:15:10.000','1',null,null),
166 ('1143387225019510785','验证码短信失效时间','GUNS_SMS_INVALIDATE_MINUTES','N',null,'2','验证码短信失效时间','2019-06-25 13:15:32.000','1',null,null),
167 ('1143468689664876546','管理系统名称','GUNS_SYSTEM_NAME','N',null,'Guns快速开发平台','管理系统名称','2019-06-25 18:39:15.000','1',null,null),
168 ('1143468867767607297','默认系统密码','GUNS_DEFAULT_PASSWORD','N',null,'111111','默认系统密码','2019-06-25 18:39:57.000','1',null,null),
169 ('1143469008025133058','OAuth2登录用户的账号标识','GUNS_OAUTH2_PREFIX','N',null,'oauth2','OAuth2登录用户的账号标识','2019-06-25 18:40:31.000','1',null,null),
170 ('1145207130463191041','顶部导航条是否开启','GUNS_DEFAULT_ADVERT','Y','1106120265689055233','ENABLE','顶部Guns广告是否开启','2019-06-30 13:47:11.000','1','2019-06-30 13:47:20.000','1'),
171 ('1145915627211370498','Guns发布的编号','GUNS_SYSTEM_RELEASE_VERSION','N',null,'20191121','用于防止浏览器缓存相关的js和css','2019-07-02 12:42:30.000','1',null,null),
172 ('1145915627211370499','文件上传路径','GUNS_FILE_UPLOAD_PATH','N',null,'D:/tmp','文件上传默认目录','2019-08-30 09:10:40.000','1','2019-11-23 22:02:35.973','1'),
173 ('1145915627211370500','BPMN文件上传路径','GUNS_BPMN_FILE_UPLOAD_PATH','N',null,'D:/tmp','工作流文件上传默认目录','2019-08-30 09:10:40.000','1','2019-11-23 22:02:41.570','1'),
174 ('1145915627211370501','获取系统地密钥过期时间','GUNS_JWT_SECRET_EXPIRE','N',null,'86400','获取系统地密钥过期时间(单位:秒),默认1天','2019-10-16 23:02:39.000','1',null,null),
175 ('1145915627211370502','获取token的header标识','GUNS_TOKEN_HEADER_NAME','N',null,'Authorization','获取token的header标识','2019-10-16 23:02:39.000','1',null,null),
176 ('1145915627211370503','获取租户是否开启的标识','GUNS_TENANT_OPEN','Y','1106120265689055233','DISABLE','获取租户是否开启的标识,默认是关的','2019-10-16 23:02:39.000','1',null,null)
177
178 ;
179 /****** Object:  table [dbo].[sys_dept]  Script Date: 2019-11-23 22:13:12 ******/
180 GO
181
182
183 use [guns]
184 GO
185
186
187 CREATE TABLE [dbo].[sys_dept]
188 (
189     [dept_id] bigint NOT NULL ,
190     [pid] bigint NULL ,
191     [pids] varchar(512) NULL ,
192     [simple_name] varchar(45) NULL ,
193     [full_name] varchar(255) NULL ,
194     [description] varchar(255) NULL ,
195     [version] int NULL ,
196     [sort] int NULL ,
197     [create_time] datetime NULL ,
198     [update_time] datetime NULL ,
199     [create_user] bigint NULL ,
200     [update_user] bigint NULL 
201 )
202 ON [PRIMARY];
203 GO
204
205
206 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'sys_dept', NULL, NULL;
207 GO
208
209 ALTER TABLE [dbo].[sys_dept] ADD  CONSTRAINT [DF_sys_dept_pid] DEFAULT ((0)) FOR [pid];
210 GO
211 ALTER TABLE [dbo].[sys_dept] ADD  CONSTRAINT [DF_sys_dept_pids] DEFAULT ('') FOR [pids];
212 GO
213 ALTER TABLE [dbo].[sys_dept] ADD CONSTRAINT [PK_sys_dept] PRIMARY KEY CLUSTERED 
214 (
215 [dept_id]
216 )
217 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
218 GO
219
220
221
222 insert into [dbo].[sys_dept]([dept_id],[pid],[pids],[simple_name],[full_name],[description],[version],[sort],[create_time],[update_time],[create_user],[update_user]) values
223 ('24','0','[0],','总公司','总公司','',null,'1',null,null,null,null),
224 ('25','24','[0],[24],','开发部','开发部','',null,'2',null,null,null,null),
225 ('26','24','[0],[24],','运营部','运营部','',null,'3',null,null,null,null),
226 ('27','24','[0],[24],','战略部','战略部','',null,'4',null,null,null,null)
227
228 ;
229 /****** Object:  table [dbo].[sys_dict]  Script Date: 2019-11-23 22:13:12 ******/
230 GO
231
232
233 use [guns]
234 GO
235
236
237 CREATE TABLE [dbo].[sys_dict]
238 (
239     [dict_id] bigint NOT NULL ,
240     [dict_type_id] bigint NOT NULL ,
241     [code] varchar(50) NOT NULL ,
242     [name] varchar(255) NOT NULL ,
243     [parent_id] bigint NOT NULL ,
244     [parent_ids] varchar(255) NULL ,
245     [status] varchar(10) NOT NULL ,
246     [sort] int NULL ,
247     [description] varchar(1000) NULL ,
248     [create_time] datetime NULL ,
249     [update_time] datetime NULL ,
250     [create_user] bigint NULL ,
251     [update_user] bigint NULL 
252 )
253 ON [PRIMARY];
254 GO
255
256
257 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'sys_dict', NULL, NULL;
258 GO
259
260 ALTER TABLE [dbo].[sys_dict] ADD  CONSTRAINT [DF_sys_dict_status] DEFAULT ('ENABLE') FOR [status];
261 GO
262 ALTER TABLE [dbo].[sys_dict] ADD CONSTRAINT [PK_sys_dict] PRIMARY KEY CLUSTERED 
263 (
264 [dict_id]
265 )
266 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
267 GO
268
269
270
271 insert into [dbo].[sys_dict]([dict_id],[dict_type_id],[code],[name],[parent_id],[parent_ids],[status],[sort],[description],[create_time],[update_time],[create_user],[update_user]) values
272 ('1106120532442595330','1106120208097067009','M','男','0','[0]','ENABLE',null,'','2019-03-14 17:11:00.000',null,'1',null),
273 ('1106120574163337218','1106120208097067009','F','女','0','[0]','ENABLE',null,'','2019-03-14 17:11:10.000',null,'1',null),
274 ('1106120645697191938','1106120265689055233','ENABLE','启用','0','[0]','ENABLE',null,'','2019-03-14 17:11:27.000',null,'1',null),
275 ('1106120699468169217','1106120265689055233','DISABLE','禁','0','[0]','ENABLE',null,'','2019-03-14 17:11:40.000',null,'1',null),
276 ('1106120784318939137','1106120322450571266','ENABLE','启用','0','[0]','ENABLE',null,'','2019-03-14 17:12:00.000',null,'1',null),
277 ('1106120825993543682','1106120322450571266','FREEZE','冻结','0','[0]','ENABLE','1','','2019-03-14 17:12:10.000','2019-03-16 10:56:36.000','1','1'),
278 ('1106120875872206849','1106120322450571266','DELETED','已删除','0','[0]','ENABLE','-1221','','2019-03-14 17:12:22.000','2019-03-16 10:56:53.000','1','1'),
279 ('1106120935070613505','1106120388036902914','Y','删除','0','[0]','ENABLE','23333','','2019-03-14 17:12:36.000','2019-03-16 10:58:53.000','1','1'),
280 ('1106120968910258177','1106120388036902914','N','未删除','0','[0]','ENABLE','1212211221','','2019-03-14 17:12:44.000','2019-03-16 10:59:03.000','1','1'),
281 ('1149218674746355713','1149217131989069826','BASE_SYSTEM','系统管理','0','[0]','ENABLE','1','系统管理平台','2019-07-11 15:27:38.000','2019-07-11 20:27:14.000','1','1'),
282 ('1160533174626959361','1160532704105742337','00101','办公审批','0','[0]','ENABLE','10','','2019-08-11 20:47:25.000',null,'1',null),
283 ('1160533264645111810','1160532704105742337','00102','行政审批','0','[0]','ENABLE','20','','2019-08-11 20:47:47.000',null,'1',null),
284 ('1160533377727741954','1160532775455047681','KEY_LEAVE','请假流程标识','0','[0]','ENABLE','10','','2019-08-11 20:48:14.000',null,'1',null),
285 ('1160533455343337474','1160532775455047681','KEY_FINANCE','财务流程标识','0','[0]','ENABLE','20','','2019-08-11 20:48:32.000',null,'1',null),
286 ('1160533574843252737','1160532886713155585','00401','事假','0','[0]','ENABLE','10','','2019-08-11 20:49:01.000',null,'1',null),
287 ('1160533625615302658','1160532886713155585','00402','婚假','0','[0]','ENABLE','20','','2019-08-11 20:49:13.000',null,'1',null),
288 ('1160533707215486977','1160532886713155585','00403','产假','0','[0]','ENABLE','30','','2019-08-11 20:49:32.000',null,'1',null),
289 ('1160533765403066370','1160532886713155585','00404','病假','0','[0]','ENABLE','40','','2019-08-11 20:49:46.000',null,'1',null),
290 ('1160533863834992641','1160532886713155585','00405','公假','0','[0]','ENABLE','50','','2019-08-11 20:50:09.000',null,'1',null),
291 ('1160533945309347841','1160532886713155585','00406','年假','0','[0]','ENABLE','60','','2019-08-11 20:50:29.000',null,'1',null),
292 ('1160534007389241346','1160532886713155585','00407','其他','0','[0]','ENABLE','70','','2019-08-11 20:50:44.000',null,'1',null)
293
294 ;
295 /****** Object:  table [dbo].[sys_dict_type]  Script Date: 2019-11-23 22:13:13 ******/
296 GO
297
298
299 use [guns]
300 GO
301
302
303 CREATE TABLE [dbo].[sys_dict_type]
304 (
305     [dict_type_id] bigint NOT NULL ,
306     [code] varchar(255) NOT NULL ,
307     [name] varchar(255) NOT NULL ,
308     [description] varchar(1000) NULL ,
309     [system_flag] nvarchar(1) NOT NULL ,
310     [status] varchar(10) NOT NULL ,
311     [sort] int NULL ,
312     [create_time] datetime NULL ,
313     [create_user] bigint NULL ,
314     [update_time] datetime NULL ,
315     [update_user] bigint NULL 
316 )
317 ON [PRIMARY];
318 GO
319
320
321 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'sys_dict_type', NULL, NULL;
322 GO
323
324 ALTER TABLE [dbo].[sys_dict_type] ADD  CONSTRAINT [DF_sys_dict_type_status] DEFAULT ('ENABLE') FOR [status];
325 GO
326 ALTER TABLE [dbo].[sys_dict_type] ADD CONSTRAINT [PK_sys_dict_type] PRIMARY KEY CLUSTERED 
327 (
328 [dict_type_id]
329 )
330 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
331 GO
332
333
334
335 insert into [dbo].[sys_dict_type]([dict_type_id],[code],[name],[description],[system_flag],[status],[sort],[create_time],[create_user],[update_time],[update_user]) values
336 ('1106120208097067009','SEX','性别','','Y','ENABLE','4','2019-03-14 17:09:43.000','1',null,null),
337 ('1106120265689055233','STATUS','状态','','Y','ENABLE','3','2019-03-14 17:09:57.000','1',null,null),
338 ('1106120322450571266','ACCOUNT_STATUS','账号状态','','Y','ENABLE','21112','2019-03-14 17:10:10.000','1','2019-03-16 10:56:15.000','1'),
339 ('1106120388036902914','DEL_FLAG','是否删除','','Y','ENABLE','2','2019-03-14 17:10:26.000','1','2019-03-27 16:26:31.000','1'),
340 ('1149217131989069826','SYSTEM_TYPE','系统分类','系统所有分类的维护','Y','ENABLE','70','2019-07-11 15:21:30.000','1','2019-07-11 15:28:21.000','1'),
341 ('1160532704105742337','FLOW_CATEGARY','工作流分类','工作流分类','Y','ENABLE','60','2019-08-11 20:45:33.000','1',null,null),
342 ('1160532775455047681','FLOW_KEY','工作流标识','工作流标识','Y','ENABLE','70','2019-08-11 20:45:50.000','1',null,null),
343 ('1160532886713155585','LEAVE_TYPE','请假类型','请假类型','Y','ENABLE','80','2019-08-11 20:46:17.000','1','2019-08-11 20:46:23.000','1')
344
345 ;
346 /****** Object:  table [dbo].[sys_file_info]  Script Date: 2019-11-23 22:13:13 ******/
347 GO
348
349
350 use [guns]
351 GO
352
353
354 CREATE TABLE [dbo].[sys_file_info]
355 (
356     [file_id] varchar(50) NOT NULL ,
357     [file_bucket] varchar(100) NULL ,
358     [file_name] varchar(100) NULL ,
359     [file_suffix] varchar(50) NULL ,
360     [file_size_kb] bigint NULL ,
361     [final_name] varchar(100) NULL ,
362     [file_path] varchar(1000) NULL ,
363     [create_time] datetime NULL ,
364     [update_time] datetime NULL ,
365     [create_user] bigint NULL ,
366     [update_user] bigint NULL 
367 )
368 ON [PRIMARY];
369 GO
370
371
372 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'sys_file_info', NULL, NULL;
373 GO
374
375 ALTER TABLE [dbo].[sys_file_info] ADD CONSTRAINT [PK_sys_file_info] PRIMARY KEY CLUSTERED 
376 (
377 [file_id]
378 )
379 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
380 GO
381
382
383
384 insert into [dbo].[sys_file_info]([file_id],[file_bucket],[file_name],[file_suffix],[file_size_kb],[final_name],[file_path],[create_time],[update_time],[create_user],[update_user]) values
385 ('1167385745179131905',null,'请假流程.bpmn20.xml','xml','6','1167385745179131905.xml','/Users/stylefeng/tmp/gunsTempFiles/1167385745179131905.xml','2019-08-30 18:37:05.000',null,'1',null),
386 ('1198240493510848513',null,'leave.bpmn20.xml','xml','6','1198240493510848513.xml','D:/tmp\\1198240493510848513.xml','2019-11-23 22:02:50.547',null,'1',null)
387
388 ;
389 /****** Object:  table [dbo].[sys_login_log]  Script Date: 2019-11-23 22:13:14 ******/
390 GO
391
392
393 use [guns]
394 GO
395
396
397 CREATE TABLE [dbo].[sys_login_log]
398 (
399     [login_log_id] bigint NOT NULL ,
400     [log_name] varchar(255) NULL ,
401     [user_id] bigint NULL ,
402     [create_time] datetime NULL ,
403     [succeed] varchar(255) NULL ,
404     [message] ntext NULL ,
405     [ip_address] varchar(255) NULL 
406 )
407 ON [PRIMARY];
408 GO
409
410
411 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'sys_login_log', NULL, NULL;
412 GO
413
414 ALTER TABLE [dbo].[sys_login_log] ADD CONSTRAINT [PK_sys_login_log] PRIMARY KEY CLUSTERED 
415 (
416 [login_log_id]
417 )
418 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
419 GO
420
421
422
423
424
425 /****** Object:  table [dbo].[sys_menu]  Script Date: 2019-11-23 22:13:14 ******/
426 GO
427
428
429 use [guns]
430 GO
431
432
433 CREATE TABLE [dbo].[sys_menu]
434 (
435     [menu_id] bigint NOT NULL ,
436     [code] varchar(255) NULL ,
437     [pcode] varchar(255) NULL ,
438     [pcodes] varchar(255) NULL ,
439     [name] varchar(255) NULL ,
440     [icon] varchar(255) NULL ,
441     [url] varchar(255) NULL ,
442     [sort] int NULL ,
443     [levels] int NULL ,
444     [menu_flag] varchar(32) NULL ,
445     [description] varchar(255) NULL ,
446     [status] varchar(32) NULL ,
447     [new_page_flag] varchar(32) NULL ,
448     [open_flag] varchar(32) NULL ,
449     [system_type] varchar(100) NULL ,
450     [create_time] datetime NULL ,
451     [update_time] datetime NULL ,
452     [create_user] bigint NULL ,
453     [update_user] bigint NULL 
454 )
455 ON [PRIMARY];
456 GO
457
458
459 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'sys_menu', NULL, NULL;
460 GO
461
462 ALTER TABLE [dbo].[sys_menu] ADD  CONSTRAINT [DF_sys_menu_status] DEFAULT ('ENABLE') FOR [status];
463 GO
464 ALTER TABLE [dbo].[sys_menu] ADD CONSTRAINT [PK_sys_menu] PRIMARY KEY CLUSTERED 
465 (
466 [menu_id]
467 )
468 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
469 GO
470
471
472
473 insert into [dbo].[sys_menu]([menu_id],[code],[pcode],[pcodes],[name],[icon],[url],[sort],[levels],[menu_flag],[description],[status],[new_page_flag],[open_flag],[system_type],[create_time],[update_time],[create_user],[update_user]) values
474 ('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.000',null,'1'),
475 ('106','mgr','system','[0],[system],','用户管理','','/mgr','10','2','Y',null,'ENABLE',null,'0','BASE_SYSTEM',null,'2019-06-30 13:48:07.000',null,'1'),
476 ('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.000',null,'1'),
477 ('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.000',null,'1'),
478 ('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.000',null,'1'),
479 ('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.000',null,'1'),
480 ('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.000',null,'1'),
481 ('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.000',null,'1'),
482 ('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.000',null,'1'),
483 ('114','role','system','[0],[system],','角色管理','','/role','20','2','Y',null,'ENABLE',null,'0','BASE_SYSTEM',null,'2019-06-30 13:48:12.000',null,'1'),
484 ('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.000',null,'1'),
485 ('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.000',null,'1'),
486 ('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.000',null,'1'),
487 ('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.000',null,'1'),
488 ('119','menu','system','[0],[system],','菜单管理','','/menu','50','2','Y',null,'ENABLE',null,'0','BASE_SYSTEM',null,'2019-06-30 13:48:25.000',null,'1'),
489 ('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.000',null,'1'),
490 ('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.000',null,'1'),
491 ('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.000',null,'1'),
492 ('128','log','system','[0],[system],','业务日志','','/log','70','2','Y',null,'ENABLE',null,'0','BASE_SYSTEM',null,'2019-06-30 13:48:39.000',null,'1'),
493 ('130','druid','system','[0],[system],','监控管理','','/druid','80','2','Y',null,'ENABLE',null,null,'BASE_SYSTEM',null,'2019-06-30 13:50:06.000',null,'1'),
494 ('131','dept','system','[0],[system],','部门管理','','/dept','30','2','Y',null,'ENABLE',null,null,'BASE_SYSTEM',null,'2019-06-30 13:48:53.000',null,'1'),
495 ('132','dict','system','[0],[system],','字典管理','','/dictType','40','2','Y',null,'ENABLE',null,null,'BASE_SYSTEM',null,'2019-06-30 13:49:04.000',null,'1'),
496 ('133','loginLog','system','[0],[system],','登录日志','','/loginLog','60','2','Y',null,'ENABLE',null,null,'BASE_SYSTEM',null,'2019-06-30 13:49:29.000',null,'1'),
497 ('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.000',null,'1'),
498 ('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.000',null,'1'),
499 ('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.000',null,'1'),
500 ('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.000',null,'1'),
501 ('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.000',null,'1'),
502 ('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.000',null,'1'),
503 ('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.000',null,'1'),
504 ('141','notice','system','[0],[system],','通知管理','','/notice','90','2','Y',null,'ENABLE',null,null,'BASE_SYSTEM',null,'2019-06-30 13:49:44.000',null,'1'),
505 ('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.000',null,'1'),
506 ('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.000',null,'1'),
507 ('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.000',null,'1'),
508 ('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.000',null,'1'),
509 ('149','api_mgr','dev_tools','[0],[dev_tools],','接口文档','fa-leaf','/swagger-ui.html','30','2','Y',null,'ENABLE',null,null,'BASE_SYSTEM',null,'2019-06-15 18:13:00.000',null,'1'),
510 ('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.000',null,'1'),
511 ('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.000',null,'1'),
512 ('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.000',null,'1'),
513 ('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.000',null,'1'),
514 ('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.000',null,'1'),
515 ('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.000',null,'1'),
516 ('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.000',null,'1'),
517 ('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.000',null,'1'),
518 ('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.000',null,'1'),
519 ('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.000',null,'1'),
520 ('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.000',null,'1'),
521 ('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.000',null,'1'),
522 ('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.000',null,'1'),
523 ('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.000',null,'1'),
524 ('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.000',null,'1'),
525 ('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.000',null,'1'),
526 ('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.000',null,'1'),
527 ('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.000',null,'1'),
528 ('171','dev_tools','0','[0],','开发管理','layui-icon layui-icon-code-circle','#','30','1','Y',null,'ENABLE',null,null,'BASE_SYSTEM',null,'2019-05-11 13:40:27.000',null,'1'),
529 ('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.000',null,'1'),
530 ('1110777136265838594','demos_show','dev_tools','[0],[dev_tools],','模板页面','layui-icon layui-icon-template','#','40','2','Y',null,'ENABLE',null,null,'BASE_SYSTEM','2019-03-27 13:34:41.000','2019-06-15 18:13:11.000','1','1'),
531 ('1110777366856089602','excel_import','demos_show','[0],[dev_tools],[demos_show],','excel导入','','/excel/import','10','3','Y',null,'ENABLE',null,null,'BASE_SYSTEM','2019-03-27 13:35:36.000','2019-06-15 18:13:11.000','1','1'),
532 ('1110777491464667137','excel_export','demos_show','[0],[dev_tools],[demos_show],','excel导出','','/excel/export','20','3','Y',null,'ENABLE',null,null,'BASE_SYSTEM','2019-03-27 13:36:06.000','2019-06-15 18:13:11.000','1','1'),
533 ('1110787391943098370','advanced_form','demos_show','[0],[dev_tools],[demos_show],','高级表单','','/egForm','30','3','Y',null,'ENABLE',null,null,'BASE_SYSTEM','2019-03-27 14:15:26.000','2019-06-15 18:13:11.000','1','1'),
534 ('1110839216310329346','pdf_view','demos_show','[0],[dev_tools],[demos_show],','文档预览','','/loadPdfFile','40','3','Y',null,'ENABLE',null,null,'BASE_SYSTEM','2019-03-27 17:41:22.000','2019-06-15 18:13:11.000','1','1'),
535 ('1111545968697860098','console','dashboard','[0],[dashboard],','项目介绍','','/system/console','10','2','Y',null,'ENABLE',null,null,'BASE_SYSTEM','2019-03-29 16:29:45.000','2019-04-09 20:57:08.000','1','1'),
536 ('1111546189892870145','console2','dashboard','[0],[dashboard],','统计报表','','/system/console2','20','2','Y',null,'ENABLE',null,null,'BASE_SYSTEM','2019-03-29 16:30:38.000','2019-04-08 22:49:48.000','1','1'),
537 ('1127085735660421122','code_generate','dev_tools','[0],[dev_tools],','代码生成','','/gen','20','2','Y',null,'ENABLE',null,null,'BASE_SYSTEM','2019-05-11 13:39:14.000','2019-06-15 18:12:45.000','1','1'),
538 ('1139826657964593154','meta_data','dev_tools','[0],[dev_tools],','系统配置','','#','10','2','Y',null,'ENABLE',null,null,'BASE_SYSTEM','2019-06-15 17:27:07.000','2019-06-15 18:12:35.000','1','1'),
539 ('1139827152854716418','data_source','meta_data','[0],[dev_tools],[meta_data],','数据源管理','','/databaseInfo','10','3','Y',null,'ENABLE',null,null,'BASE_SYSTEM','2019-06-15 17:29:05.000','2019-06-15 18:12:35.000','1','1'),
540 ('1140241958563880962','tenant_info','system','[0],[system],','租户管理','layui-icon layui-icon-auz','/tenantInfo','999','2','Y','','ENABLE','','','BASE_SYSTEM',null,null,'1','1'),
541 ('1140241958563880963','tenant_info_add','tenant_info','[0],[system],[tenant_info],','租户表添加','fa-star','','999','3','N','','ENABLE','','','BASE_SYSTEM',null,null,'1','1'),
542 ('1140241958563880964','tenant_info_edit','tenant_info','[0],[system],[tenant_info],','租户表修改','fa-star','','999','3','N','','ENABLE','','','BASE_SYSTEM',null,null,'1','1'),
543 ('1140241958563880965','tenant_info_delete','tenant_info','[0],[system],[tenant_info],','租户表删除','fa-star','','999','3','N','','ENABLE','','','BASE_SYSTEM',null,null,'1','1'),
544 ('1142957882422112257','SYS_CONFIG','meta_data','[0],[dev_tools],[meta_data],','参数配置','fa-star','/sysConfig','5','3','Y','','ENABLE','','','BASE_SYSTEM','2019-06-24 08:49:28.000','2019-06-24 08:57:34.000','1','1'),
545 ('1142957882422112258','SYS_CONFIG_ADD','SYS_CONFIG','[0],[dev_tools],[meta_data],[SYS_CONFIG],','参数配置添加','fa-star','','999','4','N','','ENABLE','','','BASE_SYSTEM','2019-06-24 08:49:28.000','2019-06-24 08:57:34.000','1','1'),
546 ('1142957882422112259','SYS_CONFIG_EDIT','SYS_CONFIG','[0],[dev_tools],[meta_data],[SYS_CONFIG],','参数配置修改','fa-star','','999','4','N','','ENABLE','','','BASE_SYSTEM','2019-06-24 08:49:28.000','2019-06-24 08:57:34.000','1','1'),
547 ('1142957882426306562','SYS_CONFIG_DELETE','SYS_CONFIG','[0],[dev_tools],[meta_data],[SYS_CONFIG],','参数配置删除','fa-star','','999','4','N','','ENABLE','','','BASE_SYSTEM','2019-06-24 08:49:28.000','2019-06-24 08:57:34.000','1','1'),
548 ('1144441072852684801','SYS_POSITION','system','[0],[system],','职位管理','fa-star','/position','35','2','Y','','ENABLE','','','BASE_SYSTEM','2019-06-28 11:03:09.000','2019-06-28 11:06:42.000','1','1'),
549 ('1144441072852684802','SYS_POSITION_ADD','SYS_POSITION','[0],[system],[SYS_POSITION],','职位表添加','fa-star','','999','3','N','','ENABLE','','','BASE_SYSTEM','2019-06-28 11:03:09.000','2019-06-28 11:06:42.000','1','1'),
550 ('1144441072852684803','SYS_POSITION_EDIT','SYS_POSITION','[0],[system],[SYS_POSITION],','职位表修改','fa-star','','999','3','N','','ENABLE','','','BASE_SYSTEM','2019-06-28 11:03:09.000','2019-06-28 11:06:42.000','1','1'),
551 ('1144441072852684804','SYS_POSITION_DELETE','SYS_POSITION','[0],[system],[SYS_POSITION],','职位表删除','fa-star','','999','3','N','','ENABLE','','','BASE_SYSTEM','2019-06-28 11:03:09.000','2019-06-28 11:06:42.000','1','1'),
552 ('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.000',null,'1',null),
553 ('1158737199356919809','online_office','0','[0],','在线办公','layui-icon-cellphone','#','40','1','Y',null,'ENABLE',null,null,'BASE_SYSTEM',null,null,'1',null),
554 ('1158737313060306945','office_model','online_office','[0],[online_office],','工作流程','layui-icon-star-fill','#','10','2','Y',null,'ENABLE',null,null,'BASE_SYSTEM',null,null,'1',null),
555 ('1158737441812856834','model_manager','office_model','[0],[online_office],[office_model],','模型管理','layui-icon-star-fill','/model','10','3','Y',null,'ENABLE',null,null,'BASE_SYSTEM',null,null,'1','1'),
556 ('1158737665570586625','procdef','office_model','[0],[online_office],[office_model],','流程管理','layui-icon-star-fill','/process','20','3','Y',null,'ENABLE',null,null,'BASE_SYSTEM',null,null,'1',null),
557 ('1158737892184637441','process_on','office_model','[0],[online_office],[office_model],','运行中流程','layui-icon-star-fill','/taskRunning','30','3','Y',null,'ENABLE',null,null,'BASE_SYSTEM',null,null,'1',null),
558 ('1158738158376140801','hiprocdef','office_model','[0],[online_office],[office_model],','历史流程','layui-icon-star-fill','/historyProc','40','3','Y',null,'ENABLE',null,null,'BASE_SYSTEM',null,null,'1',null),
559 ('1158738253440040962','task_manager','online_office','[0],[online_office],','任务管理','layui-icon-star-fill','#','20','2','Y',null,'ENABLE',null,null,'BASE_SYSTEM',null,null,'1',null),
560 ('1158738549708898305','approve','online_office','[0],[online_office],','申请审批','layui-icon-star-fill','#','30','2','Y',null,'ENABLE',null,null,'BASE_SYSTEM',null,null,'1',null),
561 ('1158738875899920385','rutask','task_manager','[0],[online_office],[task_manager],','待办任务','layui-icon-star-fill','/taskWaiting','10','3','Y',null,'ENABLE',null,null,'BASE_SYSTEM',null,null,'1',null),
562 ('1158739014999818241','havetask','task_manager','[0],[online_office],[task_manager],','已办任务','layui-icon-star-fill','/taskHistory','20','3','Y',null,'ENABLE',null,null,'BASE_SYSTEM',null,null,'1',null),
563 ('1158739122743099393','leave','approve','[0],[online_office],[approve],','请假审批','layui-icon-star-fill','/myleave','10','3','Y',null,'ENABLE',null,null,'BASE_SYSTEM',null,null,'1',null),
564 ('1184836690833002497','TRANSLATION','dev_tools','[0],[dev_tools],','多语言配置','layui-icon-senior','/translation','999','2','Y','','ENABLE','','','BASE_SYSTEM',null,null,'1','1'),
565 ('1184836690833002498','TRANSLATION_ADD','TRANSLATION','[0],[dev_tools],[TRANSLATION],','多语言添加','fa-star','','999','3','N','','ENABLE','','','BASE_SYSTEM',null,null,'1','1'),
566 ('1184836690833002499','TRANSLATION_EDIT','TRANSLATION','[0],[dev_tools],[TRANSLATION],','多语言修改','fa-star','','999','3','N','','ENABLE','','','BASE_SYSTEM',null,null,'1','1'),
567 ('1184836690833002500','TRANSLATION_DELETE','TRANSLATION','[0],[dev_tools],[TRANSLATION],','多语言删除','fa-star','','999','3','N','','ENABLE','','','BASE_SYSTEM',null,null,'1','1')
568
569 ;
570 /****** Object:  table [dbo].[sys_notice]  Script Date: 2019-11-23 22:13:15 ******/
571 GO
572
573
574 use [guns]
575 GO
576
577
578 CREATE TABLE [dbo].[sys_notice]
579 (
580     [notice_id] bigint NOT NULL ,
581     [title] varchar(255) NULL ,
582     [content] ntext NULL ,
583     [create_time] datetime NULL ,
584     [create_user] bigint NULL ,
585     [update_time] datetime NULL ,
586     [update_user] bigint NULL 
587 )
588 ON [PRIMARY];
589 GO
590
591
592 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'sys_notice', NULL, NULL;
593 GO
594
595 ALTER TABLE [dbo].[sys_notice] ADD CONSTRAINT [PK_sys_notice] PRIMARY KEY CLUSTERED 
596 (
597 [notice_id]
598 )
599 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
600 GO
601
602
603
604 insert into [dbo].[sys_notice]([notice_id],[title],[content],[create_time],[create_user],[update_time],[update_user]) values
605 ('6','欢迎','hi,Guns旗舰版发布了!','2017-01-11 08:53:20.000','1','2018-12-28 23:24:48.000','1'),
606 ('8','你好','你好,世界!','2017-05-10 19:28:57.000','1','2018-12-28 23:28:26.000','1')
607
608 ;
609 /****** Object:  table [dbo].[sys_operation_log]  Script Date: 2019-11-23 22:13:15 ******/
610 GO
611
612
613 use [guns]
614 GO
615
616
617 CREATE TABLE [dbo].[sys_operation_log]
618 (
619     [operation_log_id] bigint NOT NULL ,
620     [log_type] varchar(32) NULL ,
621     [log_name] varchar(255) NULL ,
622     [user_id] bigint NULL ,
623     [class_name] varchar(255) NULL ,
624     [method] ntext NULL ,
625     [create_time] datetime NULL ,
626     [succeed] varchar(32) NULL ,
627     [message] ntext NULL 
628 )
629 ON [PRIMARY];
630 GO
631
632
633 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'sys_operation_log', NULL, NULL;
634 GO
635
636 ALTER TABLE [dbo].[sys_operation_log] ADD CONSTRAINT [PK_sys_operation_log] PRIMARY KEY CLUSTERED 
637 (
638 [operation_log_id]
639 )
640 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
641 GO
642
643
644
645 insert into [dbo].[sys_operation_log]([operation_log_id],[log_type],[log_name],[user_id],[class_name],[method],[create_time],[succeed],[message]) values
646 ('1198242675031269378','业务日志','清空业务日志','1','cn.stylefeng.guns.sys.modular.system.controller.LogController','delLog','2019-11-23 22:11:30.657','成功','主键id=null')
647
648 ;
649 /****** Object:  table [dbo].[sys_position]  Script Date: 2019-11-23 22:13:15 ******/
650 GO
651
652
653 use [guns]
654 GO
655
656
657 CREATE TABLE [dbo].[sys_position]
658 (
659     [position_id] bigint NOT NULL ,
660     [name] varchar(255) NULL ,
661     [code] varchar(255) NULL ,
662     [sort] bigint NULL ,
663     [status] varchar(255) NULL ,
664     [remark] varchar(255) NULL ,
665     [create_time] datetime NULL ,
666     [create_user] bigint NULL ,
667     [update_time] datetime NULL ,
668     [update_user] bigint NULL 
669 )
670 ON [PRIMARY];
671 GO
672
673
674 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'sys_position', NULL, NULL;
675 GO
676
677 ALTER TABLE [dbo].[sys_position] ADD CONSTRAINT [PK_sys_position] PRIMARY KEY CLUSTERED 
678 (
679 [position_id]
680 )
681 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
682 GO
683
684
685
686 insert into [dbo].[sys_position]([position_id],[name],[code],[sort],[status],[remark],[create_time],[create_user],[update_time],[update_user]) values
687 ('1','董事长','President','1','ENABLE','','2019-06-27 18:14:43.000','1',null,null),
688 ('2','总经理','GM','2','ENABLE',null,'2019-06-27 18:14:43.000','1',null,null)
689
690 ;
691 /****** Object:  table [dbo].[sys_relation]  Script Date: 2019-11-23 22:13:16 ******/
692 GO
693
694
695 use [guns]
696 GO
697
698
699 CREATE TABLE [dbo].[sys_relation]
700 (
701     [relation_id] bigint NOT NULL ,
702     [menu_id] bigint NULL ,
703     [role_id] bigint NULL 
704 )
705 ON [PRIMARY];
706 GO
707
708
709 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'sys_relation', NULL, NULL;
710 GO
711
712 ALTER TABLE [dbo].[sys_relation] ADD CONSTRAINT [PK_sys_relation] PRIMARY KEY CLUSTERED 
713 (
714 [relation_id]
715 )
716 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
717 GO
718
719
720
721 insert into [dbo].[sys_relation]([relation_id],[menu_id],[role_id]) values
722 ('1138325281010921473','105','5'),
723 ('1138325281031892994','132','5'),
724 ('1138325281044475906','138','5'),
725 ('1138325281057058818','139','5'),
726 ('1138325281069641730','140','5'),
727 ('1138325281082224642','155','5'),
728 ('1138325281099001858','156','5'),
729 ('1138325281111584770','157','5'),
730 ('1138325281124167682','141','5'),
731 ('1138325281136750593','142','5'),
732 ('1138325281149333506','143','5'),
733 ('1138325281161916418','144','5'),
734 ('1138325281174499329','171','5'),
735 ('1138325281187082241','149','5'),
736 ('1138325281199665154','1127085735660421122','5'),
737 ('1138325281216442370','172','5'),
738 ('1138325281229025281','145','5'),
739 ('1138325281245802498','1111545968697860098','5'),
740 ('1138325281258385410','1111546189892870145','5'),
741 ('1198240207090216962','105','1'),
742 ('1198240207195074561','106','1'),
743 ('1198240207253794818','107','1'),
744 ('1198240207350263809','108','1'),
745 ('1198240207488675842','109','1'),
746 ('1198240209258672129','110','1'),
747 ('1198240209304809473','111','1'),
748 ('1198240209359335425','112','1'),
749 ('1198240209405472769','113','1'),
750 ('1198240209451610114','165','1'),
751 ('1198240209497747458','166','1'),
752 ('1198240209539690497','167','1'),
753 ('1198240209581633537','114','1'),
754 ('1198240209644548098','115','1'),
755 ('1198240209686491138','116','1'),
756 ('1198240211427127298','117','1'),
757 ('1198240211485847553','118','1'),
758 ('1198240211531984897','162','1'),
759 ('1198240211594899458','163','1'),
760 ('1198240211636842498','164','1'),
761 ('1198240211678785537','119','1'),
762 ('1198240211720728577','120','1'),
763 ('1198240211766865921','121','1'),
764 ('1198240211808808961','122','1'),
765 ('1198240211854946305','150','1'),
766 ('1198240211892695042','151','1'),
767 ('1198240213675274242','128','1'),
768 ('1198240213713022977','134','1'),
769 ('1198240213754966018','158','1'),
770 ('1198240213796909058','159','1'),
771 ('1198240213826269185','130','1'),
772 ('1198240213868212226','131','1'),
773 ('1198240213901766658','135','1'),
774 ('1198240213939515394','136','1'),
775 ('1198240213981458433','137','1'),
776 ('1198240215281692674','152','1'),
777 ('1198240219589242881','153','1'),
778 ('1198240219643768833','154','1'),
779 ('1198240219702489090','132','1'),
780 ('1198240219748626434','138','1'),
781 ('1198240219798958082','139','1'),
782 ('1198240219845095426','140','1'),
783 ('1198240219891232770','155','1'),
784 ('1198240219941564417','156','1'),
785 ('1198240219991896065','157','1'),
786 ('1198240220067393538','133','1'),
787 ('1198240220105142274','160','1'),
788 ('1198240220151279617','161','1'),
789 ('1198240220197416961','141','1'),
790 ('1198240220239360002','142','1'),
791 ('1198240220285497345','143','1'),
792 ('1198240220381966337','144','1'),
793 ('1198240220461658114','1140241958563880962','1'),
794 ('1198240220516184065','1140241958563880963','1'),
795 ('1198240220566515714','1140241958563880964','1'),
796 ('1198240220616847361','1140241958563880965','1'),
797 ('1198240220650401793','1144441072852684801','1'),
798 ('1198240220688150529','1144441072852684802','1'),
799 ('1198240220730093569','1144441072852684803','1'),
800 ('1198240220759453697','1144441072852684804','1'),
801 ('1198240220843339777','171','1'),
802 ('1198240220893671426','149','1'),
803 ('1198240220931420162','1110777136265838594','1'),
804 ('1198240220973363201','1110777366856089602','1'),
805 ('1198240221011111938','1110777491464667137','1'),
806 ('1198240221065637889','1110787391943098370','1'),
807 ('1198240221090803713','1110839216310329346','1'),
808 ('1198240221128552450','1127085735660421122','1'),
809 ('1198240221174689793','1139826657964593154','1'),
810 ('1198240221229215746','1139827152854716418','1'),
811 ('1198240221283741697','1142957882422112257','1'),
812 ('1198240221329879041','1142957882422112258','1'),
813 ('1198240221380210690','1142957882422112259','1'),
814 ('1198240221443125249','1142957882426306562','1'),
815 ('1198240221489262593','1184836690833002497','1'),
816 ('1198240221535399937','1184836690833002498','1'),
817 ('1198240221568954370','1184836690833002499','1'),
818 ('1198240221606703106','1184836690833002500','1'),
819 ('1198240221652840449','172','1'),
820 ('1198240221690589186','145','1'),
821 ('1198240221736726530','1111545968697860098','1'),
822 ('1198240221766086657','1111546189892870145','1'),
823 ('1198240221799641089','1149955324929765378','1'),
824 ('1198240221841584130','1158737199356919809','1'),
825 ('1198240221879332865','1158737313060306945','1'),
826 ('1198240221921275905','1158737441812856834','1'),
827 ('1198240221950636033','1158737665570586625','1'),
828 ('1198240221975801858','1158737892184637441','1'),
829 ('1198240222000967682','1158738158376140801','1'),
830 ('1198240222026133505','1158738253440040962','1'),
831 ('1198240222051299329','1158738875899920385','1'),
832 ('1198240222089048066','1158739014999818241','1'),
833 ('1198240222114213889','1158738549708898305','1'),
834 ('1198240222139379713','1158739122743099393','1')
835
836 ;
837 /****** Object:  table [dbo].[sys_role]  Script Date: 2019-11-23 22:13:16 ******/
838 GO
839
840
841 use [guns]
842 GO
843
844
845 CREATE TABLE [dbo].[sys_role]
846 (
847     [role_id] bigint NOT NULL ,
848     [pid] bigint NULL ,
849     [name] varchar(255) NULL ,
850     [description] varchar(255) NULL ,
851     [sort] int NULL ,
852     [version] int NULL ,
853     [create_time] datetime NULL ,
854     [update_time] datetime NULL ,
855     [create_user] bigint NULL ,
856     [update_user] bigint NULL 
857 )
858 ON [PRIMARY];
859 GO
860
861
862 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'sys_role', NULL, NULL;
863 GO
864
865 ALTER TABLE [dbo].[sys_role] ADD CONSTRAINT [PK_sys_role] PRIMARY KEY CLUSTERED 
866 (
867 [role_id]
868 )
869 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
870 GO
871
872
873
874 insert into [dbo].[sys_role]([role_id],[pid],[name],[description],[sort],[version],[create_time],[update_time],[create_user],[update_user]) values
875 ('1','0','超级管理员','administrator','1','1',null,null,null,null),
876 ('5','1','第三方登录','oauth_role','2',null,null,null,null,null)
877
878 ;
879 /****** Object:  table [dbo].[sys_translation]  Script Date: 2019-11-23 22:13:16 ******/
880 GO
881
882
883 use [guns]
884 GO
885
886
887 CREATE TABLE [dbo].[sys_translation]
888 (
889     [tran_id] bigint NOT NULL ,
890     [tran_code] varchar(255) NULL ,
891     [tran_name] varchar(255) NULL ,
892     [languages] int NULL ,
893     [tran_value] varchar(255) NULL ,
894     [create_time] datetime NULL ,
895     [create_user] bigint NULL ,
896     [update_time] datetime NULL ,
897     [update_user] bigint NULL 
898 )
899 ON [PRIMARY];
900 GO
901
902
903 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'sys_translation', NULL, NULL;
904 GO
905
906 ALTER TABLE [dbo].[sys_translation] ADD CONSTRAINT [PK_sys_translation] PRIMARY KEY CLUSTERED 
907 (
908 [tran_id]
909 )
910 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
911 GO
912
913
914
915 insert into [dbo].[sys_translation]([tran_id],[tran_code],[tran_name],[languages],[tran_value],[create_time],[create_user],[update_time],[update_user]) values
916 ('1184999114561286145','BTN_SEARCH','搜索按钮','1','搜索',null,'1',null,null),
917 ('1184999114561286146','BTN_SEARCH','搜索按钮','2','search',null,null,null,null),
918 ('1184999114561286147','BTN_ADD','添加按钮','1','添加',null,null,null,null),
919 ('1184999114561286148','BTN_ADD','添加按钮','2','add',null,null,null,null),
920 ('1184999114561286150','BTN_EXPORT','导出按钮','1','导出',null,null,null,null),
921 ('1184999114561286151','BTN_EXPORT','导出按钮','2','export',null,null,null,null),
922 ('1185127290116263937','BTN_DELETE','删除按钮','1','删除',null,'1',null,null),
923 ('1185127461399056385','BTN_DELETE','删除按钮','2','delete',null,'1',null,null),
924 ('1185127896490987522','BTN_EDIT','修改按钮','1','修改',null,'1',null,null),
925 ('1185127978657402881','BTN_EDIT','修改按钮','2','edit',null,'1',null,null),
926 ('1185128265912700929','BTN_ASSIGN_ROLES','分配角色按钮','1','分配角色',null,'1',null,'1'),
927 ('1185128442824249345','BTN_ASSIGN_ROLES','分配角色按钮','2','assign roles',null,'1',null,'1'),
928 ('1185128740447866881','BTN_RESET_PASSWORD','重置密码','1','重置密码',null,'1',null,'1'),
929 ('1185128883926618114','BTN_RESET_PASSWORD','重置密码','2','reset password',null,'1',null,'1'),
930 ('1185129198088376321','BTN_SUBMIT','提交按钮','1','提交',null,'1',null,null),
931 ('1185129308289519618','BTN_SUBMIT','提交按钮','2','submit',null,'1',null,null),
932 ('1185129491752570882','BTN_CANCEL','取消按钮','1','取消',null,'1',null,null),
933 ('1185129607062376450','BTN_CANCEL','取消按钮','2','cancel',null,'1',null,null),
934 ('1185129934188728322','BTN_CONFIRM','确定按钮','1','确定',null,'1',null,null),
935 ('1185130144491130881','BTN_CONFIRM','确定按钮','2','confirm',null,'1',null,null),
936 ('1185130586352668673','BTN_SAVE','保存按钮','1','保存',null,'1',null,null),
937 ('1185130686109995009','BTN_SAVE','保存按钮','2','save',null,'1',null,null),
938 ('1185131904605638657','BTN_PERMISSION_CONFIG','权限配置按钮','1','权限配置',null,'1',null,null),
939 ('1185132038101946370','BTN_PERMISSION_CONFIG','权限配置按钮','2','permission config',null,'1',null,null),
940 ('1185132531570200577','BTN_EXPAND_ALL','展开所有按钮','1','展开所有',null,'1',null,null),
941 ('1185132702320316418','BTN_EXPAND_ALL','展开所有按钮','2','expand all',null,'1',null,null),
942 ('1185133005677547522','BTN_COLLAPSE_ALL','折叠所有按钮','1','折叠所有',null,'1',null,null),
943 ('1185133152151031810','BTN_COLLAPSE_ALL','折叠所有按钮','2','collapse all',null,'1',null,null),
944 ('1185133716238782466','BTN_CLEAR_LOG','清空日志按钮','1','清空日志',null,'1',null,null),
945 ('1185133818449776642','BTN_CLEAR_LOG','清空日志按钮','2','clear log',null,'1',null,null),
946 ('1185134961246621697','BTN_BACK','返回按钮','1','返回',null,'1',null,null),
947 ('1185135058730635265','BTN_BACK','返回按钮','2','back',null,'1',null,null),
948 ('1185135339954524162','BTN_GENERATE_CODE','生成代码按钮','1','生成代码',null,'1',null,null),
949 ('1185135449107091458','BTN_GENERATE_CODE','生成代码按钮','2','generate code ',null,'1',null,null),
950 ('1185135668041371650','BTN_RESET','重置按钮','1','重置',null,'1',null,null),
951 ('1185135783120490497','BTN_RESET','重置按钮','2','reset',null,'1',null,null),
952 ('1185136595410374658','BTN_IMPORT_PROCESS','导入流程按钮','1','导入流程',null,'1',null,null),
953 ('1185136784481210369','BTN_IMPORT_PROCESS','导入流程按钮','2','import process',null,'1',null,null),
954 ('1185137183988666370','BTN_BATCH_DELETE','批量删除按钮','1','批量删除',null,'1',null,null),
955 ('1185137301957660673','BTN_BATCH_DELETE','批量删除按钮','2','batch delete',null,'1',null,null),
956 ('1185138720563548161','BTN_LEAVE_APPLICATION','新建请假单按钮','1','新建请假单',null,'1',null,null),
957 ('1185138909642772482','BTN_LEAVE_APPLICATION','新建请假单按钮','2','leave application',null,'1',null,null),
958 ('1185189608899715074','LAYER_TITLE','提示框标题','1','信息',null,'1',null,null),
959 ('1185189726621245441','LAYER_TITLE','提示框标题','2','infomation',null,'1',null,null),
960 ('1185192392994803714','BTN_ADD_TYPE','添加类型','1','添加类型',null,'1',null,null),
961 ('1185192465178775553','BTN_ADD_TYPE','添加类型','2','add dict type',null,'1',null,null),
962 ('1185196578591412226','BTN_DETAIL','查看详情按钮','1','查看详情',null,'1',null,null),
963 ('1185196624628092930','BTN_DETAIL','查看详情按钮','2','detail',null,'1',null,null),
964 ('1185198263422390273','BTN_CONDITION','查询条件','1','查询条件',null,'1',null,null),
965 ('1185198328505405442','BTN_CONDITION','查询条件','2','condition',null,'1',null,null),
966 ('1185202736316248065','BTN_PROCESS_DESIGNER','流程设计器按钮','1','流程设计器',null,'1',null,null),
967 ('1185202834534264834','BTN_PROCESS_DESIGNER','流程设计器按钮','2','process designer',null,'1',null,null),
968 ('1185202924925710337','BTN_DEPLOY','部署按钮','1','部署',null,'1',null,null),
969 ('1185202963215511553','BTN_DEPLOY','部署按钮','2','deploy',null,'1',null,null),
970 ('1185203057667043330','BTN_PREVIEW','预览按钮','1','预览',null,'1',null,null),
971 ('1185203128915685378','BTN_PREVIEW','预览按钮','2','preview',null,'1',null,null),
972 ('1185203319320309762','BTN_MAP_MODEL','映射模型按钮','1','映射模型',null,'1',null,null),
973 ('1185203369178001410','BTN_MAP_MODEL','映射模型按钮','2','map model',null,'1',null,null),
974 ('1185203453026332673','BTN_DOWNLOAD','打包下载','1','打包下载',null,'1',null,null),
975 ('1185203497880219649','BTN_DOWNLOAD','打包下载','2','download',null,'1',null,null),
976 ('1185203615111016450','BTN_HANG_UP','挂起按钮','1','挂起',null,'1',null,null),
977 ('1185203690688180226','BTN_HANG_UP','挂起按钮','2','hang-up',null,'1',null,null),
978 ('1185203748275974146','BTN_ACTIVE','激活按钮','1','激活',null,'1',null,null),
979 ('1185203805092016130','BTN_ACTIVE','激活按钮','2','active',null,'1',null,null),
980 ('1185204123397746689','BTN_PROCESS_INFO','流程信息按钮','1','流程信息',null,'1',null,null),
981 ('1185204183095275522','BTN_PROCESS_INFO','流程信息按钮','2','process info',null,'1',null,null),
982 ('1185204321981263874','BTN_APPOINT','委派按钮','1','委派',null,'1',null,null),
983 ('1185204360698884097','BTN_APPOINT','委派按钮','2','appoint',null,'1',null,null),
984 ('1185204489879252993','BTN_DISABLE','作废按钮','1','作废',null,'1',null,null),
985 ('1185204530614333441','BTN_DISABLE','作废按钮','2','disable',null,'1',null,null),
986 ('1185204645152387073','BTN_APPOINT_ROLE','指定角色按钮','1','指定角色',null,'1',null,null),
987 ('1185204717277638657','BTN_APPOINT_ROLE','指定角色按钮','2','appoint role',null,'1',null,null),
988 ('1185205156547096577','BTN_CHOOSE','选择按钮','1','选择',null,'1',null,null),
989 ('1185205205565927426','BTN_CHOOSE','选择按钮','2','choose',null,'1',null,null),
990 ('1185205330925285377','BTN_DEAL','办理按钮','1','办理',null,'1',null,null),
991 ('1185205405613256705','BTN_DEAL','办理按钮','2','deal',null,'1',null,null),
992 ('1185205639139520513','BTN_APPOINT_PERSON','指定人员按钮','1','指定人员',null,'1',null,null),
993 ('1185205725617680386','BTN_APPOINT_PERSON','指定人员','2','appoint person',null,'1',null,null),
994 ('1185205860275810306','BTN_APPROVE','批准按钮','1','批准',null,'1',null,null),
995 ('1185205911563759617','BTN_APPROVE','批准按钮','2','approve',null,'1',null,null),
996 ('1185206072910245890','BTN_REJECT','驳回按钮','1','驳回',null,'1',null,null),
997 ('1185206116057051138','BTN_REJECT','驳回按钮','2','reject',null,'1',null,null),
998 ('1185415573330403330','FIELD_ACCOUNT','账号字段','1','账号',null,'1',null,null),
999 ('1185415640732868609','FIELD_ACCOUNT','账号字段','2','account',null,'1',null,null),
1000 ('1185415905989042177','FIELD_DEPT','部门字段','1','部门',null,'1',null,null),
1001 ('1185415962184327170','FIELD_DEPT','部门字段','2','dept',null,'1',null,null),
1002 ('1185416053171363842','FIELD_POST','职位字段','1','职位',null,'1',null,null),
1003 ('1185416141247553537','FIELD_POST','职位字段','2','post',null,'1',null,null),
1004 ('1185416219261607937','FIELD_PHONE','电话字段','1','电话',null,'1',null,null),
1005 ('1185416277042339841','FIELD_PHONE','电话字段','2','phone',null,'1',null,null),
1006 ('1185416377336537090','FIELD_CREATE_TIME','创建时间字段','1','创建时间',null,'1',null,null),
1007 ('1185416420625948673','FIELD_CREATE_TIME','创建时间字段','2','create time',null,'1',null,null),
1008 ('1185416504335867906','FIELD_UPDATE_TIME','更新时间字段','1','更新时间',null,'1',null,null),
1009 ('1185416545180000257','FIELD_UPDATE_TIME','更新时间字段','2','update time',null,'1',null,null),
1010 ('1185416642995363841','FIELD_STATUS','状态字段','1','状态',null,'1',null,null),
1011 ('1185416711777755138','FIELD_STATUS','状态字段','2','status',null,'1',null,null),
1012 ('1185423973135941633','FIELD_BIRTHDAY','出生日期字段','1','出生日期',null,'1',null,null),
1013 ('1185424101922045953','FIELD_BIRTHDAY','出生日期字段','2','birthday',null,'1',null,null),
1014 ('1185424218197794819','TITLE_ADD_USER','添加用户标题','1','添加用户',null,'1',null,null),
1015 ('1185424218197794820','TITLE_ADD_USER','添加用户标题','2','add user',null,'1',null,null),
1016 ('1185424218197794821','TITLE_EDIT_USER','编辑用户标题','1','编辑用户',null,'1',null,null),
1017 ('1185424218197794822','TITLE_EDIT_USER','编辑用户标题','2','edit user',null,'1',null,null),
1018 ('1185424218197794823','TITLE_ROLE_ASSIGN','角色分配标题','1','角色分配',null,'1',null,null),
1019 ('1185424218197794824','TITLE_ROLE_ASSIGN','角色分配标题','2','role assign',null,'1',null,null),
1020 ('1185424218197794825','TITLE_ADD_ROLE','添加角色标题','1','添加角色',null,'1',null,null),
1021 ('1185424218197794826','TITLE_ADD_ROLE','添加角色标题','2','add role',null,'1',null,null),
1022 ('1185424218197794827','TITLE_EDIT_ROLE','修改角色标题','1','修改角色',null,'1',null,null),
1023 ('1185424218197794828','TITLE_EDIT_ROLE','修改角色标题','2','edit role',null,'1',null,null),
1024 ('1185424218197794829','TITLE_ROLE_CONFIG','权限配置标题','1','权限配置',null,'1',null,null),
1025 ('1185424218197794830','TITLE_ROLE_CONFIG','权限配置标题','2','role config',null,'1',null,null),
1026 ('1185424218197794831','TITLE_ADD_DEPT','添加部门标题','1','添加部门',null,'1',null,null),
1027 ('1185424218197794832','TITLE_ADD_DEPT','添加部门标题','2','add dept',null,'1',null,null),
1028 ('1185424218197794833','TITLE_EDIT_DEPT','修改部门标题','1','修改部门',null,'1',null,null),
1029 ('1185424218197794834','TITLE_EDIT_DEPT','修改部门标题','2','edit dept',null,'1',null,null),
1030 ('1185424218197794835','TITLE_ADD_POST','添加职位标题','1','添加职位',null,'1',null,null),
1031 ('1185424218197794836','TITLE_ADD_POST','添加职位标题','2','add post',null,'1',null,null),
1032 ('1185424218197794837','TITLE_EDIT_POST','修改职位标题','1','修改职位',null,'1',null,null),
1033 ('1185424218197794838','TITLE_EDIT_POST','修改职位标题','2','edit post',null,'1',null,null),
1034 ('1185424218197794839','TITLE_ADD_DICT_TYPE','添加字典类型标题','1','添加字典类型',null,'1',null,null),
1035 ('1185424218197794840','TITLE_ADD_DICT_TYPE','添加字典类型标题','2','add dict type',null,'1',null,null),
1036 ('1185424218197794841','TITLE_EDIT_DICT_TYPE','修改字典类型标题','1','修改字典类型',null,'1',null,null),
1037 ('1185424218197794842','TITLE_EDIT_DICT_TYPE','修改字典类型标题','2','edit dict type',null,'1',null,null),
1038 ('1185424218197794843','TITLE_ADD_DICT','添加字典标题','1','添加字典',null,'1',null,null),
1039 ('1185424218197794844','TITLE_ADD_DICT','添加字典标题','2','add dict',null,'1',null,null),
1040 ('1185424218197794845','TITLE_EDIT_DICT','修改字典标题','1','修改字典',null,'1',null,null),
1041 ('1185424218197794846','TITLE_EDIT_DICT','修改字典标题','2','edit dict',null,'1',null,null),
1042 ('1185424218197794847','TITLE_ADD_MENU','添加菜单标题','1','添加菜单',null,'1',null,null),
1043 ('1185424218197794848','TITLE_ADD_MENU','添加菜单标题','2','add menu',null,'1',null,null),
1044 ('1185424218197794849','TITLE_EDIT_MENU','修改菜单标题','1','修改菜单',null,'1',null,null),
1045 ('1185424218197794850','TITLE_EDIT_MENU','修改菜单标题','2','edit menu',null,'1',null,null),
1046 ('1185424218197794851','TITLE_LOG_DETAIL','日志详情标题','1','日志详情',null,'1',null,null),
1047 ('1185424218197794852','TITLE_LOG_DETAIL','日志详情标题','2','log detail',null,'1',null,null),
1048 ('1185424218197794853','TITLE_SELECT_FIELD','选择字段标题','1','选择字段',null,'1',null,null),
1049 ('1185424218197794854','TITLE_SELECT_FIELD','选择字段标题','2','select field',null,'1',null,null),
1050 ('1185424218197794855','TITLE_ADD_LANGUAGE','添加多语言标题','1','添加多语言',null,'1',null,null),
1051 ('1185424218197794856','TITLE_ADD_LANGUAGE','添加多语言标题','2','add language',null,'1',null,null),
1052 ('1185424218197794857','TITLE_EDIT_LANGUAGE','修改多语言标题','1','修改多语言',null,'1',null,null),
1053 ('1185424218197794858','TITLE_EDIT_LANGUAGE','修改多语言标题','2','edit language',null,'1',null,null),
1054 ('1185424218197794859','TITLE_ADD','添加标题','1','添加',null,'1',null,null),
1055 ('1185424218197794860','TITLE_ADD','添加标题','2','add',null,'1',null,null),
1056 ('1185424218197794861','TITLE_PROCESS_DESIGNER','流程设计器标题','1','流程设计器',null,'1',null,null),
1057 ('1185424218197794862','TITLE_PROCESS_DESIGNER','流程设计器标题','2','process designer',null,'1',null,null),
1058 ('1185424218197794863','TITLE_IMPORT_PROCESS','导入流程标题','1','导入流程',null,'1',null,null),
1059 ('1185424218197794864','TITLE_IMPORT_PROCESS','导入流程标题','2','import process',null,'1',null,null),
1060 ('1185424218197794865','TITLE_EDIT','修改标题','1','修改标题',null,'1',null,null),
1061 ('1185424218197794866','TITLE_EDIT','修改标题','2','edit',null,'1',null,null),
1062 ('1185424218197794867','TITLE_PREVIEW_PROCESS','预览流程xml标题','1','预览流程xml',null,'1',null,null),
1063 ('1185424218197794868','TITLE_PREVIEW_PROCESS','预览流程xml标题','2','preview process xml',null,'1',null,null),
1064 ('1185424218197794869','TITLE_APPOINT','指定委派对象标题','1','指定委派对象',null,'1',null,null),
1065 ('1185424218197794870','TITLE_APPOINT','指定委派对象标题','2','appoint',null,'1',null,null),
1066 ('1185424218197794871','TITLE_HANDLE','办理标题','1','办理',null,'1',null,null),
1067 ('1185424218197794872','TITLE_HANDLE','办理标题','2','handle',null,'1',null,null),
1068 ('1185424218197794873','TITLE_PROCESS_INFO','流程信息标题','1','流程信息',null,'1',null,null),
1069 ('1185424218197794874','TITLE_PROCESS_INFO','流程信息标题','2','process info',null,'1',null,null),
1070 ('1185424218197794875','MENU_DASHBOARD','菜单_主控面板','1','主控面板',null,'1',null,null),
1071 ('1185424218197794876','MENU_DASHBOARD','菜单_主控面板','2','dashboard',null,'1',null,null),
1072 ('1185424218197794877','MENU_CONSOLE','菜单_项目介绍','1','项目介绍',null,'1',null,null),
1073 ('1185424218197794878','MENU_CONSOLE','菜单_项目介绍','2','project info',null,'1',null,null),
1074 ('1185424218197794879','MENU_CONSOLE2','菜单_统计报表','1','统计报表',null,'1',null,null),
1075 ('1185424218197794880','MENU_CONSOLE2','菜单_统计报表','2','stat',null,'1',null,null),
1076 ('1185424218197794881','MENU_SYS_MESSAGE','菜单_消息通知','1','消息通知',null,'1',null,null),
1077 ('1185424218197794882','MENU_SYS_MESSAGE','菜单_消息通知','2','message info',null,'1',null,null),
1078 ('1185424218197794883','MENU_SYSTEM_INFO','菜单_系统监控','1','系统监控',null,'1',null,null),
1079 ('1185424218197794884','MENU_SYSTEM_INFO','菜单_系统监控','2','monitor',null,'1',null,null),
1080 ('1185424218197794885','MENU_SYSTEM','菜单_系统管理','1','系统管理',null,'1',null,null),
1081 ('1185424218197794886','MENU_SYSTEM','菜单_系统管理','2','system',null,'1',null,null),
1082 ('1185424218197794887','MENU_MGR','菜单_用户管理','1','用户管理',null,'1',null,null),
1083 ('1185424218197794888','MENU_MGR','菜单_用户管理','2','users',null,'1',null,null),
1084 ('1185424218197794889','MENU_ROLE','菜单_角色管理','1','角色管理',null,'1',null,null),
1085 ('1185424218197794890','MENU_ROLE','菜单_角色管理','2','roles',null,'1',null,null),
1086 ('1185424218197794891','MENU_DEPT','菜单_部门管理','1','部门管理',null,'1',null,null),
1087 ('1185424218197794892','MENU_DEPT','菜单_部门管理','2','depts',null,'1',null,null),
1088 ('1185424218197794893','MENU_SYS_POSITION','菜单_职位管理','1','职位管理',null,'1',null,null),
1089 ('1185424218197794894','MENU_SYS_POSITION','菜单_职位管理','2','posts',null,'1',null,null),
1090 ('1185424218197794895','MENU_DICT','菜单_字典管理','1','字典管理',null,'1',null,null),
1091 ('1185424218197794896','MENU_DICT','菜单_字典管理','2','dict type',null,'1',null,null),
1092 ('1185424218197794897','MENU_MENU','菜单_菜单管理','1','菜单管理',null,'1',null,null),
1093 ('1185424218197794898','MENU_MENU','菜单_菜单管理','2','menus',null,'1',null,null),
1094 ('1185424218197794899','MENU_LOGINLOG','菜单_登录日志','1','登录日志',null,'1',null,null),
1095 ('1185424218197794900','MENU_LOGINLOG','菜单_登录日志','2','login log',null,'1',null,null),
1096 ('1185424218197794901','MENU_LOG','菜单_业务日志','1','业务日志',null,'1',null,null),
1097 ('1185424218197794902','MENU_LOG','菜单_业务日志','2','business log',null,'1',null,null),
1098 ('1185424218197794903','MENU_DRUID','菜单_监控管理','1','监控管理',null,'1',null,null),
1099 ('1185424218197794904','MENU_DRUID','菜单_监控管理','2','druid monitor',null,'1',null,null),
1100 ('1185424218197794905','MENU_NOTICE','菜单_通知管理','1','通知管理',null,'1',null,null),
1101 ('1185424218197794906','MENU_NOTICE','菜单_通知管理','2','messages',null,'1',null,null),
1102 ('1185424218197794907','MENU_TENANT_INFO','菜单_租户管理','1','租户管理',null,'1',null,null),
1103 ('1185424218197794908','MENU_TENANT_INFO','菜单_租户管理','2','tenants',null,'1',null,null),
1104 ('1185424218197794909','MENU_DEV_TOOLS','菜单_开发管理','1','开发管理',null,'1',null,null),
1105 ('1185424218197794910','MENU_DEV_TOOLS','菜单_开发管理','2','developer',null,'1',null,null),
1106 ('1185424218197794911','MENU_META_DATA','菜单_系统配置','1','系统配置',null,'1',null,null),
1107 ('1185424218197794912','MENU_META_DATA','菜单_系统配置','2','system config',null,'1',null,null),
1108 ('1185424218197794913','MENU_SYS_CONFIG','菜单_参数配置','1','参数配置',null,'1',null,null),
1109 ('1185424218197794914','MENU_SYS_CONFIG','菜单_参数配置','2','parameters',null,'1',null,null),
1110 ('1185424218197794915','MENU_DATA_SOURCE','菜单_数据源管理','1','数据源管理',null,'1',null,null),
1111 ('1185424218197794916','MENU_DATA_SOURCE','菜单_数据源管理','2','datasources',null,'1',null,null),
1112 ('1185424218197794917','MENU_CODE_GENERATE','菜单_代码生成','1','代码生成',null,'1',null,null),
1113 ('1185424218197794918','MENU_CODE_GENERATE','菜单_代码生成','2','generator',null,'1',null,null),
1114 ('1185424218197794919','MENU_API_MGR','菜单_接口文档','1','接口文档',null,'1',null,null),
1115 ('1185424218197794920','MENU_API_MGR','菜单_接口文档','2','api docs',null,'1',null,null),
1116 ('1185424218197794921','MENU_DEMOS_SHOW','菜单_模板页面','1','模板页面',null,'1',null,null),
1117 ('1185424218197794922','MENU_DEMOS_SHOW','菜单_模板页面','2','examples',null,'1',null,null),
1118 ('1185424218197794923','MENU_EXCEL_IMPORT','菜单_excel导入','1','excel导入',null,'1',null,null),
1119 ('1185424218197794924','MENU_EXCEL_IMPORT','菜单_excel导入','2','excel import',null,'1',null,null),
1120 ('1185424218197794925','MENU_EXCEL_EXPORT','菜单_excel导出','1','excel导出',null,'1',null,null),
1121 ('1185424218197794926','MENU_EXCEL_EXPORT','菜单_excel导出','2','excel export',null,'1',null,null),
1122 ('1185424218197794927','MENU_ADVANCED_FORM','菜单_高级表单','1','高级表单',null,'1',null,null),
1123 ('1185424218197794928','MENU_ADVANCED_FORM','菜单_高级表单','2','advanced form',null,'1',null,null),
1124 ('1185424218197794929','MENU_PDF_VIEW','菜单_文档预览','1','文档预览',null,'1',null,null),
1125 ('1185424218197794930','MENU_PDF_VIEW','菜单_文档预览','2','preview office',null,'1',null,null),
1126 ('1185424218197794931','MENU_TRANSLATION','菜单_多语言配置','1','多语言配置',null,'1',null,null),
1127 ('1185424218197794932','MENU_TRANSLATION','菜单_多语言配置','2','languages',null,'1',null,null),
1128 ('1185424218197794933','MENU_ONLINE_OFFICE','菜单_在线办公','1','在线办公',null,'1',null,null),
1129 ('1185424218197794934','MENU_ONLINE_OFFICE','菜单_在线办公','2','online office',null,'1',null,null),
1130 ('1185424218197794935','MENU_OFFICE_MODEL','菜单_工作流程','1','工作流程',null,'1',null,null),
1131 ('1185424218197794936','MENU_OFFICE_MODEL','菜单_工作流程','2','workflow',null,'1',null,null),
1132 ('1185424218197794937','MENU_MODEL_MANAGER','菜单_模型管理','1','模型管理',null,'1',null,null),
1133 ('1185424218197794938','MENU_MODEL_MANAGER','菜单_模型管理','2','models',null,'1',null,null),
1134 ('1185424218197794939','MENU_PROCDEF','菜单_流程管理','1','流程管理',null,'1',null,null),
1135 ('1185424218197794940','MENU_PROCDEF','菜单_流程管理','2','workflow manager',null,'1',null,null),
1136 ('1185424218197794941','MENU_PROCESS_ON','菜单_运行中流程','1','运行中流程',null,'1',null,null),
1137 ('1185424218197794942','MENU_PROCESS_ON','菜单_运行中流程','2','running',null,'1',null,null),
1138 ('1185424218197794943','MENU_HIPROCDEF','菜单_历史流程','1','历史流程',null,'1',null,null),
1139 ('1185424218197794944','MENU_HIPROCDEF','菜单_历史流程','2','history',null,'1',null,null),
1140 ('1185424218197794945','MENU_TASK_MANAGER','菜单_任务管理','1','任务管理',null,'1',null,null),
1141 ('1185424218197794946','MENU_TASK_MANAGER','菜单_任务管理','2','task manager',null,'1',null,null),
1142 ('1185424218197794947','MENU_RUTASK','菜单_待办任务','1','待办任务',null,'1',null,null),
1143 ('1185424218197794948','MENU_RUTASK','菜单_待办任务','2','task to do',null,'1',null,null),
1144 ('1185424218197794949','MENU_HAVETASK','菜单_已办任务','1','已办任务',null,'1',null,null),
1145 ('1185424218197794950','MENU_HAVETASK','菜单_已办任务','2','done task',null,'1',null,null),
1146 ('1185424218197794951','MENU_APPROVE','菜单_申请审批','1','申请审批',null,'1',null,null),
1147 ('1185424218197794952','MENU_APPROVE','菜单_申请审批','2','apply for',null,'1',null,null),
1148 ('1185424218197794953','MENU_LEAVE','菜单_请假审批','1','请假审批',null,'1',null,null),
1149 ('1185424218197794954','MENU_LEAVE','菜单_请假审批','2','apply for leave',null,'1',null,null),
1150 ('1185424218197794955','TITLE_BASE_INFO','标题_基本信息','1','基本信息',null,'1',null,null),
1151 ('1185424218197794956','TITLE_BASE_INFO','标题_基本信息','2','base info',null,'1',null,null),
1152 ('1185424218197794957','TITLE_DUTY_INFO','标题_职务信息','1','职务信息',null,'1',null,null),
1153 ('1185424218197794958','TITLE_DUTY_INFO','标题_职务信息','2','duty info',null,'1',null,null),
1154 ('1185424226450931714','FIELD_PASSWORD','密码字段','1','密码',null,'1',null,null),
1155 ('1185424290489565185','FIELD_PASSWORD','密码字段','2','password',null,'1',null,null),
1156 ('1185424619130060801','FIELD_REPEAT_PASSWORD','重复密码字段','2','repeat password',null,'1',null,'1'),
1157 ('1185424729297649665','FIELD_REPEAT_PASSWORD','重复密码字段','1','重复密码',null,'1',null,null),
1158 ('1185424867197976577','FIELD_EMAIL','邮箱字段','1','邮箱',null,'1',null,null),
1159 ('1185424928715833346','FIELD_EMAIL','邮箱字段','2','email',null,'1',null,null),
1160 ('1185425063239745538','FIELD_SEX','性别字段','1','性别',null,'1',null,null),
1161 ('1185425140188446722','FIELD_SEX','性别字段','2','sex',null,'1',null,null),
1162 ('1185426601941139661','FIELD_OPERATION','操作字段','1','操作',null,'1',null,null),
1163 ('1185426601941139662','FIELD_OPERATION','操作字段','2','operation',null,'1',null,null),
1164 ('1185426859010031617','FIELD_NAME','名称字段','1','名称',null,'1',null,null),
1165 ('1185426937057640450','FIELD_NAME','名称字段','2','name',null,'1',null,null),
1166 ('1185427225235685377','FIELD_SUPERIOR_ROLE','上级角色字段','1','上级角色',null,'1',null,null),
1167 ('1185427320681267202','FIELD_SUPERIOR_ROLE','上级角色字段','2','superior role',null,'1',null,'1'),
1168 ('1185427531721867266','FIELD_ALIAS','别名字段','2','alias',null,'1',null,'1'),
1169 ('1185427681475297281','FIELD_ALIAS','别名字段','1','别名',null,'1',null,null),
1170 ('1185427922840715265','FIELD_ROLE_NAME','角色名称字段','1','角色名称',null,'1',null,null),
1171 ('1185428016252059650','FIELD_ROLE_NAME','角色名称字段','2','role name',null,'1',null,'1'),
1172 ('1185428250399080450','FIELD_SUPERIOR_NAME','上级名称字段','1','上级名称',null,'1',null,null),
1173 ('1185428394779607041','FIELD_SUPERIOR_NAME','上级名称字段','2','superior name',null,'1',null,'1'),
1174 ('1185428542482022402','FIELD_SORT','排序字段','1','排序',null,'1',null,null),
1175 ('1185428621955694593','FIELD_SORT','排序字段','2','sort',null,'1',null,null),
1176 ('1185429113037389826','FIELD_DEPT_SHORT_NAME','部门简称字段','1','部门简称',null,'1',null,'1'),
1177 ('1185429265257070594','FIELD_DEPT_SHORT_NAME','部门简称字段','2','dept short name',null,'1',null,'1'),
1178 ('1185429532220325889','FIELD_DEPT_FULL_NAME','部门全称字段','1','部门全称',null,'1',null,null),
1179 ('1185429673622896642','FIELD_DEPT_FULL_NAME','部门全称字段','2','dept full name',null,'1',null,'1'),
1180 ('1185430031527051266','FIELD_REMARK','备注字段','1','备注',null,'1',null,null),
1181 ('1185430121348071425','FIELD_REMARK','备注字段','2','remark',null,'1',null,'1'),
1182 ('1185430332564832258','FIELD_DEPT_NAME','部门名称字段','1','部门名称',null,'1',null,null),
1183 ('1185430445257392130','FIELD_DEPT_NAME','部门名称字段','2','dept name',null,'1',null,'1'),
1184 ('1185430718591795201','FIELD_POST_NAME','职位名称字段','1','职位名称',null,'1',null,null),
1185 ('1185430791140671489','FIELD_POST_NAME','职位名称字段','2','post name',null,'1',null,'1'),
1186 ('1185430947961503745','FIELD_POST_CODE','职位编码字段','1','职位编码',null,'1',null,null),
1187 ('1185431063556521985','FIELD_POST_CODE','职位编码字段','2','post code',null,'1',null,'1'),
1188 ('1185431297082785793','FIELD_ORDER','顺序字段','1','顺序',null,'1',null,null),
1189 ('1185431380062896129','FIELD_ORDER','顺序字段','2','order',null,'1',null,null),
1190 ('1185431632866181121','FIELD_TYPE_NAME','类型名称字段','1','类型名称',null,'1',null,null),
1191 ('1185431700226703361','FIELD_TYPE_NAME','类型名称字段','2','type name',null,'1',null,'1'),
1192 ('1185432944068526081','FIELD_TYPE_CODE','类型编码字段','1','类型编码',null,'1',null,null),
1193 ('1185433063430029314','FIELD_TYPE_CODE','类型编码字段','2','type code',null,'1',null,null),
1194 ('1185433367965859841','FIELD_SYSTEM_DICT_FLAG','是否是系统字典字段','1','是否是系统字典',null,'1',null,null),
1195 ('1185433533968023554','FIELD_SYSTEM_DICT_FLAG','是否是系统字典字段','2','system dictionary or not',null,'1',null,null),
1196 ('1185433719826022402','FIELD_DICT_DESCRIPTION','字典描述字段','1','字典描述',null,'1',null,null),
1197 ('1185433828135534593','FIELD_DICT_DESCRIPTION','字典描述字段','2','dict deion',null,'1',null,null),
1198 ('1185434066179063809','FIELD_ADD_TIME','添加时间字段','1','添加时间',null,'1',null,null),
1199 ('1185434203345387522','FIELD_ADD_TIME','添加时间字段','2','add time',null,'1',null,null),
1200 ('1185434492697837569','FIELD_SYSTEM_DICT','系统字典字段','1','系统字典',null,'1',null,null),
1201 ('1185434574587428865','FIELD_SYSTEM_DICT','系统字典字段','2','system dict',null,'1',null,null),
1202 ('1185434888703049729','FIELD_YES','是字段','1','是',null,'1',null,null),
1203 ('1185435024334258177','FIELD_YES','是字段','2','yes',null,'1',null,null),
1204 ('1185435102755160066','FIELD_NO','否字段','1','否',null,'1',null,null),
1205 ('1185435206937477122','FIELD_NO','否字段','2','no',null,'1',null,null),
1206 ('1185435476765442049','FIELD_MENU_NAME','菜单名称字段','1','菜单名称',null,'1',null,null),
1207 ('1185435537318608897','FIELD_MENU_NAME','菜单名称字段','2','menu name',null,'1',null,null),
1208 ('1185435685855690754','FIELD_MENU_CODE','菜单编号字段','1','菜单编号',null,'1',null,null),
1209 ('1185435816109801473','FIELD_MENU_CODE','菜单编号字段','2','menu code',null,'1',null,null),
1210 ('1185436012176736257','FIELD_MENU_PCODE','菜单父编号字段','1','菜单父编号',null,'1',null,null),
1211 ('1185436181475622913','FIELD_MENU_PCODE','菜单父编号字段','2','menu parent code',null,'1',null,null),
1212 ('1185436494915960834','FIELD_REQUEST_URL','请求地址字段','1','请求地址',null,'1',null,null),
1213 ('1185436554617683970','FIELD_REQUEST_URL','请求地址字段','2','request url',null,'1',null,null),
1214 ('1185437647829467138','FIELD_LEVEL','层级字段','1','层级',null,'1',null,null),
1215 ('1185437715454230530','FIELD_LEVEL','层级字段','2','level',null,'1',null,null),
1216 ('1185437912972394497','FIELD_MENU_FLAG','是否是菜单字段','1','是否是菜单',null,'1',null,null),
1217 ('1185438098784256002','FIELD_MENU_FLAG','是否是菜单字段','2','Is it the menu',null,'1',null,null),
1218 ('1185438543414034433','FIELD_PARENT_CODE','父级编号字段','1','父级编号',null,'1',null,null),
1219 ('1185438666789486594','FIELD_PARENT_CODE','父级编号字段','2','parent code',null,'1',null,null),
1220 ('1185438827003510786','FIELD_ICON','图标字段','1','图标',null,'1',null,null),
1221 ('1185438903448895489','FIELD_ICON','图标字段','2','icon',null,'1',null,null),
1222 ('1185439184152690689','FIELD_SYSTEM_CLASSIFY','系统分类字段','1','系统分类',null,'1',null,null),
1223 ('1185439285638070273','FIELD_SYSTEM_CLASSIFY','系统分类字段','2','system classify',null,'1',null,null),
1224 ('1185439883024400386','FIELD_LOG_NAME','日志名称字段','1','日志名称',null,'1',null,null),
1225 ('1185439985445109761','FIELD_LOG_NAME','日志名称字段','2','log name',null,'1',null,null),
1226 ('1185440188059353089','FIELD_USER_NAME','用户名称字段','1','用户名称',null,'1',null,null),
1227 ('1185440312504352770','FIELD_USER_NAME','用户名称字段','2','username',null,'1',null,null),
1228 ('1185440464552067074','FIELD_TIME','时间字段','1','时间',null,'1',null,null),
1229 ('1185440522823532545','FIELD_TIME','时间字段','2','time',null,'1',null,null),
1230 ('1185440770258108418','FIELD_SPECIFIC_MESSAGE','具体消息字段','1','具体消息',null,'1',null,null),
1231 ('1185440854764945410','FIELD_SPECIFIC_MESSAGE','具体消息字段','2','specific message',null,'1',null,null),
1232 ('1185441078254239745','FIELD_IP','ip字段','1','IP 地址',null,'1',null,null),
1233 ('1185441170583453698','FIELD_IP','ip字段','2','IP address',null,'1',null,null),
1234 ('1185441349017534466','FIELD_LOG_TYPE','日志类型字段','1','日志类型',null,'1',null,null),
1235 ('1185441443485843457','FIELD_LOG_TYPE','日志类型字段','2','log type',null,'1',null,null),
1236 ('1185441718556688385','FIELD_CLASS_NAME','类名字段','1','类名',null,'1',null,null),
1237 ('1185441804468617217','FIELD_CLASS_NAME','类名字段','2','class name',null,'1',null,null),
1238 ('1185441942285058050','FIELD_METHOD_NAME','方法名字段','1','方法名',null,'1',null,null),
1239 ('1185442053983567873','FIELD_METHOD_NAME','方法名字段','2','method name',null,'1',null,null),
1240 ('1185442292647854082','FIELD_TITLE','标题字段','1','标题',null,'1',null,null),
1241 ('1185442345877766146','FIELD_TITLE','标题字段','2','title',null,'1',null,null),
1242 ('1185442451666501634','FIELD_CONTENT','内容字段','1','内容',null,'1',null,null),
1243 ('1185442509879246850','FIELD_CONTENT','内容字段','2','content',null,'1',null,null),
1244 ('1185442781288464386','FIELD_PUBLISHER','发布者字段','1','发布者',null,'1',null,null),
1245 ('1185442840667226114','FIELD_PUBLISHER','发布者字段','2','publisher',null,'1',null,null),
1246 ('1185443425298677761','FIELD_TENANT_NAME','租户名称字段','1','租户名称',null,'1',null,null),
1247 ('1185443487567314946','FIELD_TENANT_NAME','租户名称字段','2','tenant name',null,'1',null,null),
1248 ('1185443685811093505','FIELD_TENANT_CODE','租户编码字段','1','租户编码',null,'1',null,null),
1249 ('1185443788189859842','FIELD_TENANT_CODE','租户编码字段','2','tenant code',null,'1',null,null),
1250 ('1185444109146390529','FIELD_RELATED_DBNAME','关联的数据库名称字段','1','关联的数据库名称',null,'1',null,null),
1251 ('1185444234589634562','FIELD_RELATED_DBNAME','关联的数据库名称字段','2','related database name',null,'1',null,null),
1252 ('1185444365300924418','FIELD_CREATE_USER','创建人字段','1','创建人',null,'1',null,null),
1253 ('1185444442509672450','FIELD_CREATE_USER','创建人字段','2','create user',null,'1',null,null),
1254 ('1185444600110645250','FIELD_UPDATE_USER','更新人字段','1','更新人',null,'1',null,null),
1255 ('1185444724622753794','FIELD_UPDATE_USER','更新人字段','2','update user',null,'1',null,null),
1256 ('1185445022653218817','FIELD_MANAGE_ACCOUNT','管理账号字段','1','管理账号',null,'1',null,null),
1257 ('1185445110721019906','FIELD_MANAGE_ACCOUNT','管理账号字段','2','manage account',null,'1',null,null),
1258 ('1185445335120478210','FIELD_MANAGE_PASSWORD','管理密码字段','1','管理密码',null,'1',null,null),
1259 ('1185445433598541826','FIELD_MANAGE_PASSWORD','管理密码字段','2','manage password',null,'1',null,null),
1260 ('1185445960260517890','FIELD_PROPERTY_CODE','属性编码字段','1','属性编码',null,'1',null,null),
1261 ('1185446030070513665','FIELD_PROPERTY_CODE','属性编码字段','2','property code',null,'1',null,null),
1262 ('1185446413727694849','FIELD_PROPERTY_VALUE','属性值字段','1','属性值',null,'1',null,null),
1263 ('1185446595869540354','FIELD_PROPERTY_VALUE','属性值字段','2','property value',null,'1',null,'1'),
1264 ('1185446801579180034','FIELD_CODE','编码字段','1','编码',null,'1',null,null),
1265 ('1185446851126493185','FIELD_CODE','编码字段','2','code',null,'1',null,null),
1266 ('1185447058786484225','FIELD_VALUE_RANGE','取值范围字段','1','取值范围',null,'1',null,null),
1267 ('1185447132077752322','FIELD_VALUE_RANGE','取值范围字段','2','value range',null,'1',null,null),
1268 ('1185447295194234881','FIELD_DICT_TYPE','字典类型字段','1','字典类型',null,'1',null,null),
1269 ('1185447371748671489','FIELD_DICT_TYPE','字典类型字段','2','dict type',null,'1',null,null),
1270 ('1185447599964946434','FIELD_PARAMETER_VALUES','参数值字段','1','参数值',null,'1',null,null),
1271 ('1185447680533331969','FIELD_PARAMETER_VALUES','参数值字段','2','parameter values',null,'1',null,null),
1272 ('1185447840881573889','FIELD_DATABASE_NAME','数据库名称字段','1','数据库名称',null,'1',null,null),
1273 ('1185447972238786561','FIELD_DATABASE_NAME','数据库名称字段','2','database name',null,'1',null,null),
1274 ('1185448164220469250','FIELD_DRIVER_TYPE','驱动类型字段','1','驱动类型',null,'1',null,'1'),
1275 ('1185448326716194817','FIELD_DRIVER_TYPE','驱动类型字段','2','driver type',null,'1',null,null),
1276 ('1185448672251346946','FIELD_URL_OF_JDBC','JDBC URL字段','1','JDBC URL',null,'1',null,'1'),
1277 ('1185448754677809154','FIELD_URL_OF_JDBC','JDBC URL字段','2','JDBC URL',null,'1',null,'1'),
1278 ('1185449056055328770','FIELD_JDBC_DRIVER','JDBC驱动字段','1','JDBC驱动',null,'1',null,null),
1279 ('1185449139245154305','FIELD_JDBC_DRIVER','JDBC驱动字段','1','JDBC DRIVER',null,'1',null,null),
1280 ('1185449295659139073','FIELD_JDBC_ACCOUNT','JDBC账号字段','1','JDBC账号',null,'1',null,null),
1281 ('1185449405960945666','FIELD_JDBC_ACCOUNT','JDBC账号字段','2','JDBC ACCOUNT',null,'1',null,null),
1282 ('1185449617840406530','FIELD_JDBC_PASSWORD','JDBC密码字段','1','JDBC密码',null,'1',null,null),
1283 ('1185449694109630466','FIELD_JDBC_PASSWORD','JDBC密码字段','2','JDBC PASSWORD',null,'1',null,null),
1284 ('1185450328393252866','FIELD_AUTHOR','作者字段','1','作者',null,'1',null,null),
1285 ('1185450389260992513','FIELD_AUTHOR','作者字段','2','author',null,'1',null,null),
1286 ('1185450575773302785','FIELD_PROJECT_PACKAGE_NAME','项目包名称字段','1','项目包名称',null,'1',null,null),
1287 ('1185450683680161793','FIELD_PROJECT_PACKAGE_NAME','项目包名称字段','2','project package name',null,'1',null,null),
1288 ('1185450910927552514','FIELD_MODULE_NAME','模块名称字段','1','模块名称',null,'1',null,null),
1289 ('1185450981513494530','FIELD_MODULE_NAME','模块名称字段','2','module name',null,'1',null,null),
1290 ('1185451130771996673','FIELD_TABLE_REMOVE_PREFIX','表前缀移除字段','1','表前缀移除',null,'1',null,null),
1291 ('1185451233670856706','FIELD_TABLE_REMOVE_PREFIX','表前缀移除字段','2','remove table prefix',null,'1',null,null),
1292 ('1185451382853861377','FIELD_CHOOSE_DATABASE','数据源选择字段','1','数据源选择',null,'1',null,null),
1293 ('1185451502580269058','FIELD_CHOOSE_DATABASE','数据源选择字段','2','choose database',null,'1',null,null),
1294 ('1185451879371374593','FIELD_CHOOSE_VERSION','版本选择字段','1','版本选择',null,'1',null,null),
1295 ('1185451990151331842','FIELD_CHOOSE_VERSION','版本选择字段','2','choose version',null,'1',null,null),
1296 ('1185452118270541825','FIELD_CHOOSE_TABLE','选择表字段','1','选择表',null,'1',null,null),
1297 ('1185452193617018882','FIELD_CHOOSE_TABLE','选择表字段','2','choose table',null,'1',null,null),
1298 ('1185452567182704642','FIELD_LANGUAGE','语种字段','1','语种',null,'1',null,null),
1299 ('1185452630323757057','FIELD_LANGUAGE','语种字段','2','language',null,'1',null,null),
1300 ('1185452939716591618','FIELD_TRANSLATION_VALUE','翻译值字段','1','翻译值',null,'1',null,null),
1301 ('1185453377996193793','FIELD_TRANSLATION_VALUE','翻译值字段','2','the value of the translation',null,'1',null,null),
1302 ('1185454151333576706','FIELD_MODEL_NAME','模型名称字段','1','模型名称',null,'1',null,null),
1303 ('1185454213409275905','FIELD_MODEL_NAME','模型名称字段','2','model name',null,'1',null,null),
1304 ('1185454352857300993','FIELD_CLASSIFY','分类字段','1','分类',null,'1',null,null),
1305 ('1185454468288741377','FIELD_CLASSIFY','分类字段','2','classify',null,'1',null,null),
1306 ('1185454911110774786','FIELD_MODEL_CLASSIFY','模型分类字段','1','模型分类',null,'1',null,null),
1307 ('1185454993281384449','FIELD_MODEL_CLASSIFY','模型分类字段','2','model classify',null,'1',null,null),
1308 ('1185455123162202113','FIELD_MODEL_DESCRIPTION','模型描述字段','1','模型描述',null,'1',null,null),
1309 ('1185455205060182018','FIELD_MODEL_DESCRIPTION','模型描述字段','2','model deion',null,'1',null,null),
1310 ('1185455362581463042','FIELD_FLOW_NAME','流程名称字段','1','流程名称',null,'1',null,null),
1311 ('1185455438246707202','FIELD_FLOW_NAME','流程名称字段','2','flow name',null,'1',null,null),
1312 ('1185455542206726146','FIELD_FLOW_FLAG','流程标识字段','1','流程标识',null,'1',null,null),
1313 ('1185455611786035202','FIELD_FLOW_FLAG','流程标识字段','2','flow flag',null,'1',null,null),
1314 ('1185455731176898562','FIELD_FLOW_AUTHOR','流程作者字段','1','流程作者',null,'1',null,null),
1315 ('1185455843567468545','FIELD_FLOW_AUTHOR','流程作者字段','2','flow author',null,'1',null,null),
1316 ('1185456133762973697','FIELD_FLOW_KEY','流程定义KEY字段','1','流程定义KEY',null,'1',null,null),
1317 ('1185456245516009473','FIELD_FLOW_KEY','流程定义KEY字段','2','the key of flow',null,'1',null,null),
1318 ('1185456382304845825','FIELD_VERSION','版本字段','1','版本',null,'1',null,null),
1319 ('1185456443038367746','FIELD_VERSION','版本字段','2','version',null,'1',null,null),
1320 ('1185456707891888130','FIELD_DEPLOY_TIME','部署时间字段','1','部署时间',null,'1',null,null),
1321 ('1185456786539282433','FIELD_DEPLOY_TIME','部署时间字段','2','deploy time',null,'1',null,null),
1322 ('1185456999723171842','FIELD_FLOW_BPMN_NAME','流程bpmn文件名称字段','1','流程bpmn文件名称',null,'1',null,null),
1323 ('1185457145794002945','FIELD_FLOW_BPMN_NAME','流程bpmn文件名称字段','2','process BPMN file name',null,'1',null,null),
1324 ('1185457317659803649','FIELD_PIC_NAME','流程图片名称字段','1','流程图片名称',null,'1',null,null),
1325 ('1185457486820278274','FIELD_PIC_NAME','流程图片名称字段','2','process picture name',null,'1',null,null),
1326 ('1185457756451110914','FIELD_PROPOSER','申请人字段','1','申请人',null,'1',null,null),
1327 ('1185457820938534913','FIELD_PROPOSER','申请人字段','2','proposer',null,'1',null,null),
1328 ('1185458019140370433','FIELD_CURRENT_NODE','当前节点(审批人)字段','1','当前节点(审批人)',null,'1',null,null),
1329 ('1185458125159792642','FIELD_CURRENT_NODE','当前节点(审批)字段','2','current node(proposer)',null,'1',null,null),
1330 ('1185458283322802178','FIELD_CURRENT_TASK','当前任务字段','1','当前任务',null,'1',null,null),
1331 ('1185458463648514049','FIELD_CURRENT_TASK','当前任务字段','2','current task',null,'1',null,null),
1332 ('1185458668015976449','FIELD_FLOW_VERSION','流程版本字段','1','流程版本',null,'1',null,null),
1333 ('1185458770356994050','FIELD_FLOW_VERSION','流程版本字段','2','flow version',null,'1',null,null),
1334 ('1185458987953291266','FIELD_START_TIME','开始时间字段','1','开始时间',null,'1',null,null),
1335 ('1185459059571032066','FIELD_START_TIME','开始时间字段','2','start time',null,'1',null,null),
1336 ('1185459223505403906','FIELD_END_TIME','结束时间字段','1','结束时间',null,'1',null,null),
1337 ('1185459286055059458','FIELD_END_TIME','结束时间字段','2','end time',null,'1',null,null),
1338 ('1185459456683540481','FIELD_USED_TIME','用时字段','1','用时',null,'1',null,null),
1339 ('1185459592042119170','FIELD_USED_TIME','用时字段','2','total time',null,'1',null,null),
1340 ('1185459909597069314','FIELD_CURRENT_COMMISSION','当前节点(代办人)字段','1','当前节点(代办人)',null,'1',null,null),
1341 ('1185460049523245057','FIELD_CURRENT_COMMISSION','当前节点(代办人)字段','2','current node(commission)',null,'1',null,null),
1342 ('1185460365564051458','FIELD_COMMISSON_OR_ROLE','办理人 or 角色字段','1','办理人 or 角色',null,'1',null,null),
1343 ('1185460556107087873','FIELD_COMMISSON_OR_ROLE','办理人 or 角色字段','2','transactor or role',null,'1',null,null),
1344 ('1185460758096379905','FIELD_TYPE','类型字段','1','类型',null,'1',null,null),
1345 ('1185460807480115202','FIELD_TYPE','类型字段','2','type',null,'1',null,null),
1346 ('1185461111927865346','FIELD_SHIYOU','事由字段','1','事由',null,'1',null,null),
1347 ('1185461185273659393','FIELD_SHIYOU','事由字段','2','the origin of an incident',null,'1',null,null),
1348 ('1185461553730682882','FIELD_LEAVE_TYPE','请假类型字段','1','请假类型',null,'1',null,null),
1349 ('1185461741706805250','FIELD_LEAVE_TYPE','请假类型字段','2','type of the ask for leave',null,'1',null,null),
1350 ('1185496726711160834','FIELD_NUMBER','序号字段','1','序号',null,'1',null,null),
1351 ('1185497214294806530','FIELD_NUMBER','序号字段','2','number',null,'1',null,null),
1352 ('1185506150615994369','FIELD_FILE','文件字段','1','文件',null,'1',null,null),
1353 ('1185506213719298049','FIELD_FILE','文件字段','2','file',null,'1',null,null),
1354 ('1185506474894413826','FIELD_CHOOSE_FILE','选择文件字段','1','选择文件',null,'1',null,null),
1355 ('1185506615659450369','FIELD_CHOOSE_FILE','选择文件字段','2','select the file',null,'1',null,null),
1356 ('1185513372263727106','FIELD_RUNNING','正在运行字段','1','正在运行',null,'1',null,null),
1357 ('1185513454203650049','FIELD_RUNNING','正在运行字段','2','running',null,'1',null,null),
1358 ('1185513675730010113','FIELD_HANG_UP','已挂起字段','1','已挂起',null,'1',null,null),
1359 ('1185513675730010114','FIELD_HANG_UP','已挂起字段','2','hang up',null,'1',null,null),
1360 ('1185513675730011111','TIPS_NAME_PHONE','提示_姓名手机号','1','账号/姓名/手机号',null,'1',null,null),
1361 ('1185513768017211112','TIPS_NAME_PHONE','提示_姓名手机号','2','account/name/mobile',null,'1',null,null),
1362 ('1185513768017281027','TIPS_REG_TIME','提示_注册时间','1','注册时间',null,'1',null,null),
1363 ('1185513768017281028','TIPS_REG_TIME','提示_注册时间','2','register time',null,'1',null,null),
1364 ('1185513768017281029','TIPS_ROLE_NAME','提示_角色名称','1','角色名称',null,'1',null,null),
1365 ('1185513768017281030','TIPS_ROLE_NAME','提示_角色名称','2','role name',null,'1',null,null),
1366 ('1185513768017281031','TIPS_DEPT_NAME','提示_部门名称','1','部门名称',null,'1',null,null),
1367 ('1185513768017281032','TIPS_DEPT_NAME','提示_部门名称','2','dept name',null,'1',null,null),
1368 ('1185513768017281035','TIPS_POST_NAME','提示_职务名称','1','职务名称',null,'1',null,null),
1369 ('1185513768017281036','TIPS_POST_NAME','提示_职务名称','2','duty name',null,'1',null,null),
1370 ('1185513768017281037','TIPS_NAME_CODE','提示_名称编码','1','名称/编码',null,'1',null,null),
1371 ('1185513768017281038','TIPS_NAME_CODE','提示_名称编码','2','name/code',null,'1',null,null),
1372 ('1185513768017281039','TIPS_MENU_NAME','提示_菜单名称编码','1','菜单名称/编码',null,'1',null,null),
1373 ('1185513768017281040','TIPS_MENU_NAME','提示_菜单名称编码','2','menu name/code',null,'1',null,null),
1374 ('1185513768017281041','TIPS_LEVEL','提示_层级','1','层级',null,'1',null,null),
1375 ('1185513768017281042','TIPS_LEVEL','提示_层级','2','level',null,'1',null,null),
1376 ('1185513768017281043','TIPS_BEGIN_TIME','提示_开始时间','1','开始时间',null,'1',null,null),
1377 ('1185513768017281044','TIPS_BEGIN_TIME','提示_开始时间','2','begin time',null,'1',null,null),
1378 ('1185513768017281045','TIPS_END_TIME','提示_结束时间','1','结束时间',null,'1',null,null),
1379 ('1185513768017281046','TIPS_END_TIME','提示_结束时间','2','end time',null,'1',null,null),
1380 ('1185513768017281047','TIPS_LOG_NAME','提示_日志名称','1','日志名称',null,'1',null,null),
1381 ('1185513768017281048','TIPS_LOG_NAME','提示_日志名称','2','log name',null,'1',null,null),
1382 ('1185513768017281049','TIPS_TYPE','提示_类型','1','类型',null,'1',null,null),
1383 ('1185513768017281050','TIPS_TYPE','提示_类型','2','type',null,'1',null,null),
1384 ('1185513768017281051','TIPS_MESSAGE_NAME','提示_通知名称','1','通知名称',null,'1',null,null),
1385 ('1185513768017281052','TIPS_MESSAGE_NAME','提示_通知名称','2','message name',null,'1',null,null),
1386 ('1185513768017281053','TIPS_TENANT_NAME','提示_租户名称','1','租户名称',null,'1',null,null),
1387 ('1185513768017281054','TIPS_TENANT_NAME','提示_租户名称','2','tenant name',null,'1',null,null),
1388 ('1185513768017281055','TIPS_STATUS','提示_状态','1','状态',null,'1',null,null),
1389 ('1185513768017281056','TIPS_STATUS','提示_状态','2','status',null,'1',null,null),
1390 ('1185513768017281057','MENU_PERSONAL_INFO','菜单_个人中心','1','个人中心',null,'1',null,null),
1391 ('1185513768017281058','MENU_PERSONAL_INFO','菜单_个人中心','2','personal info',null,'1',null,null),
1392 ('1185513768017281059','MENU_CHANGE_PASSWORD','菜单_修改密码','1','修改密码',null,'1',null,null),
1393 ('1185513768017281060','MENU_CHANGE_PASSWORD','菜单_修改密码','2','change password',null,'1',null,null),
1394 ('1185513768017281061','MENU_LOGOUT','菜单_退出','1','退出',null,'1',null,null),
1395 ('1185513768017281062','MENU_LOGOUT','菜单_退出','2','logout',null,'1',null,null),
1396 ('1185513768017281063','MENU_OTHER','菜单_其他','1','其他',null,'1',null,null),
1397 ('1185513768017281064','MENU_OTHER','菜单_其他','2','other',null,'1',null,null),
1398 ('1185513768017281065','MENU_BASE_INFO','菜单_基本信息','1','基本信息',null,'1',null,null),
1399 ('1185513768017281066','MENU_BASE_INFO','菜单_基本信息','2','base info',null,'1',null,null),
1400 ('1185513768017281067','BTN_UPDATE_INFO','按钮_更新基本信息','1','更新基本信息',null,'1',null,null),
1401 ('1185513768017281068','BTN_UPDATE_INFO','按钮_更新基本信息','2','update',null,'1',null,null),
1402 ('1185513768017281069','FIELD_OLD_PASSWORD','字段_旧密码','1','旧密码',null,'1',null,null),
1403 ('1185513768017281070','FIELD_OLD_PASSWORD','字段_旧密码','2','old password',null,'1',null,null),
1404 ('1185513768017281071','FIELD_NEW_PASSWORD','字段_新密码','1','新密码',null,'1',null,null),
1405 ('1185513768017281072','FIELD_NEW_PASSWORD','字段_新密码','2','new password',null,'1',null,null),
1406 ('1185513768017281073','FIELD_RE_PASSWORD','字段_确认密码','1','确认密码',null,'1',null,null),
1407 ('1185513768017281074','FIELD_RE_PASSWORD','字段_确认密码','2','confirm password',null,'1',null,null),
1408 ('1185513768017281083','MENU_INDEX','菜单_首页','1','首页',null,'1',null,null),
1409 ('1185513768017281084','MENU_INDEX','菜单_首页','2','index',null,'1',null,null)
1410
1411 ;
1412 /****** Object:  table [dbo].[sys_user]  Script Date: 2019-11-23 22:13:17 ******/
1413 GO
1414
1415
1416 use [guns]
1417 GO
1418
1419
1420 CREATE TABLE [dbo].[sys_user]
1421 (
1422     [user_id] bigint NOT NULL ,
1423     [avatar] varchar(255) NULL ,
1424     [account] varchar(45) NULL ,
1425     [password] varchar(45) NULL ,
1426     [salt] varchar(45) NULL ,
1427     [name] varchar(45) NULL ,
1428     [birthday] datetime NULL ,
1429     [sex] varchar(32) NULL ,
1430     [email] varchar(45) NULL ,
1431     [phone] varchar(45) NULL ,
1432     [role_id] varchar(255) NULL ,
1433     [dept_id] bigint NULL ,
1434     [status] varchar(32) NULL ,
1435     [create_time] datetime NULL ,
1436     [create_user] bigint NULL ,
1437     [update_time] datetime NULL ,
1438     [update_user] bigint NULL ,
1439     [version] int NULL 
1440 )
1441 ON [PRIMARY];
1442 GO
1443
1444
1445 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'sys_user', NULL, NULL;
1446 GO
1447
1448 ALTER TABLE [dbo].[sys_user] ADD CONSTRAINT [PK_sys_user] PRIMARY KEY CLUSTERED 
1449 (
1450 [user_id]
1451 )
1452 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
1453 GO
1454
1455
1456
1457 insert into [dbo].[sys_user]([user_id],[avatar],[account],[password],[salt],[name],[birthday],[sex],[email],[phone],[role_id],[dept_id],[status],[create_time],[create_user],[update_time],[update_user],[version]) values
1458 ('1','1124606971782160385','admin','17db03c22596b7609c7c9704f16663e0','abcdef','stylefeng','2018-11-16 00:00:00.000','M','sn93@qq.com','18200000000','1','27','ENABLE','2016-01-29 08:49:53.000',null,'2018-12-28 22:52:24.000','24','25'),
1459 ('1198240116275146754',null,'1221','2276729a170e0b63a87427b4129c03b1','bhgz9','212121','2019-11-15 00:00:00.000','M','123@123.com','18200000000',null,'27','DELETED','2019-11-23 22:01:20.597','1','2019-11-23 22:03:24.657','1',null)
1460
1461 ;
1462 /****** Object:  table [dbo].[sys_user_pos]  Script Date: 2019-11-23 22:13:17 ******/
1463 GO
1464
1465
1466 use [guns]
1467 GO
1468
1469
1470 CREATE TABLE [dbo].[sys_user_pos]
1471 (
1472     [user_pos_id] bigint NOT NULL ,
1473     [user_id] bigint NOT NULL ,
1474     [pos_id] bigint NOT NULL 
1475 )
1476 ON [PRIMARY];
1477 GO
1478
1479
1480 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'sys_user_pos', NULL, NULL;
1481 GO
1482
1483 ALTER TABLE [dbo].[sys_user_pos] ADD CONSTRAINT [PK_sys_user_pos] PRIMARY KEY CLUSTERED 
1484 (
1485 [user_pos_id]
1486 )
1487 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
1488 GO
1489
1490
1491
1492 insert into [dbo].[sys_user_pos]([user_pos_id],[user_id],[pos_id]) values
1493 ('1144495219551617025','1','1')
1494
1495 ;
1496 /****** Object:  table [dbo].[tenant_info]  Script Date: 2019-11-23 22:13:17 ******/
1497 GO
1498
1499
1500 use [guns]
1501 GO
1502
1503
1504 CREATE TABLE [dbo].[tenant_info]
1505 (
1506     [tenant_id] bigint NOT NULL ,
1507     [name] varchar(255) NULL ,
1508     [code] varchar(255) NULL ,
1509     [db_name] varchar(255) NULL ,
1510     [create_time] datetime NULL ,
1511     [create_user] bigint NULL ,
1512     [update_time] datetime NULL ,
1513     [update_user] bigint NULL 
1514 )
1515 ON [PRIMARY];
1516 GO
1517
1518
1519 EXECUTE sp_addextendedproperty  N'MS_Description', N'', N'SCHEMA', N'dbo', N'TABLE', N'tenant_info', NULL, NULL;
1520 GO
1521
1522 ALTER TABLE [dbo].[tenant_info] ADD CONSTRAINT [PK_tenant_info] PRIMARY KEY CLUSTERED 
1523 (
1524 [tenant_id]
1525 )
1526 WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON);
1527 GO
1528
1529
1530
1531
1532