forked from WuKongOpenSource/WukongCRM-11.0-JAVA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwk_crm_single.sql
8249 lines (7936 loc) · 619 KB
/
wk_crm_single.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for undo_log
-- ----------------------------
DROP TABLE IF EXISTS `undo_log`;
CREATE TABLE `undo_log` (
`id` bigint(0) NOT NULL AUTO_INCREMENT,
`branch_id` bigint(0) NOT NULL,
`xid` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`context` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`rollback_info` longblob NOT NULL,
`log_status` int(0) NOT NULL,
`log_created` datetime(0) NOT NULL,
`log_modified` datetime(0) NOT NULL,
`ext` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `ux_undo_log`(`xid`, `branch_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of undo_log
-- ----------------------------
-- ----------------------------
-- Table structure for wk_admin_attention
-- ----------------------------
DROP TABLE IF EXISTS `wk_admin_attention`;
CREATE TABLE `wk_admin_attention` (
`attention_id` int(0) NOT NULL AUTO_INCREMENT,
`be_user_id` bigint(0) NOT NULL COMMENT '被关注人',
`attention_user_id` bigint(0) NOT NULL COMMENT '关注人',
PRIMARY KEY (`attention_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '通讯录用户关注表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of wk_admin_attention
-- ----------------------------
INSERT INTO `wk_admin_attention` VALUES (1, 14773, 14773);
-- ----------------------------
-- Table structure for wk_admin_config
-- ----------------------------
DROP TABLE IF EXISTS `wk_admin_config`;
CREATE TABLE `wk_admin_config` (
`setting_id` int(0) NOT NULL AUTO_INCREMENT,
`status` int(0) NOT NULL DEFAULT 0 COMMENT '状态,0:不启用 1 : 启用',
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '设置名称',
`value` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '值',
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '描述',
PRIMARY KEY (`setting_id`) USING BTREE,
INDEX `name`(`name`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 262462 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '客户规则' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of wk_admin_config
-- ----------------------------
INSERT INTO `wk_admin_config` VALUES (262433, 1, 'expiringContractDays', '3', '合同到期提醒');
INSERT INTO `wk_admin_config` VALUES (262434, 1, 'putInPoolRemindDays', '2', NULL);
INSERT INTO `wk_admin_config` VALUES (262435, 1, 'taskExamine', '1', '任务审批');
INSERT INTO `wk_admin_config` VALUES (262436, 1, 'log', '1', '日志');
INSERT INTO `wk_admin_config` VALUES (262437, 1, 'book', '1', '通讯录');
INSERT INTO `wk_admin_config` VALUES (262438, 1, 'crm', '1', '客户管理');
INSERT INTO `wk_admin_config` VALUES (262439, 1, 'project', '1', '项目管理');
INSERT INTO `wk_admin_config` VALUES (262440, 1, 'calendar', '1', '日历');
INSERT INTO `wk_admin_config` VALUES (262441, 0, 'email', '3', '邮箱');
INSERT INTO `wk_admin_config` VALUES (262442, 0, 'knowledge', '3', '知识库');
INSERT INTO `wk_admin_config` VALUES (262443, 1, 'hrm', '1', '人力资源管理');
INSERT INTO `wk_admin_config` VALUES (262444, 0, 'jxc', '3', '进销存管理');
INSERT INTO `wk_admin_config` VALUES (262445, 1, 'call', '3', '呼叫中心');
INSERT INTO `wk_admin_config` VALUES (262446, 0, 'followRecordOption', '打电话', '跟进记录选项');
INSERT INTO `wk_admin_config` VALUES (262447, 0, 'followRecordOption', '发邮件', '跟进记录选项');
INSERT INTO `wk_admin_config` VALUES (262448, 0, 'followRecordOption', '发短信', '跟进记录选项');
INSERT INTO `wk_admin_config` VALUES (262449, 0, 'followRecordOption', '见面拜访', '跟进记录选项');
INSERT INTO `wk_admin_config` VALUES (262450, 0, 'followRecordOption', '活动', '跟进记录选项');
INSERT INTO `wk_admin_config` VALUES (262451, 0, 'logWelcomeSpeech', '蓝天是宁静的,空气是清新的,阳光是明媚的', '默认日志欢迎语');
INSERT INTO `wk_admin_config` VALUES (262452, 0, 'logWelcomeSpeech', '人生,最快乐的莫过于奋斗', '默认日志欢迎语');
INSERT INTO `wk_admin_config` VALUES (262453, 0, 'logWelcomeSpeech', '工作一天辛苦了,人生,最快乐的莫过于奋斗', '默认日志欢迎语');
INSERT INTO `wk_admin_config` VALUES (262454, 0, 'pictureSetting', NULL, '外勤签到照片上传设置');
INSERT INTO `wk_admin_config` VALUES (262455, 0, 'returnVisitRemindConfig', '7', '客户回访提醒设置');
INSERT INTO `wk_admin_config` VALUES (262456, 0, 'numberSetting', '6', '自动编号设置');
INSERT INTO `wk_admin_config` VALUES (262457, 0, 'numberSetting', '7', '自动编号设置');
INSERT INTO `wk_admin_config` VALUES (262458, 0, 'numberSetting', '17', '自动编号设置');
INSERT INTO `wk_admin_config` VALUES (262459, 0, 'numberSetting', '18', '自动编号设置');
INSERT INTO `wk_admin_config` VALUES (262460, 1, 'companyInfo', '{\"companyLogo\":\"\",\"companyName\":\"良心企业\"}', '企业LOGO配置');
INSERT INTO `wk_admin_config` VALUES (262461, 1, 'marketing', NULL, '是否开启营销活动');
-- ----------------------------
-- Table structure for wk_admin_dept
-- ----------------------------
DROP TABLE IF EXISTS `wk_admin_dept`;
CREATE TABLE `wk_admin_dept` (
`dept_id` int(0) NOT NULL AUTO_INCREMENT,
`pid` int(0) NULL DEFAULT 0 COMMENT '父级ID 顶级部门为0',
`name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '部门名称',
`num` int(0) NULL DEFAULT NULL COMMENT '排序 越大越靠后',
`remark` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '部门备注',
`owner_user_id` bigint(0) NULL DEFAULT NULL COMMENT '部门负责人',
PRIMARY KEY (`dept_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 14853 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '部门表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of wk_admin_dept
-- ----------------------------
INSERT INTO `wk_admin_dept` VALUES (14852, 0, '全公司', 1, '', NULL);
-- ----------------------------
-- Table structure for wk_admin_file
-- ----------------------------
DROP TABLE IF EXISTS `wk_admin_file`;
CREATE TABLE `wk_admin_file` (
`file_id` bigint(0) NOT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '附件名称',
`size` bigint(0) NOT NULL COMMENT '附件大小(字节)',
`create_user_id` bigint(0) NOT NULL COMMENT '创建人ID',
`create_time` datetime(0) NOT NULL COMMENT '创建时间',
`path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件真实路径',
`file_type` varchar(4) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'file' COMMENT '文件类型,file,img',
`type` int(0) NULL DEFAULT NULL COMMENT '1 本地 2 阿里云oss',
`source` int(0) NULL DEFAULT NULL COMMENT '来源 0 默认 1 admin 2 crm 3 work 4 oa 5 进销存 6 hrm',
`is_public` int(0) NULL DEFAULT 0 COMMENT '1 公有访问 0 私有访问',
`batch_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '批次id',
PRIMARY KEY (`file_id`) USING BTREE,
INDEX `batch_id`(`batch_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '附件表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of wk_admin_file
-- ----------------------------
-- ----------------------------
-- Table structure for wk_admin_login_log
-- ----------------------------
DROP TABLE IF EXISTS `wk_admin_login_log`;
CREATE TABLE `wk_admin_login_log` (
`id` int(0) NOT NULL AUTO_INCREMENT,
`create_user_id` bigint(0) NOT NULL COMMENT '操作人id',
`login_time` datetime(0) NOT NULL COMMENT '登录时间',
`ip_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '登录ip地址',
`login_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '登录地点',
`device_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备类型',
`core` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '终端内核',
`platform` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '平台',
`imei` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'IEMI设备号',
`auth_result` int(0) NULL DEFAULT NULL COMMENT '认证结果 1成功 2失败',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统登录日志表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of wk_admin_login_log
-- ----------------------------
-- ----------------------------
-- Table structure for wk_admin_menu
-- ----------------------------
DROP TABLE IF EXISTS `wk_admin_menu`;
CREATE TABLE `wk_admin_menu` (
`menu_id` int(0) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
`parent_id` int(0) UNSIGNED NULL DEFAULT 0 COMMENT '上级菜单ID',
`menu_name` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '菜单名称',
`realm` varchar(127) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '权限标识',
`realm_url` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '权限URL',
`realm_module` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属模块',
`menu_type` int(0) NULL DEFAULT NULL COMMENT '菜单类型 1目录 2 菜单 3 按钮 4特殊',
`sort` int(0) UNSIGNED NULL DEFAULT 0 COMMENT '排序(同级有效)',
`status` int(0) NULL DEFAULT 1 COMMENT '状态 1 启用 0 禁用',
`remarks` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '菜单说明',
PRIMARY KEY (`menu_id`) USING BTREE,
INDEX `menu_id`(`menu_id`) USING BTREE,
INDEX `parent_id`(`parent_id`) USING BTREE,
INDEX `realm`(`realm`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 943 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '后台菜单表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of wk_admin_menu
-- ----------------------------
INSERT INTO `wk_admin_menu` VALUES (1, 0, '全部', 'crm', NULL, NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (2, 0, '全部', 'bi', NULL, NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (3, 0, '全部', 'manage', NULL, NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (5, 0, '全部', 'hrm', NULL, NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (6, 0, '全部', 'jxc', '', NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (9, 1, '线索管理', 'leads', NULL, NULL, 1, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (10, 1, '客户管理', 'customer', NULL, NULL, 1, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (11, 1, '联系人管理', 'contacts', NULL, NULL, 1, 3, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (12, 1, '商机管理', 'business', NULL, NULL, 1, 4, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (13, 1, '合同管理', 'contract', NULL, NULL, 1, 5, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (14, 1, '回款管理', 'receivables', NULL, NULL, 1, 6, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (15, 1, '产品管理', 'product', NULL, NULL, 1, 7, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (17, 9, '新建', 'save', '/crmLeads/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (18, 9, '编辑', 'update', '/crmLeads/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (19, 9, '查看列表', 'index', '/crmLeads/queryPageList', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (20, 9, '查看详情', 'read', '/crmLeads/queryById/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (21, 9, '导入', 'excelimport', '/crmLead/downloadExcel', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (22, 9, '导出', 'excelexport', '/crmLead/allExportExcel,/crmLead/batchExportExcel', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (23, 9, '删除', 'delete', '/crmLead/deleteByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (24, 9, '转移', 'transfer', '/crmLeads/changeOwnerUser', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (25, 9, '转化', 'transform', '/crmLead/transfer', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (26, 10, '新建', 'save', '/crmCustomer/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (27, 10, '编辑', 'update', '/crmCustomer/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (28, 10, '查看列表', 'index', '/crmCustomer/queryPageList', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (29, 10, '查看详情', 'read', '/crmCustomer/queryById/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (30, 10, '导入', 'excelimport', '/crmCustomer/uploadExcel', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (31, 10, '导出', 'excelexport', '/crmCustomer/batchExportExcel,/crmCustomer/allExportExcel', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (32, 10, '删除', 'delete', '/crmCustomer/deleteByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (33, 10, '转移', 'transfer', '/crmCustomer/changeOwnerUser', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (34, 10, '放入公海', 'putinpool', '/crmCustomer/updateCustomerByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (35, 10, '锁定/解锁', 'lock', '/crmCustomer/lock', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (36, 10, '编辑团队成员', 'teamsave', '/crmCustomer/addMembers,/crmCustomer/updateMembers,/crmCustomer/exitTeam', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (40, 11, '新建', 'save', '/crmContacts/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (41, 11, '编辑', 'update', '/crmContacts/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (42, 11, '查看列表', 'index', '/crmContacts/queryPageList', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (43, 11, '查看详情', 'read', '/crmContacts/queryById/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (44, 11, '删除', 'delete', '/crmContacts/deleteByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (45, 11, '转移', 'transfer', '/crmContacts/changeOwnerUser', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (46, 12, '新建', 'save', '/crmBusiness/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (47, 12, '编辑', 'update', '/crmBusiness/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (48, 12, '查看列表', 'index', '/crmBusiness/queryPageList', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (49, 12, '查看详情', 'read', '/crmBusiness/queryById/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (50, 12, '删除', 'delete', '/crmBusiness/deleteByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (51, 12, '转移', 'transfer', '/crmBusiness/changeOwnerUser', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (52, 12, '编辑团队成员', 'teamsave', '/crmBusiness/addMembers,/crmBusiness/updateMembers,/crmBusiness/deleteMembers', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (53, 13, '新建', 'save', '/crmContract/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (54, 13, '编辑', 'update', '/crmContract/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (55, 13, '查看列表', 'index', '/crmContract/queryPageList', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (56, 13, '查看详情', 'read', '/crmContract/queryById', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (57, 13, '删除', 'delete', '/crmContract/deleteByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (58, 13, '转移', 'transfer', '/crmContract/changeOwnerUser', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (59, 13, '编辑团队成员', 'teamsave', '/crmContract/addMembers,/crmContract/updateMembers,/crmContract/deleteMembers', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (60, 14, '新建', 'save', '/crmReceivables/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (61, 14, '编辑', 'update', '/crmReceivables/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (62, 14, '查看列表', 'index', '/crmReceivables/queryPageList', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (63, 14, '查看详情', 'read', '/crmReceivables/queryById', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (64, 14, '删除', 'delete', '/crmReceivables/deleteByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (65, 15, '新建', 'save', '/crmProduct/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (66, 15, '编辑', 'update', '/crmProduct/udpate', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (67, 15, '查看列表', 'index', '/crmProduct/queryPageList', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (68, 15, '查看详情', 'read', '/crmProduct/queryById', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (69, 15, '上架/下架', 'status', '/crmProduct/updateStatus', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (70, 15, '转移', 'transfer', '/crmProduct/changeOwnerUser', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (71, 14, '转移', 'transfer', '/crmReceivables/changeOwnerUser', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (97, 2, '业绩目标完成情况', 'achievement', NULL, NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (98, 2, '销售漏斗', 'business', '/biFunnel/addBusinessAnalyze,/biFunnel/win', NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (99, 2, '员工客户分析', 'customer', NULL, NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (101, 2, '员工业绩分析', 'contract', NULL, NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (102, 97, '查看', 'read', '/bi/taskCompleteStatistics', NULL, 3, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (103, 98, '查看', 'read', '', NULL, 3, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (104, 99, '查看', 'read', '/biCustomer/totalCustomerStats,/biCustomer/totalCustomerTable,/biCustomer/customerRecordStats,/biCustomer/customerRecordStats,/biCustomer/customerRecodCategoryStats,/biCustomer/customerConversionStats,/biCustomer/poolStats,/biCustomer/poolTable,/biCustomer/employeeCycle,/biCustomer/employeeCycleInfo,/biCustomer/customerSatisfactionTable,/biCustomer/productSatisfactionTable', NULL, 3, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (106, 101, '查看', 'read', '/biEmployee/contractNumStats,/biEmployee/contractMoneyStats,/biEmployee/receivablesMoneyStats,/biEmployee/totalContract,/biEmployee/invoiceStats', NULL, 3, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (107, 11, '联系人导出', 'excelexport', '/crmContacts/batchExportExcel,/crmContacts/allExportExcel', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (108, 11, '联系人导入', 'excelimport', '/crmContacts/uploadExcel', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (109, 15, '产品导入', 'excelimport', '/crmProduct/uploadExcel', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (110, 15, '产品导出', 'excelexport', '/crmProduct/batchExportExcel,/crmProduct/allExportExcel', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (117, 2, '产品分析', 'product', NULL, NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (118, 117, '查看', 'read', '/bi/productStatistics,/biRanking/contractProductRanKing', NULL, 3, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (123, 2, '客户画像分析', 'portrait', NULL, NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (124, 123, '查看', 'read', '/biRanking/addressAnalyse,/biRanking/portrait,/biRanking/portraitLevel,/biRanking/portraitSource', NULL, 3, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (125, 2, '排行榜', 'ranking', NULL, NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (126, 125, '查看', 'read', '/biRanking/contractRanKing,/biRanking/receivablesRanKing,/biRanking/contractCountRanKing,/biRanking/productCountRanKing,/biRanking/productCountRanKing,/biRanking/contactsCountRanKing,/biRanking/customerCountRanKing,/biRanking/recordCountRanKing,/biRanking/customerGenjinCountRanKing,/biRanking/customerGenjinCountRanKing', NULL, 3, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (146, 2, '办公分析', 'oa', NULL, NULL, 1, 10, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (147, 146, '查看', 'read', '/biWork/logStatistics,/biWork/examineStatistics', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (148, 0, '全部', 'oa', NULL, NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (149, 0, '全部', 'project', NULL, NULL, 1, 0, 1, '项目管理角色权限');
INSERT INTO `wk_admin_menu` VALUES (150, 148, '通讯录', 'book', NULL, NULL, 1, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (151, 150, '查看', 'read', '/adminUser/queryListName', NULL, 3, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (152, 149, '项目管理', 'projectManage', NULL, NULL, 1, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (153, 152, '新建项目', 'save', '/work/addWork', NULL, 3, 2, 1, 'projectSave');
INSERT INTO `wk_admin_menu` VALUES (160, 3, '企业首页', 'system', NULL, NULL, 1, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (161, 160, '查看', 'read', '', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (162, 160, '编辑', 'update', '/adminConfig/setAdminConfig', NULL, 3, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (163, 3, '应用管理', 'configSet', NULL, NULL, 1, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (164, 163, '查看', 'read', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (165, 163, '停用/启用', 'update', '/adminConfig/setModuleSetting', NULL, 3, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (166, 3, '员工与部门管理', 'users', NULL, NULL, 1, 3, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (167, 166, '部门/员工查看', 'read', '', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (168, 166, '员工新建', 'userSave', '/adminUser/addUser', NULL, 3, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (169, 166, '员工禁用/激活', 'userEnables', '/adminUser/setUserStatus', NULL, 3, 3, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (170, 166, '员工操作', 'userUpdate', '/adminUser/setUser', NULL, 3, 4, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (171, 166, '部门新建', 'deptSave', '/adminDept/addDept', NULL, 3, 5, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (172, 166, '部门编辑', 'deptUpdate', '/adminDept/setDept', NULL, 3, 6, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (173, 166, '部门删除', 'deptDelete', '/adminDept/deleteDept', NULL, 3, 7, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (174, 3, '角色权限管理', 'permission', NULL, NULL, 1, 4, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (175, 174, '角色权限设置', 'update', '/adminRole/getRoleByType/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (176, 3, '办公审批流', 'oa', NULL, NULL, 1, 6, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (177, 176, '办公审批流管理', 'examine', '/oaExamineCategory/queryExamineCategoryList', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (178, 3, '业务审批流', 'examineFlow', NULL, NULL, 1, 5, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (179, 178, '业务审批流管理', 'update', '/crmExamine/queryAllExamine', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (180, 3, '客户管理设置', 'crm', NULL, NULL, 1, 7, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (181, 180, '自定义字段设置', 'field', '/crmField/queryFields', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (182, 180, '客户公海规则', 'pool', '/crmCustomerPool/queryPoolSettingList', NULL, 3, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (183, 180, '业务参数设置', 'setting', '', NULL, 3, 4, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (184, 180, '业绩目标设置', 'achievement', '/biAchievement/queryAchievementList', NULL, 3, 5, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (185, 3, '项目管理设置', 'work', NULL, NULL, 1, 8, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (186, 185, '项目管理', 'update', '', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (187, 148, '公告', 'announcement', NULL, NULL, 1, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (188, 187, '新建', 'save', '/oaAnnouncement/addAnnouncement', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (189, 187, '编辑', 'update', '/oaAnnouncement/setAnnouncement', NULL, 3, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (190, 187, '删除', 'delete', '/oaAnnouncement/delete', NULL, 3, 3, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (191, 10, '设置成交状态', 'dealStatus', '/crmCustomer/setDealStatus', NULL, 3, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (192, 13, '合同作废', 'discard', '/crmContract/contractDiscard', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (193, 2, '呼叫中心', 'call', NULL, NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (194, 193, '查询通话记录', 'index', NULL, NULL, 3, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (195, 193, '通话记录分析', 'analysis', NULL, NULL, 3, 3, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (200, 1, '市场活动', 'marketing', NULL, NULL, 1, 1, 1, '');
INSERT INTO `wk_admin_menu` VALUES (201, 200, '新建', 'save', '/crmMarketing/add', NULL, 3, 1, 1, '');
INSERT INTO `wk_admin_menu` VALUES (202, 200, '查看列表', 'index', '/crmMarketing/queryPageList', NULL, 3, 1, 1, '');
INSERT INTO `wk_admin_menu` VALUES (204, 200, '编辑', 'update', '/crmMarketing/update', NULL, 3, 1, 1, '');
INSERT INTO `wk_admin_menu` VALUES (205, 200, '删除', 'delete', '/crmMarketing/deleteByIds', NULL, 3, 1, 1, '');
INSERT INTO `wk_admin_menu` VALUES (206, 200, '启用/停用', 'updateStatus', '/crmMarketing/updateStatus', NULL, 3, 1, 1, '');
INSERT INTO `wk_admin_menu` VALUES (207, 200, '查看详情', 'read', '/crmMarketing/queryById', NULL, 3, 1, 1, '');
INSERT INTO `wk_admin_menu` VALUES (208, 13, '导出', 'excelexport', '/crmContract/batchExportExcel,/crmContract/allExportExcel', NULL, 3, 1, 1, '');
INSERT INTO `wk_admin_menu` VALUES (209, 12, '导出', 'excelexport', '/crmBusiness/batchExportExcel,/crmBusiness/allExportExcel', NULL, 3, 1, 1, '');
INSERT INTO `wk_admin_menu` VALUES (211, 15, '删除', 'delete', '/crmProduct/deleteByIds', NULL, 3, 1, 1, '');
INSERT INTO `wk_admin_menu` VALUES (212, 14, '导出', 'excelexport', '/crmReceivables/batchExportExcel,/crmReceivables/allExportExcel', NULL, 3, 1, 1, '');
INSERT INTO `wk_admin_menu` VALUES (213, 1, '外勤', 'outwork', NULL, NULL, 1, 9, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (214, 213, '新建', 'save', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (215, 213, '查看', 'read', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (216, 213, '删除', 'delete', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (217, 213, '设置', 'setting', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (218, 10, '附近的客户', 'nearbyCustomer', '/crmCustomer/nearbyCustomer', NULL, 3, 1, 1, '');
INSERT INTO `wk_admin_menu` VALUES (230, 3, '系统日志', 'adminLog', NULL, NULL, 1, 9, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (231, 230, '系统登录日志', 'loginLog', '/system/log/queryLoginLogList', NULL, 3, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (232, 230, '数据操作日志', 'actionRecord', '/system/log/queryActionRecordList', NULL, 3, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (233, 230, '系统操作日志', 'systemLog', '/system/log/querySystemLogList', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (300, 0, '项目管理', 'work', NULL, NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (301, 300, '项目', 'project', NULL, NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (310, 301, '项目设置', 'setWork', '', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (311, 301, '项目导出', 'excelExport', '', NULL, 3, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (312, 301, '新建任务列表', 'saveTaskClass', '', NULL, 3, 3, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (313, 301, '编辑任务列表', 'updateTaskClass', '', NULL, 3, 4, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (314, 301, '移动任务列表', 'updateClassOrder', '', NULL, 3, 5, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (315, 301, '删除任务列表', 'deleteTaskClass', '', NULL, 3, 6, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (316, 301, '新建任务', 'saveTask', '', NULL, 3, 7, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (317, 301, '完成任务', 'setTaskStatus', '', NULL, 3, 8, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (318, 301, '编辑任务标题', 'setTaskTitle', '', NULL, 3, 9, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (319, 301, '编辑任务描述', 'setTaskDescription', '', NULL, 3, 10, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (320, 301, '分配任务', 'setTaskMainUser', '', NULL, 3, 11, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (321, 301, '设置任务时间', 'setTaskTime', '', NULL, 3, 12, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (322, 301, '设置任务标签', 'setTaskLabel', '', NULL, 3, 13, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (323, 301, '添加任务参与人', 'setTaskOwnerUser', '', NULL, 3, 14, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (324, 301, '设置任务优先级', 'setTaskPriority', '', NULL, 3, 15, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (325, 301, '移动任务', 'setTaskOrder', '', NULL, 3, 16, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (326, 301, '归档任务', 'archiveTask', '', NULL, 3, 17, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (327, 301, '删除任务', 'deleteTask', '', NULL, 3, 18, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (328, 301, '彻底删除任务', 'cleanTask', '', NULL, 3, 19, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (329, 301, '任务添加附件', 'uploadTaskFile', '', NULL, 3, 20, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (330, 301, '任务删除附件', 'deleteTaskFile', '', NULL, 3, 21, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (331, 301, '项目导入', 'excelImport', '', NULL, 3, 22, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (332, 301, '新建子任务', 'addChildTask', '', NULL, 3, 23, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (333, 301, '编辑子任务', 'updateChildTask', '', NULL, 3, 24, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (334, 301, '删除子任务', 'deleteChildTask', '', NULL, 3, 25, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (335, 301, '恢复任务', 'restoreTask', '', NULL, 3, 26, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (336, 301, '关联业务', 'saveTaskRelation', '', NULL, 3, 27, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (337, 301, '完成子任务', 'setChildTaskStatus', '', NULL, 3, 28, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (400, 1, '客户回访管理', 'visit', NULL, NULL, 1, 8, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (401, 400, '新建', 'save', '/crmReturnVisit/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (402, 400, '编辑', 'update', '/crmReturnVisit/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (403, 400, '查看列表', 'index', '/crmReturnVisit/queryPageList', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (404, 400, '查看详情', 'read', '/crmReturnVisit/queryById/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (405, 400, '删除', 'delete', '/crmReturnVisit/deleteByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (420, 1, '发票管理', 'invoice', NULL, NULL, 1, 9, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (421, 420, '新建', 'save', '/crmInvoice/save', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (422, 420, '编辑', 'update', '/crmInvoice/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (423, 420, '查看列表', 'index', '/crmInvoice/queryPageList', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (424, 420, '查看详情', 'read', '/crmInvoice/queryById/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (425, 420, '删除', 'delete', '/crmInvoice/deleteByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (426, 420, '转移', 'transfer', '/crmInvoice/changeOwnerUser', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (427, 420, '标记开票', 'updateInvoiceStatus', '/crmInvoice/updateInvoiceStatus', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (428, 420, '重置开票信息', 'resetInvoiceStatus', '/crmInvoice/resetInvoiceStatus', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (440, 1, '跟进记录管理', 'followRecord', NULL, NULL, 1, 10, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (441, 440, '查看', 'read', '/crmInstrument/queryRecordList', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (442, 440, '新建', 'save', '/crmActivity/addCrmActivityRecord', NULL, 3, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (443, 440, '编辑', 'update', '/crmActivity/updateActivityRecord', NULL, 3, 3, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (444, 440, '删除', 'delete', '/crmActivity/deleteCrmActivityRecord/*', NULL, 3, 4, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (500, 180, '打印模板设置', 'print', '', NULL, 3, 3, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (501, 12, '打印', 'print', '', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (502, 13, '打印', 'print', '', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (503, 14, '打印', 'print', '', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (601, 6, '供应商', 'supplier', '', NULL, 1, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (602, 601, '新建', 'save', '/jxcSupplier/addOrUpdate/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (603, 601, '编辑', 'update', '/jxcSupplier/addOrUpdate/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (604, 601, '查看列表', 'index', '/jxcField/queryPageList/2', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (605, 601, '查看详情', 'read', '/jxcField/information/2,/jxcSupplier/queryById/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (606, 601, '删除', 'delete', '/jxcSupplier/deleteByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (607, 601, '转移', 'transfer', '/jxcField/transfer/2', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (608, 601, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (610, 6, '采购订单', 'purchase', '', NULL, 1, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (611, 610, '新建', 'save', '/jxcPurchase/addOrUpdate/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (612, 610, '编辑', 'update', '/jxcPurchase/addOrUpdate/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (613, 610, '查看列表', 'index', '/jxcField/queryPageList/3', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (614, 610, '查看详情', 'read', '/jxcField/information/3,/jxcPurchase/queryById/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (615, 610, '删除', 'delete', '/jxcPurchase/deleteByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (616, 610, '转移', 'transfer', '/jxcField/transfer/3', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (617, 610, '作废', 'setState', '/jxcPurchase/setStateByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (618, 610, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (620, 6, '采购退货', 'retreat', '', NULL, 1, 3, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (621, 620, '新建', 'save', '/jxcRetreat/addOrUpdate/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (622, 620, '编辑', 'update', '/jxcRetreat/addOrUpdate/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (623, 620, '查看列表', 'index', '/jxcField/queryPageList/4', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (624, 620, '查看详情', 'read', '/jxcField/information/4,/jxcRetreat/queryById/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (625, 620, '删除', 'delete', '/jxcRetreat/deleteByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (626, 620, '转移', 'transfer', '/jxcField/transfer/4', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (627, 620, '作废', 'setState', '/jxcRetreat/setStateByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (628, 620, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (630, 6, '产品', 'product', '', NULL, 1, 4, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (631, 630, '新建', 'save', '/jxcProduct/addOrUpdate/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (632, 630, '编辑', 'update', '/jxcProduct/addOrUpdate/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (633, 630, '查看列表', 'index', '/jxcField/queryList/1,/jxcField/queryPageList/1,/jxcWarehouseProduct/queryPageList,/jxcWarehouseProduct/queryList', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (634, 630, '查看详情', 'read', '/jxcField/information/1,/jxcProduct/queryById/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (636, 630, '上/下架', 'self', '/jxcProduct/addorUpdateShelf', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (637, 630, '删除', 'delete', '/jxcProduct/deleteByIds', NULL, NULL, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (638, 630, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (640, 6, '销售订单', 'sale', '', NULL, 1, 5, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (641, 640, '新建', 'save', '/jxcSale/addOrUpdate/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (642, 640, '编辑', 'update', '/jxcSale/addOrUpdate/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (643, 640, '查看列表', 'index', '/jxcField/queryPageList/5', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (644, 640, '查看详情', 'read', '/jxcField/information/5,/jxcSale/queryById/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (645, 640, '删除', 'delete', '/jxcSale/deleteByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (646, 640, '转移', 'transfer', '/jxcField/transfer/5', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (647, 640, '作废', 'setState', '/jxcSale/setStateByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (648, 640, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (650, 6, '销售退货单', 'saleReturn', '', NULL, 1, 6, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (651, 650, '新建', 'save', '/jxcSaleReturn/addOrUpdate/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (652, 650, '编辑', 'update', '/jxcSaleReturn/addOrUpdate/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (653, 650, '查看列表', 'index', '/jxcField/queryPageList/6', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (654, 650, '查看详情', 'read', '/jxcField/information/6,/jxcSaleReturn/queryById/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (655, 650, '删除', 'delete', '/jxcSaleReturn/deleteByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (656, 650, '转移', 'transfer', '/jxcField/transfer/6', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (657, 650, '作废', 'setState', '/jxcSaleReturn/setStateByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (658, 650, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (670, 6, '仓库管理', 'warehouse', '', NULL, 1, 7, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (671, 670, '新建', 'save', '/jxcWarehouse/addOrUpdate/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (672, 670, '编辑', 'update', '/jxcWarehouse/addOrUpdate/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (673, 670, '查看列表', 'index', '/jxcWarehouse/queryPageList', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (675, 670, '删除', 'delete', '/jxcWarehouse/deleteByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (676, 670, '停用/启用', 'spst', '/jxcWarehouse/setTrunByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (677, 670, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (680, 6, '产品库存', 'warehouseProduct', '', NULL, 1, 8, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (681, 680, '查看列表', 'index', '/jxcWarehouseProduct/queryPageList', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (682, 680, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (690, 6, '产品入库', 'receipt', '', NULL, 1, 9, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (691, 690, '新建', 'save', '/jxcReceipt/addOrUpdate', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (693, 690, '查看列表', 'index', '/jxcField/queryPageList/7', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (694, 690, '查看详情', 'read', '/jxcField/information/7,/jxcReceipt/queryById/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (695, 690, '作废', 'setState', '/jxcReceipt/setStateByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (696, 690, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (700, 6, '产品出库', 'outbound', '', NULL, 1, 10, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (701, 700, '新建', 'save', '/jxcOutbound/addOrUpdate', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (703, 700, '查看列表', 'index', '/jxcField/queryPageList/8', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (704, 700, '查看详情', 'read', '/jxcField/information/8,/jxcOutbound/queryById/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (705, 700, '作废', 'setState', '/jxcOutbound/setStateByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (706, 700, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (710, 6, '库存调拨', 'allocation', '', NULL, 1, 11, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (711, 710, '新建', 'save', '/jxcAllocation/addOrUpdate/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (712, 710, '编辑', 'update', '/jxcAllocation/addOrUpdate/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (713, 710, '查看列表', 'index', '/jxcField/queryPageList/12', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (714, 710, '查看详情', 'read', '/jxcField/information/12,/jxcAllocation/queryById/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (715, 710, '删除', 'delete', '/jxcAllocation/deleteByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (716, 710, '作废', 'setState', '/jxcAllocation/setStateByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (717, 710, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (720, 6, '库存盘点', 'inventory', '', NULL, 1, 12, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (721, 720, '新建', 'save', '/jxcInventory/addOrUpdate/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (722, 720, '编辑', 'update', '/jxcInventory/addOrUpdate/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (723, 720, '查看列表', 'index', '/jxcField/queryPageList/11', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (724, 720, '查看详情', 'read', '/jxcField/information/11,/jxcInventory/queryById/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (725, 720, '删除', 'delete', '/jxcInventory/deleteByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (726, 720, '作废', 'setState', '/jxcInventory/setStateByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (727, 720, '盘点入库', 'storage', NULL, NULL, NULL, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (728, 720, '盘点作废', 'invalid', '', NULL, NULL, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (729, 720, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (730, 6, '出入库明细', 'detailed', '', NULL, 1, 13, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (731, 730, '查看列表', 'index', '/jxcField/queryPageList/13', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (732, 730, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (740, 6, '回款', 'collection', '', NULL, 1, 14, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (741, 740, '新建', 'save', '/jxcCollection/addOrUpdate/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (742, 740, '编辑', 'update', '/jxcCollection/addOrUpdate/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (743, 740, '查看列表', 'index', '/jxcField/queryPageList/10', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (744, 740, '查看详情', 'read', '/jxcField/information/10,/jxcCollection/queryById/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (745, 740, '删除', 'delete', '/jxcCollection/deleteByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (746, 740, '转移', 'transfer', '/jxcField/transfer/10', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (747, 740, '作废', 'setState', '/jxcCollection/setStateByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (748, 740, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (750, 6, '付款', 'payment', '', NULL, 1, 15, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (751, 750, '新建', 'save', '/jxcPayment/addOrUpdate/add', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (752, 750, '编辑', 'update', '/jxcPayment/addOrUpdate/update', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (753, 750, '查看列表', 'index', '/jxcField/queryPageList/9', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (754, 750, '查看详情', 'read', '/jxcField/information/9,/jxcPayment/queryById/*', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (755, 750, '删除', 'delete', '/jxcPayment/deleteByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (756, 750, '转移', 'transfer', '/jxcField/transfer/9', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (757, 750, '作废', 'setState', '/jxcPayment/setStateByIds', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (758, 750, '导出', 'excelexport', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (760, 2, '全部', 'jxc', '', NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (761, 760, '进销存采购分析', 'purchasingStatistics', '', NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (762, 761, '查看', 'read', '/jxcPurchaseStatistics/purchasingStatistics,/jxcProductPurchaseStatistics/productPurchaseStatistics,/jxcProductPurchaseStatistics/purchaseHeadStatistics,/jxcSupplierPurchaseStatistics/supplierPurchaseStatistics', NULL, 3, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (763, 760, '进销存销售分析', 'saleStatistics', '', NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (764, 763, '查看', 'read', '/jxcSaleStatistics/saleStatistics,/jxcProductSaleStatistics/productSaleStatistics,/jxcProductSaleStatistics/saleHeadStatistics,/jxcCustomerSaleStatistics/customerSaleStatistics,/jxcCustomerSaleStatistics/customerSaleStatistics', NULL, 3, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (765, 760, '进销存产品分析', 'productStatistics', '', NULL, 1, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (766, 765, '查看', 'read', '/jxcProductStatistics/productStatistics,/jxcProductStatistics/productHeadStatistics', NULL, 3, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (800, 5, '员工管理', 'employee', '', NULL, 1, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (801, 800, '新建', 'save', '/hrmEmployee/addEmployee', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (802, 800, '编辑', 'update', '/hrmEmployeePost/updatePostInformation,/hrmEmployee/setEduExperience,/hrmEmployee/addExperience,/hrmEmployee/deleteEduExperience,/hrmEmployee/addWorkExperience,/hrmEmployee/setWorkExperience,/hrmEmployee/deleteWorkExperience,/hrmEmployee/addCertificate,/hrmEmployee/setCertificate,/hrmEmployee/deleteCertificate,/hrmEmployee/addTrainingExperience,/hrmEmployee/setTrainingExperience,/hrmEmployee/deleteTrainingExperience,/hrmEmployee/addContacts,/hrmEmployee/setContacts,/hrmEmployee/deleteContacts,/hrmEmployeeContract/addContract,/hrmEmployeeContract/setContract,/hrmEmployeeContract/deleteContract,/SocialSecurity/setSalaryCard,/SocialSecurity/setSocialSecurity,/hrmEmployeeFile/addFile,/hrmEmployeeFile/deleteFile', NULL, 3, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (803, 800, '查看列表', 'index', '/hrmEmployee/queryPageList', NULL, 3, 3, 1, 'label-92');
INSERT INTO `wk_admin_menu` VALUES (804, 800, '查看详情', 'read', '/hrmEmployee/queryById,/hrmEmployeePost/postInformation,/hrmEmployee/personalInformation,/hrmEmployeeContract/contractInformation,/hrmEmployee/SocialSecurity/salarySocialSecurityInformation,/hrmEmployeeFile/queryFileNum', NULL, 3, 4, 1, 'label-92');
INSERT INTO `wk_admin_menu` VALUES (805, 800, '导入', 'excelimport', '/hrmEmployee/uploadExcel', NULL, 3, 5, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (806, 800, '导出', 'excelexport', '/hrmEmployee/export', NULL, 3, 6, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (807, 800, '删除', 'delete', '/hrmEmployee/deleteByIds', NULL, 3, 7, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (808, 800, '办理转正', 'become', '/hrmEmployee/become', NULL, 3, 8, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (809, 800, '调整部门/岗位', 'changePost', '/hrmEmployee/changePost', NULL, 3, 9, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (810, 800, '晋升/降级', 'promotion', '/hrmEmployee/promotion', NULL, 3, 10, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (811, 800, '办理离职', 'leave', '/hrmEmployeePost/addLeaveInformation', NULL, 3, 11, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (812, 800, '设置参保方案', 'setInsured', '/hrmEmployee/updateInsuranceScheme', NULL, 3, 12, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (813, 800, '再入职', 'againOnboarding', '/hrmEmployee/againOnboarding', NULL, 3, 13, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (814, 800, '确认入职', 'confirmEntry', '/hrmEmployee/confirmEntry', NULL, 3, 13, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (815, 800, '放弃离职', 'cancelLevel', '/hrmEmployeePost/deleteLeaveInformation', NULL, 3, 14, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (830, 5, '组织管理', 'dept', '', NULL, 1, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (831, 830, '新建', 'save', '/hrmDept/addDept', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (832, 830, '编辑', 'update', '/hrmDept/setDept', NULL, 3, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (833, 830, '查看列表', 'index', '', NULL, 3, 3, 1, 'label-92');
INSERT INTO `wk_admin_menu` VALUES (834, 830, '查看详情', 'read', '/hrmDept/queryById', NULL, 3, 4, 1, 'label-92');
INSERT INTO `wk_admin_menu` VALUES (835, 830, '删除', 'delete', '/hrmDept/deleteDeptById', NULL, 3, 5, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (840, 5, '薪资管理', 'salary', '', NULL, 1, 3, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (841, 840, '工资表维护', 'manage', '/hrmSalaryMonthRecord/computeSalaryData,/hrmSalaryMonthRecord/updateSalary,/hrmSalaryMonthRecord/submitExamine,/hrmSalaryMonthRecord/addNextMonthSalary', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (842, 840, '查看薪酬列表', 'index', '/hrmSalaryOption/querySalaryOptionDetail', NULL, 3, 2, 1, 'label-92');
INSERT INTO `wk_admin_menu` VALUES (843, 840, '查看历史工资', 'history', '/hrmSalaryHistoryRecord/queryHistorySalaryList', NULL, 3, 3, 1, 'label-92');
INSERT INTO `wk_admin_menu` VALUES (844, 840, '发放工资条', 'sendSlip', '/hrmSalarySlipRecord/sendSalarySlip', NULL, 3, 4, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (845, 840, '查看发放记录', 'queryRecord', '', NULL, 3, 5, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (846, 840, '查看薪资档案', 'queryArchives', '/hrmSalaryArchives/querySalaryArchivesList', NULL, 3, 6, 1, 'label-92');
INSERT INTO `wk_admin_menu` VALUES (847, 840, '维护薪资档案', 'updateArchives', '/hrmSalaryArchives/setFixSalaryRecord,/hrmSalaryArchives/setChangeSalaryRecord,/deleteChangeSalary/setChangeSalaryRecord,/deleteChangeSalary/batchChangeSalaryRecord,/deleteChangeSalary/exportFixSalaryRecord', NULL, 3, 7, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (850, 5, '社保管理', 'insurance', '', NULL, 1, 4, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (851, 850, '维护社保', 'manage', '/hrmInsuranceMonthRecord/computeInsuranceData,/hrmInsuranceMonthEmpRecord/stop,/hrmInsuranceMonthEmpRecord/updateInsuranceProject', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (852, 850, '查看社保', 'read', '/hrmInsuranceMonthRecord/queryInsuranceRecordList', NULL, 3, 2, 1, 'label-92');
INSERT INTO `wk_admin_menu` VALUES (860, 5, '招聘管理', 'recruit', '', NULL, 1, 5, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (861, 860, '新建候选人', 'save', '/hrmRecruitCandidate/addCandidate', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (862, 860, '查看候选人', 'read', '/hrmRecruitCandidate/queryPageList,/hrmRecruitCandidate/queryById', NULL, 3, 2, 1, 'label-92');
INSERT INTO `wk_admin_menu` VALUES (863, 860, '维护候选人', 'manage', '/hrmRecruitCandidate/setCandidate,/hrmRecruitCandidate/updateCandidateStatus,/hrmRecruitCandidate/updateCandidatePost,/hrmRecruitCandidate/updateCandidateRecruitChannel,/hrmRecruitCandidate/eliminateCandidate', NULL, 3, 3, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (864, 860, '删除候选人', 'delete', '/hrmRecruitCandidate/deleteByIds,/hrmRecruitCandidate/deleteById', NULL, 3, 4, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (865, 860, '新建招聘职位', 'savePost', '/hrmRecruitPost/addRecruitPost', NULL, 3, 5, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (866, 860, '编辑招聘职位', 'updatePost', '/hrmRecruitPost/setRecruitPost', NULL, 3, 6, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (867, 860, '查看招聘职位', 'readPost', '/hrmRecruitPost/queryRecruitPostPageList,/hrmRecruitPost/queryById', NULL, 3, 7, 1, 'label-92');
INSERT INTO `wk_admin_menu` VALUES (868, 860, '停用/启用招聘职位', 'updatePostStatus', '/hrmRecruitPost/updateRecruitPostStatus', NULL, 3, 8, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (880, 5, '绩效管理', 'appraisal', '', NULL, 1, 6, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (881, 880, '新建绩效', 'save', '/hrmRecruitPost/addAppraisal', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (882, 880, '编辑绩效', 'update', '/hrmRecruitPost/setAppraisal', NULL, 3, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (883, 880, '查看绩效', 'read', '', NULL, 3, 3, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (884, 880, '删除绩效', 'delete', '/hrmRecruitPost/delete', NULL, 3, 4, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (885, 880, '终止绩效', 'stop', '/hrmRecruitPoststopAppraisal', NULL, 3, 5, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (886, 880, '查看员工绩效', 'readEmp', '', NULL, 3, 3, 1, 'label-92');
INSERT INTO `wk_admin_menu` VALUES (890, 5, '考勤管理', 'attendance', '', NULL, 1, 6, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (891, 890, '查看打卡记录', 'readClock', '/hrmRecruitPost/addAppraisal', NULL, 3, 1, 1, 'label-92');
INSERT INTO `wk_admin_menu` VALUES (892, 890, '导出打卡记录', 'excelexport', '/hrmAttendanceClock/excelExport', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (900, 3, '人力资源管理', 'hrm', NULL, NULL, 1, 10, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (901, 900, '自定义字段设置', 'field', '/hrmConfig/queryFields', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (902, 900, '薪资设置', 'salary', '/hrmSalaryGroup/querySalaryGroupPageList', NULL, 3, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (903, 900, '社保设置', 'insurance', '', NULL, 3, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (904, 900, '绩效设置', 'appraisal', '', NULL, 3, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (905, 900, '业务参数设置', 'params', '/hrmConfig/queryRecruitChannelList', NULL, 3, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (906, 900, '员工档案设置', 'archives', '', NULL, 3, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (920, 3, '进销存管理', 'jxc', NULL, NULL, 1, 11, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (921, 920, '自定义字段设置', 'field', '/jxcField/queryFields', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (922, 920, '业务参数设置', 'params', '/jxcProductType/queryJxcProductTyp,/jxcNumberSetting/queryNumberSetting', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (923, 3, '初始化', 'init', NULL, NULL, 1, 12, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (924, 923, '初始化管理', 'initData', '/adminConfig/moduleInitData', NULL, 3, 0, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (926, 180, '市场活动表单设置', 'activityForm', '/crmMarketingForm/page', NULL, 3, 6, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (927, 301, '管理参与人权限', 'manageTaskOwnerUser', '', NULL, 3, 29, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (928, 440, '导入', 'excelimport', '/crmInstrument/importRecordList', NULL, 3, 5, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (929, 440, '导出', 'excelexport', '/crmInstrument/exportRecordList', NULL, 3, 6, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (933, 11, '编辑团队成员', 'teamsave', '/crmContacts/addMembers,/crmContacts/updateMembers,/crmContacts/exitTeam', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (934, 14, '编辑团队成员', 'teamsave', '/crmReceivables/addMembers,/crmReceivables/updateMembers,/crmReceivables/exitTeam', NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (935, 166, '角色权限查看', 'read', NULL, NULL, 3, 8, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (936, 1, '回款计划', 'receivablesPlan', NULL, NULL, 1, 5, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (937, 936, '新建', 'save', NULL, NULL, 3, 1, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (938, 936, '编辑', 'update', NULL, NULL, 3, 2, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (939, 936, '查看列表', 'index', NULL, NULL, 3, 3, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (940, 936, '查看详情', 'read', NULL, NULL, 3, 4, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (941, 936, '删除', 'delete', NULL, NULL, 3, 5, 1, NULL);
INSERT INTO `wk_admin_menu` VALUES (942, 936, '导出', 'excelexport', NULL, NULL, 3, 6, 1, NULL);
-- ----------------------------
-- Table structure for wk_admin_message
-- ----------------------------
DROP TABLE IF EXISTS `wk_admin_message`;
CREATE TABLE `wk_admin_message` (
`message_id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT '消息ID',
`title` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '消息标题',
`content` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '内容',
`label` int(0) NULL DEFAULT NULL COMMENT '消息大类 1 任务 2 日志 3 oa审批 4公告 5 日程 6 crm消息 7 知识库 8 人资',
`type` int(0) NULL DEFAULT NULL COMMENT '消息类型 详见AdminMessageEnum',
`type_id` int(0) NULL DEFAULT NULL COMMENT '关联ID',
`create_user` bigint(0) NOT NULL COMMENT '消息创建者 0为系统',
`recipient_user` bigint(0) NOT NULL COMMENT '接收人',
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
`is_read` int(0) NULL DEFAULT 0 COMMENT '是否已读 0 未读 1 已读',
`read_time` datetime(0) NULL DEFAULT NULL COMMENT '已读时间',
PRIMARY KEY (`message_id`) USING BTREE,
INDEX `recipient_user`(`recipient_user`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统消息表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of wk_admin_message
-- ----------------------------
-- ----------------------------
-- Table structure for wk_admin_model_sort
-- ----------------------------
DROP TABLE IF EXISTS `wk_admin_model_sort`;
CREATE TABLE `wk_admin_model_sort` (
`id` int(0) NOT NULL AUTO_INCREMENT,
`type` int(0) NOT NULL COMMENT '导航类型 1头部导航 2客户管理左侧导航',
`model` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '模块 1仪表盘 2待办事项 3线索 4客户 5联系人 6商机 7合同 8回款 9发票 10回访 11产品 12市场活动',
`sort` int(0) NOT NULL COMMENT '排序',
`is_hidden` int(0) NULL DEFAULT 0 COMMENT '是否隐藏 0不隐藏 1隐藏',
`user_id` bigint(0) NOT NULL COMMENT '用户id',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '客户管理导航栏排序表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of wk_admin_model_sort
-- ----------------------------
-- ----------------------------
-- Table structure for wk_admin_official_img
-- ----------------------------
DROP TABLE IF EXISTS `wk_admin_official_img`;
CREATE TABLE `wk_admin_official_img` (
`official_img_id` int(0) NOT NULL AUTO_INCREMENT,
`size` bigint(0) NULL DEFAULT NULL COMMENT '附件大小(字节)',
`create_user_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人ID',
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
`path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件真实路径',
`file_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件路径',
`type` int(0) NULL DEFAULT NULL COMMENT '1.官网设置 2.名片海报',
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`tactic` int(0) NULL DEFAULT NULL COMMENT '0',
PRIMARY KEY (`official_img_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '官网图片' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of wk_admin_official_img
-- ----------------------------
-- ----------------------------
-- Table structure for wk_admin_role
-- ----------------------------
DROP TABLE IF EXISTS `wk_admin_role`;
CREATE TABLE `wk_admin_role` (
`role_id` int(0) NOT NULL AUTO_INCREMENT,
`role_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '名称',
`role_type` int(0) NULL DEFAULT NULL COMMENT '0、自定义角色1、管理角色 2、客户管理角色 3、人事角色 4、财务角色 5、项目角色 8、项目自定义角色',
`remark` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
`status` int(0) NULL DEFAULT 1 COMMENT '1 启用 0 禁用',
`data_type` int(0) NOT NULL DEFAULT 5 COMMENT '数据权限 1、本人,2、本人及下属,3、本部门,4、本部门及下属部门,5、全部 ',
`is_hidden` int(0) NOT NULL DEFAULT 1 COMMENT '0 隐藏 1 不隐藏',
`label` int(0) NULL DEFAULT NULL COMMENT '1 系统项目管理员角色 2 项目管理角色 3 项目编辑角色 4 项目只读角色',
PRIMARY KEY (`role_id`) USING BTREE,
INDEX `role_type`(`role_type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 180177 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of wk_admin_role
-- ----------------------------
INSERT INTO `wk_admin_role` VALUES (180162, '超级管理员', 1, 'admin', 1, 5, 1, 5);
INSERT INTO `wk_admin_role` VALUES (180163, '系统设置管理员', 1, NULL, 1, 2, 1, 6);
INSERT INTO `wk_admin_role` VALUES (180164, '部门与员工管理员', 1, NULL, 1, 5, 1, 7);
INSERT INTO `wk_admin_role` VALUES (180165, '审批流管理员', 1, NULL, 1, 5, 1, 8);
INSERT INTO `wk_admin_role` VALUES (180166, '工作台管理员', 1, NULL, 1, 5, 1, 9);
INSERT INTO `wk_admin_role` VALUES (180167, '客户管理员', 1, NULL, 1, 5, 1, 10);
INSERT INTO `wk_admin_role` VALUES (180168, '公告管理员', 7, NULL, 1, 5, 1, 11);
INSERT INTO `wk_admin_role` VALUES (180169, '销售经理角色', 2, NULL, 1, 5, 1, NULL);
INSERT INTO `wk_admin_role` VALUES (180170, '销售员角色', 2, NULL, 1, 1, 1, NULL);
INSERT INTO `wk_admin_role` VALUES (180171, '项目管理员', 8, 'project', 1, 5, 1, 1);
INSERT INTO `wk_admin_role` VALUES (180172, '管理', 5, '系统默认权限,包含所在项目所有权限', 1, 5, 0, 2);
INSERT INTO `wk_admin_role` VALUES (180173, '编辑', 5, '成员初始加入时默认享有的权限', 1, 5, 1, 3);
INSERT INTO `wk_admin_role` VALUES (180174, '只读', 5, '项目只读角色', 1, 1, 1, 4);
INSERT INTO `wk_admin_role` VALUES (180175, '上级角色', 9, NULL, 1, 2, 1, 91);
-- ----------------------------
-- Table structure for wk_admin_role_auth
-- ----------------------------
DROP TABLE IF EXISTS `wk_admin_role_auth`;
CREATE TABLE `wk_admin_role_auth` (
`id` int(0) NOT NULL AUTO_INCREMENT,
`role_id` int(0) NOT NULL COMMENT '角色ID',
`menu_id` int(0) NOT NULL COMMENT '菜单ID',
`auth_role_id` int(0) NULL DEFAULT NULL COMMENT '能查询的角色ID',
`remark` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`) USING BTREE,
INDEX `role_type`(`auth_role_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5449 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of wk_admin_role_auth
-- ----------------------------
-- ----------------------------
-- Table structure for wk_admin_role_menu
-- ----------------------------
DROP TABLE IF EXISTS `wk_admin_role_menu`;
CREATE TABLE `wk_admin_role_menu` (
`id` int(0) NOT NULL AUTO_INCREMENT,
`role_id` int(0) NOT NULL COMMENT '角色ID',
`menu_id` int(0) NOT NULL COMMENT '菜单ID',
PRIMARY KEY (`id`) USING BTREE,
INDEX `role_id`(`role_id`) USING BTREE,
INDEX `menu_id`(`menu_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2300834 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色菜单对应关系表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of wk_admin_role_menu
-- ----------------------------
INSERT INTO `wk_admin_role_menu` VALUES (2300572, 180163, 3);
INSERT INTO `wk_admin_role_menu` VALUES (2300573, 180163, 160);
INSERT INTO `wk_admin_role_menu` VALUES (2300574, 180163, 161);
INSERT INTO `wk_admin_role_menu` VALUES (2300575, 180163, 162);
INSERT INTO `wk_admin_role_menu` VALUES (2300576, 180163, 163);
INSERT INTO `wk_admin_role_menu` VALUES (2300577, 180163, 164);
INSERT INTO `wk_admin_role_menu` VALUES (2300578, 180163, 165);
INSERT INTO `wk_admin_role_menu` VALUES (2300579, 180163, 166);
INSERT INTO `wk_admin_role_menu` VALUES (2300580, 180163, 167);
INSERT INTO `wk_admin_role_menu` VALUES (2300581, 180163, 168);
INSERT INTO `wk_admin_role_menu` VALUES (2300582, 180163, 169);
INSERT INTO `wk_admin_role_menu` VALUES (2300583, 180163, 170);
INSERT INTO `wk_admin_role_menu` VALUES (2300584, 180163, 171);
INSERT INTO `wk_admin_role_menu` VALUES (2300585, 180163, 172);
INSERT INTO `wk_admin_role_menu` VALUES (2300586, 180163, 173);
INSERT INTO `wk_admin_role_menu` VALUES (2300587, 180163, 174);
INSERT INTO `wk_admin_role_menu` VALUES (2300588, 180163, 175);
INSERT INTO `wk_admin_role_menu` VALUES (2300589, 180163, 176);
INSERT INTO `wk_admin_role_menu` VALUES (2300590, 180163, 177);
INSERT INTO `wk_admin_role_menu` VALUES (2300591, 180163, 178);
INSERT INTO `wk_admin_role_menu` VALUES (2300592, 180163, 179);
INSERT INTO `wk_admin_role_menu` VALUES (2300593, 180163, 180);
INSERT INTO `wk_admin_role_menu` VALUES (2300594, 180163, 181);
INSERT INTO `wk_admin_role_menu` VALUES (2300595, 180163, 182);
INSERT INTO `wk_admin_role_menu` VALUES (2300596, 180163, 183);
INSERT INTO `wk_admin_role_menu` VALUES (2300597, 180163, 184);
INSERT INTO `wk_admin_role_menu` VALUES (2300598, 180163, 185);
INSERT INTO `wk_admin_role_menu` VALUES (2300599, 180163, 186);
INSERT INTO `wk_admin_role_menu` VALUES (2300600, 180164, 166);
INSERT INTO `wk_admin_role_menu` VALUES (2300601, 180164, 167);
INSERT INTO `wk_admin_role_menu` VALUES (2300602, 180164, 168);
INSERT INTO `wk_admin_role_menu` VALUES (2300603, 180164, 169);
INSERT INTO `wk_admin_role_menu` VALUES (2300604, 180164, 170);
INSERT INTO `wk_admin_role_menu` VALUES (2300605, 180164, 171);
INSERT INTO `wk_admin_role_menu` VALUES (2300606, 180164, 172);
INSERT INTO `wk_admin_role_menu` VALUES (2300607, 180164, 173);
INSERT INTO `wk_admin_role_menu` VALUES (2300608, 180165, 178);
INSERT INTO `wk_admin_role_menu` VALUES (2300609, 180165, 179);
INSERT INTO `wk_admin_role_menu` VALUES (2300610, 180166, 176);
INSERT INTO `wk_admin_role_menu` VALUES (2300611, 180166, 177);
INSERT INTO `wk_admin_role_menu` VALUES (2300612, 180167, 180);
INSERT INTO `wk_admin_role_menu` VALUES (2300613, 180167, 181);
INSERT INTO `wk_admin_role_menu` VALUES (2300614, 180167, 182);
INSERT INTO `wk_admin_role_menu` VALUES (2300615, 180167, 183);
INSERT INTO `wk_admin_role_menu` VALUES (2300616, 180167, 184);
INSERT INTO `wk_admin_role_menu` VALUES (2300617, 180168, 187);
INSERT INTO `wk_admin_role_menu` VALUES (2300618, 180168, 188);
INSERT INTO `wk_admin_role_menu` VALUES (2300619, 180168, 189);
INSERT INTO `wk_admin_role_menu` VALUES (2300620, 180168, 190);
INSERT INTO `wk_admin_role_menu` VALUES (2300621, 180169, 9);
INSERT INTO `wk_admin_role_menu` VALUES (2300622, 180169, 10);
INSERT INTO `wk_admin_role_menu` VALUES (2300623, 180169, 11);
INSERT INTO `wk_admin_role_menu` VALUES (2300624, 180169, 12);
INSERT INTO `wk_admin_role_menu` VALUES (2300625, 180169, 13);
INSERT INTO `wk_admin_role_menu` VALUES (2300626, 180169, 14);
INSERT INTO `wk_admin_role_menu` VALUES (2300627, 180169, 17);
INSERT INTO `wk_admin_role_menu` VALUES (2300628, 180169, 18);
INSERT INTO `wk_admin_role_menu` VALUES (2300629, 180169, 19);
INSERT INTO `wk_admin_role_menu` VALUES (2300630, 180169, 20);
INSERT INTO `wk_admin_role_menu` VALUES (2300631, 180169, 21);
INSERT INTO `wk_admin_role_menu` VALUES (2300632, 180169, 22);
INSERT INTO `wk_admin_role_menu` VALUES (2300633, 180169, 23);
INSERT INTO `wk_admin_role_menu` VALUES (2300634, 180169, 24);
INSERT INTO `wk_admin_role_menu` VALUES (2300635, 180169, 25);
INSERT INTO `wk_admin_role_menu` VALUES (2300636, 180169, 26);
INSERT INTO `wk_admin_role_menu` VALUES (2300637, 180169, 27);
INSERT INTO `wk_admin_role_menu` VALUES (2300638, 180169, 28);
INSERT INTO `wk_admin_role_menu` VALUES (2300639, 180169, 29);
INSERT INTO `wk_admin_role_menu` VALUES (2300640, 180169, 30);
INSERT INTO `wk_admin_role_menu` VALUES (2300641, 180169, 31);
INSERT INTO `wk_admin_role_menu` VALUES (2300642, 180169, 32);
INSERT INTO `wk_admin_role_menu` VALUES (2300643, 180169, 33);
INSERT INTO `wk_admin_role_menu` VALUES (2300644, 180169, 34);
INSERT INTO `wk_admin_role_menu` VALUES (2300645, 180169, 35);
INSERT INTO `wk_admin_role_menu` VALUES (2300646, 180169, 36);
INSERT INTO `wk_admin_role_menu` VALUES (2300647, 180169, 40);
INSERT INTO `wk_admin_role_menu` VALUES (2300648, 180169, 41);
INSERT INTO `wk_admin_role_menu` VALUES (2300649, 180169, 42);
INSERT INTO `wk_admin_role_menu` VALUES (2300650, 180169, 43);
INSERT INTO `wk_admin_role_menu` VALUES (2300651, 180169, 44);
INSERT INTO `wk_admin_role_menu` VALUES (2300652, 180169, 45);
INSERT INTO `wk_admin_role_menu` VALUES (2300653, 180169, 46);
INSERT INTO `wk_admin_role_menu` VALUES (2300654, 180169, 47);
INSERT INTO `wk_admin_role_menu` VALUES (2300655, 180169, 48);
INSERT INTO `wk_admin_role_menu` VALUES (2300656, 180169, 49);
INSERT INTO `wk_admin_role_menu` VALUES (2300657, 180169, 50);
INSERT INTO `wk_admin_role_menu` VALUES (2300658, 180169, 51);
INSERT INTO `wk_admin_role_menu` VALUES (2300659, 180169, 52);
INSERT INTO `wk_admin_role_menu` VALUES (2300660, 180169, 53);
INSERT INTO `wk_admin_role_menu` VALUES (2300661, 180169, 54);
INSERT INTO `wk_admin_role_menu` VALUES (2300662, 180169, 55);
INSERT INTO `wk_admin_role_menu` VALUES (2300663, 180169, 56);
INSERT INTO `wk_admin_role_menu` VALUES (2300664, 180169, 57);
INSERT INTO `wk_admin_role_menu` VALUES (2300665, 180169, 58);
INSERT INTO `wk_admin_role_menu` VALUES (2300666, 180169, 59);
INSERT INTO `wk_admin_role_menu` VALUES (2300667, 180169, 60);
INSERT INTO `wk_admin_role_menu` VALUES (2300668, 180169, 61);
INSERT INTO `wk_admin_role_menu` VALUES (2300669, 180169, 62);
INSERT INTO `wk_admin_role_menu` VALUES (2300670, 180169, 63);
INSERT INTO `wk_admin_role_menu` VALUES (2300671, 180169, 64);
INSERT INTO `wk_admin_role_menu` VALUES (2300672, 180169, 67);
INSERT INTO `wk_admin_role_menu` VALUES (2300673, 180169, 68);
INSERT INTO `wk_admin_role_menu` VALUES (2300674, 180169, 97);
INSERT INTO `wk_admin_role_menu` VALUES (2300675, 180169, 98);
INSERT INTO `wk_admin_role_menu` VALUES (2300676, 180169, 99);
INSERT INTO `wk_admin_role_menu` VALUES (2300677, 180169, 101);
INSERT INTO `wk_admin_role_menu` VALUES (2300678, 180169, 102);
INSERT INTO `wk_admin_role_menu` VALUES (2300679, 180169, 103);
INSERT INTO `wk_admin_role_menu` VALUES (2300680, 180169, 104);
INSERT INTO `wk_admin_role_menu` VALUES (2300681, 180169, 106);
INSERT INTO `wk_admin_role_menu` VALUES (2300682, 180169, 107);
INSERT INTO `wk_admin_role_menu` VALUES (2300683, 180169, 108);
INSERT INTO `wk_admin_role_menu` VALUES (2300684, 180169, 117);
INSERT INTO `wk_admin_role_menu` VALUES (2300685, 180169, 118);
INSERT INTO `wk_admin_role_menu` VALUES (2300686, 180169, 123);
INSERT INTO `wk_admin_role_menu` VALUES (2300687, 180169, 124);
INSERT INTO `wk_admin_role_menu` VALUES (2300688, 180169, 125);
INSERT INTO `wk_admin_role_menu` VALUES (2300689, 180169, 126);
INSERT INTO `wk_admin_role_menu` VALUES (2300690, 180169, 191);
INSERT INTO `wk_admin_role_menu` VALUES (2300691, 180169, 192);
INSERT INTO `wk_admin_role_menu` VALUES (2300692, 180170, 14);
INSERT INTO `wk_admin_role_menu` VALUES (2300693, 180170, 17);
INSERT INTO `wk_admin_role_menu` VALUES (2300694, 180170, 18);
INSERT INTO `wk_admin_role_menu` VALUES (2300695, 180170, 19);
INSERT INTO `wk_admin_role_menu` VALUES (2300696, 180170, 20);
INSERT INTO `wk_admin_role_menu` VALUES (2300697, 180170, 21);
INSERT INTO `wk_admin_role_menu` VALUES (2300698, 180170, 25);
INSERT INTO `wk_admin_role_menu` VALUES (2300699, 180170, 26);
INSERT INTO `wk_admin_role_menu` VALUES (2300700, 180170, 27);
INSERT INTO `wk_admin_role_menu` VALUES (2300701, 180170, 28);
INSERT INTO `wk_admin_role_menu` VALUES (2300702, 180170, 29);
INSERT INTO `wk_admin_role_menu` VALUES (2300703, 180170, 30);
INSERT INTO `wk_admin_role_menu` VALUES (2300704, 180170, 34);
INSERT INTO `wk_admin_role_menu` VALUES (2300705, 180170, 35);
INSERT INTO `wk_admin_role_menu` VALUES (2300706, 180170, 36);
INSERT INTO `wk_admin_role_menu` VALUES (2300707, 180170, 40);
INSERT INTO `wk_admin_role_menu` VALUES (2300708, 180170, 41);
INSERT INTO `wk_admin_role_menu` VALUES (2300709, 180170, 42);
INSERT INTO `wk_admin_role_menu` VALUES (2300710, 180170, 43);
INSERT INTO `wk_admin_role_menu` VALUES (2300711, 180170, 44);
INSERT INTO `wk_admin_role_menu` VALUES (2300712, 180170, 45);
INSERT INTO `wk_admin_role_menu` VALUES (2300713, 180170, 46);
INSERT INTO `wk_admin_role_menu` VALUES (2300714, 180170, 47);
INSERT INTO `wk_admin_role_menu` VALUES (2300715, 180170, 48);
INSERT INTO `wk_admin_role_menu` VALUES (2300716, 180170, 49);
INSERT INTO `wk_admin_role_menu` VALUES (2300717, 180170, 50);
INSERT INTO `wk_admin_role_menu` VALUES (2300718, 180170, 52);
INSERT INTO `wk_admin_role_menu` VALUES (2300719, 180170, 53);
INSERT INTO `wk_admin_role_menu` VALUES (2300720, 180170, 54);
INSERT INTO `wk_admin_role_menu` VALUES (2300721, 180170, 55);
INSERT INTO `wk_admin_role_menu` VALUES (2300722, 180170, 56);
INSERT INTO `wk_admin_role_menu` VALUES (2300723, 180170, 57);
INSERT INTO `wk_admin_role_menu` VALUES (2300724, 180170, 59);
INSERT INTO `wk_admin_role_menu` VALUES (2300725, 180170, 60);
INSERT INTO `wk_admin_role_menu` VALUES (2300726, 180170, 61);
INSERT INTO `wk_admin_role_menu` VALUES (2300727, 180170, 62);
INSERT INTO `wk_admin_role_menu` VALUES (2300728, 180170, 63);
INSERT INTO `wk_admin_role_menu` VALUES (2300729, 180170, 64);
INSERT INTO `wk_admin_role_menu` VALUES (2300730, 180170, 67);
INSERT INTO `wk_admin_role_menu` VALUES (2300731, 180170, 68);
INSERT INTO `wk_admin_role_menu` VALUES (2300732, 180170, 97);
INSERT INTO `wk_admin_role_menu` VALUES (2300733, 180170, 98);
INSERT INTO `wk_admin_role_menu` VALUES (2300734, 180170, 99);
INSERT INTO `wk_admin_role_menu` VALUES (2300735, 180170, 101);
INSERT INTO `wk_admin_role_menu` VALUES (2300736, 180170, 102);
INSERT INTO `wk_admin_role_menu` VALUES (2300737, 180170, 103);
INSERT INTO `wk_admin_role_menu` VALUES (2300738, 180170, 104);
INSERT INTO `wk_admin_role_menu` VALUES (2300739, 180170, 106);
INSERT INTO `wk_admin_role_menu` VALUES (2300740, 180170, 108);
INSERT INTO `wk_admin_role_menu` VALUES (2300741, 180170, 117);
INSERT INTO `wk_admin_role_menu` VALUES (2300742, 180170, 118);
INSERT INTO `wk_admin_role_menu` VALUES (2300743, 180170, 123);
INSERT INTO `wk_admin_role_menu` VALUES (2300744, 180170, 124);
INSERT INTO `wk_admin_role_menu` VALUES (2300745, 180170, 125);
INSERT INTO `wk_admin_role_menu` VALUES (2300746, 180170, 126);
INSERT INTO `wk_admin_role_menu` VALUES (2300747, 180173, 316);
INSERT INTO `wk_admin_role_menu` VALUES (2300748, 180173, 317);
INSERT INTO `wk_admin_role_menu` VALUES (2300749, 180173, 318);
INSERT INTO `wk_admin_role_menu` VALUES (2300750, 180173, 319);
INSERT INTO `wk_admin_role_menu` VALUES (2300751, 180173, 320);
INSERT INTO `wk_admin_role_menu` VALUES (2300752, 180173, 321);
INSERT INTO `wk_admin_role_menu` VALUES (2300753, 180173, 322);
INSERT INTO `wk_admin_role_menu` VALUES (2300754, 180173, 323);
INSERT INTO `wk_admin_role_menu` VALUES (2300755, 180173, 324);
INSERT INTO `wk_admin_role_menu` VALUES (2300756, 180173, 325);
INSERT INTO `wk_admin_role_menu` VALUES (2300757, 180173, 326);
INSERT INTO `wk_admin_role_menu` VALUES (2300758, 180173, 327);
INSERT INTO `wk_admin_role_menu` VALUES (2300759, 180173, 329);
INSERT INTO `wk_admin_role_menu` VALUES (2300760, 180173, 330);
INSERT INTO `wk_admin_role_menu` VALUES (2300761, 180173, 331);
INSERT INTO `wk_admin_role_menu` VALUES (2300762, 180173, 332);
INSERT INTO `wk_admin_role_menu` VALUES (2300763, 180173, 333);
INSERT INTO `wk_admin_role_menu` VALUES (2300764, 180173, 334);
INSERT INTO `wk_admin_role_menu` VALUES (2300765, 180173, 335);
INSERT INTO `wk_admin_role_menu` VALUES (2300766, 180173, 337);
INSERT INTO `wk_admin_role_menu` VALUES (2300767, 180171, 149);
INSERT INTO `wk_admin_role_menu` VALUES (2300768, 180171, 152);
INSERT INTO `wk_admin_role_menu` VALUES (2300769, 180171, 153);
INSERT INTO `wk_admin_role_menu` VALUES (2300770, 180169, 2);
INSERT INTO `wk_admin_role_menu` VALUES (2300771, 180169, 15);
INSERT INTO `wk_admin_role_menu` VALUES (2300772, 180169, 65);
INSERT INTO `wk_admin_role_menu` VALUES (2300773, 180169, 66);
INSERT INTO `wk_admin_role_menu` VALUES (2300774, 180169, 69);
INSERT INTO `wk_admin_role_menu` VALUES (2300775, 180169, 70);
INSERT INTO `wk_admin_role_menu` VALUES (2300776, 180169, 109);
INSERT INTO `wk_admin_role_menu` VALUES (2300777, 180169, 110);
INSERT INTO `wk_admin_role_menu` VALUES (2300778, 180169, 193);
INSERT INTO `wk_admin_role_menu` VALUES (2300779, 180169, 194);
INSERT INTO `wk_admin_role_menu` VALUES (2300780, 180169, 195);
INSERT INTO `wk_admin_role_menu` VALUES (2300781, 180169, 211);
INSERT INTO `wk_admin_role_menu` VALUES (2300782, 180169, 400);
INSERT INTO `wk_admin_role_menu` VALUES (2300783, 180169, 401);
INSERT INTO `wk_admin_role_menu` VALUES (2300784, 180169, 402);
INSERT INTO `wk_admin_role_menu` VALUES (2300785, 180169, 403);
INSERT INTO `wk_admin_role_menu` VALUES (2300786, 180169, 404);
INSERT INTO `wk_admin_role_menu` VALUES (2300787, 180169, 405);
INSERT INTO `wk_admin_role_menu` VALUES (2300788, 180169, 420);
INSERT INTO `wk_admin_role_menu` VALUES (2300789, 180169, 421);
INSERT INTO `wk_admin_role_menu` VALUES (2300790, 180169, 422);
INSERT INTO `wk_admin_role_menu` VALUES (2300791, 180169, 423);
INSERT INTO `wk_admin_role_menu` VALUES (2300792, 180169, 424);
INSERT INTO `wk_admin_role_menu` VALUES (2300793, 180169, 425);
INSERT INTO `wk_admin_role_menu` VALUES (2300794, 180169, 426);
INSERT INTO `wk_admin_role_menu` VALUES (2300795, 180169, 427);
INSERT INTO `wk_admin_role_menu` VALUES (2300796, 180169, 428);
INSERT INTO `wk_admin_role_menu` VALUES (2300797, 180169, 440);
INSERT INTO `wk_admin_role_menu` VALUES (2300798, 180169, 441);
INSERT INTO `wk_admin_role_menu` VALUES (2300799, 180169, 442);
INSERT INTO `wk_admin_role_menu` VALUES (2300800, 180169, 443);
INSERT INTO `wk_admin_role_menu` VALUES (2300801, 180169, 444);
INSERT INTO `wk_admin_role_menu` VALUES (2300802, 180170, 400);
INSERT INTO `wk_admin_role_menu` VALUES (2300803, 180170, 401);
INSERT INTO `wk_admin_role_menu` VALUES (2300804, 180170, 402);
INSERT INTO `wk_admin_role_menu` VALUES (2300805, 180170, 403);
INSERT INTO `wk_admin_role_menu` VALUES (2300806, 180170, 404);
INSERT INTO `wk_admin_role_menu` VALUES (2300807, 180170, 405);
INSERT INTO `wk_admin_role_menu` VALUES (2300808, 180170, 420);
INSERT INTO `wk_admin_role_menu` VALUES (2300809, 180170, 421);
INSERT INTO `wk_admin_role_menu` VALUES (2300810, 180170, 422);
INSERT INTO `wk_admin_role_menu` VALUES (2300811, 180170, 423);
INSERT INTO `wk_admin_role_menu` VALUES (2300812, 180170, 424);
INSERT INTO `wk_admin_role_menu` VALUES (2300813, 180170, 425);
INSERT INTO `wk_admin_role_menu` VALUES (2300814, 180170, 426);
INSERT INTO `wk_admin_role_menu` VALUES (2300815, 180170, 427);
INSERT INTO `wk_admin_role_menu` VALUES (2300816, 180170, 428);
INSERT INTO `wk_admin_role_menu` VALUES (2300817, 180170, 440);
INSERT INTO `wk_admin_role_menu` VALUES (2300818, 180170, 441);
INSERT INTO `wk_admin_role_menu` VALUES (2300819, 180170, 442);
INSERT INTO `wk_admin_role_menu` VALUES (2300820, 180170, 443);
INSERT INTO `wk_admin_role_menu` VALUES (2300821, 180170, 444);
INSERT INTO `wk_admin_role_menu` VALUES (2300822, 180176, 803);
INSERT INTO `wk_admin_role_menu` VALUES (2300823, 180176, 804);
INSERT INTO `wk_admin_role_menu` VALUES (2300824, 180176, 833);
INSERT INTO `wk_admin_role_menu` VALUES (2300825, 180176, 834);
INSERT INTO `wk_admin_role_menu` VALUES (2300826, 180176, 842);
INSERT INTO `wk_admin_role_menu` VALUES (2300827, 180176, 843);
INSERT INTO `wk_admin_role_menu` VALUES (2300828, 180176, 846);
INSERT INTO `wk_admin_role_menu` VALUES (2300829, 180176, 852);
INSERT INTO `wk_admin_role_menu` VALUES (2300830, 180176, 862);
INSERT INTO `wk_admin_role_menu` VALUES (2300831, 180176, 867);
INSERT INTO `wk_admin_role_menu` VALUES (2300832, 180176, 886);
INSERT INTO `wk_admin_role_menu` VALUES (2300833, 180176, 891);
-- ----------------------------
-- Table structure for wk_admin_system_log
-- ----------------------------
DROP TABLE IF EXISTS `wk_admin_system_log`;
CREATE TABLE `wk_admin_system_log` (
`id` int(0) NOT NULL AUTO_INCREMENT,
`create_user_id` int(0) NOT NULL COMMENT '操作人id',
`create_time` datetime(0) NOT NULL COMMENT '创建时间',
`ip_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'IP地址',
`types` int(0) NULL DEFAULT NULL COMMENT '模块 1企业首页 2应用管理 3员工和部门管理 4名片小程序管理 5角色权限管理 6审批流(合同/回款) 7审批流(办公) 8项目管理 9客户管理 10系统日志管理 11其他设置',
`behavior` int(0) NULL DEFAULT NULL COMMENT '行为',
`object` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作对象',
`detail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作详情',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统日志表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of wk_admin_system_log
-- ----------------------------
-- ----------------------------
-- Table structure for wk_admin_user
-- ----------------------------
DROP TABLE IF EXISTS `wk_admin_user`;
CREATE TABLE `wk_admin_user` (
`user_id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT '主键',
`username` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户名',
`password` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '密码',