-
Notifications
You must be signed in to change notification settings - Fork 126
/
CRM.sql
5749 lines (5699 loc) · 492 KB
/
CRM.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
/*
Navicat MySQL Data Transfer
Source Server : linux_mysql_5.7.23
Source Server Version : 50723
Source Host : xxx.xxx.xxx.xxx:3306
Source Database : CRM
Target Server Type : MYSQL
Target Server Version : 50723
File Encoding : 65001
Date: 2019-11-26 09:23:26
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for category
-- ----------------------------
DROP TABLE IF EXISTS `category`;
CREATE TABLE `category` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '分类编号',
`name` varchar(255) NOT NULL COMMENT '分类名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of category
-- ----------------------------
INSERT INTO `category` VALUES ('1', '电脑');
INSERT INTO `category` VALUES ('2', '硬件');
INSERT INTO `category` VALUES ('3', '软件');
INSERT INTO `category` VALUES ('4', '电子');
-- ----------------------------
-- Table structure for customer
-- ----------------------------
DROP TABLE IF EXISTS `customer`;
CREATE TABLE `customer` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '客户编号',
`name` varchar(255) DEFAULT NULL COMMENT '客户名称(唯一性)',
`type` varchar(255) DEFAULT NULL COMMENT '客户类别(数据字典)',
`level` varchar(255) DEFAULT NULL COMMENT '客户等级(数据字典)',
`status` varchar(255) DEFAULT NULL COMMENT '客户状态(数据字典)',
`credit` varchar(255) DEFAULT NULL COMMENT '客户信用度(数据字典)',
`area` varchar(255) DEFAULT NULL COMMENT '客户所在地区',
`company_address` varchar(255) DEFAULT NULL COMMENT '公司详细地址',
`company_phone` varchar(255) DEFAULT NULL COMMENT '公司电话',
`post_code` varchar(255) DEFAULT NULL COMMENT '邮政编码',
`fax_address` varchar(255) DEFAULT NULL COMMENT '传真地址',
`company_website` varchar(255) DEFAULT NULL COMMENT '公司网站',
`license_number` varchar(255) DEFAULT NULL COMMENT '营业执照注册号',
`corporation` varchar(255) DEFAULT NULL COMMENT '法人',
`annual_sale` double DEFAULT NULL COMMENT '年营业额',
`deposit_bank` varchar(255) DEFAULT NULL COMMENT '开户银行',
`bank_account` varchar(255) DEFAULT NULL COMMENT '银行账号',
`land_tax_number` varchar(255) DEFAULT NULL COMMENT '地税登记号',
`national_tax_number` varchar(255) DEFAULT NULL COMMENT '国税登记号',
`source` varchar(255) DEFAULT NULL COMMENT '客户来源(数据字典)',
`description` varchar(255) DEFAULT NULL COMMENT '客户描述',
`maturity` varchar(255) DEFAULT NULL COMMENT '客户成熟度(数据字典)',
`document` varchar(255) DEFAULT NULL COMMENT '相关文档保存地址',
`delete_status` int(11) NOT NULL DEFAULT '0' COMMENT '删除状态 0为未删除 1为已删除',
`manager_id` int(11) DEFAULT NULL COMMENT '客户所属的客户经理(外键)',
`product_id` int(11) DEFAULT NULL COMMENT '客户主要意向产品(外键)',
`creater` varchar(255) NOT NULL COMMENT '创建人(经理)',
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`),
KEY `fk_user_manager` (`manager_id`),
CONSTRAINT `fk_user_manager` FOREIGN KEY (`manager_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=82 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of customer
-- ----------------------------
INSERT INTO `customer` VALUES ('3', '阿里巴巴', '老客户', '', '', '', '杭州', '中国北京海淀区上地十街10号百度大厦', '0755-7367087', '525100', '525100', 'www.baidu.com', '1234-522465-5243232', '阿里巴巴', '1000000', '1000000', '1000000', '5678-522465-5243232', '9012-522465-5243232', '不知道从哪来的', '客户描述', '', null, '0', null, '1', '11', '2018-07-31 09:16:31');
INSERT INTO `customer` VALUES ('28', '终极咸鱼', '普通客户', '☆', '流失状态', '☆☆', '123123', '驱蚊器二奥术大师多阿达', '1233', '撒旦撒旦', '1231231', '123123', '12312321', '123123', '3123123', '13', '12312312', '3213123213', '213123', '客户介绍', '萨达萨达速度2', 'B+:关键人有成交意向', null, '0', '9', null, '19', '2018-07-31 09:16:31');
INSERT INTO `customer` VALUES ('29', '测试添加2', '老客户', '', '成交客户', '', '广东', '广东省广州市', '1234567', '123456', '123456', 'www.baidu.com', '1324654987431432', 'aaa', '1e16', '农业银行', '12345678912345679841231456', '13216546949846', '13216546546465796', '手工录入', '这是一个测试客户', 'C-:初步联系,意向不确定', null, '0', null, '6', '14', '2018-07-31 09:16:31');
INSERT INTO `customer` VALUES ('30', '测试用户1', '', '', '流失状态', '', '', '', '', '', '', '', '', '', null, '', '', '', '', '', '', 'C+:初步联系,有意向', null, '0', null, null, '14', '2018-07-31 09:16:31');
INSERT INTO `customer` VALUES ('31', '小米', '供货商', '☆', '潜在客户', '☆☆', '', '', '13414852973', '', '', '', '', '', null, '', '', '', '', '朋友介绍', '', 'C+:初步联系,有意向', null, '0', '11', null, '11', '2018-07-31 09:16:31');
INSERT INTO `customer` VALUES ('46', '陈sir', '', '', '123', '', '', '', '13414852973', '', '', '', '', '', null, '', '', '', '', '', '', '', '', '0', '11', null, '11', '2019-11-26 09:19:15');
INSERT INTO `customer` VALUES ('47', '客户2', '', '', '', '', '', '', '', '', '', '', '', '', null, '', '', '', '', '', '', '', null, '1', '11', null, '11', '2018-08-03 20:33:58');
INSERT INTO `customer` VALUES ('48', 'aa', '老客户', '☆☆☆', '123', '', '', '', '', '', '', '', '', '', null, '', '', '', '', '', '', '', '', '0', null, null, '14', '2018-07-31 14:44:21');
INSERT INTO `customer` VALUES ('49', 'vvv', '', '', '', '', '', '', '', '', '', '', '', '', null, '', '', '', '', '', '', '', null, '0', null, null, '14', '2018-07-31 09:16:31');
INSERT INTO `customer` VALUES ('50', '暗室逢灯', '', '', '', '', '', '', '', '', '', '', '', '', null, '', '', '', '', '', '', '', null, '0', null, null, '14', '2018-07-31 09:16:31');
INSERT INTO `customer` VALUES ('51', '测试客户1', '供货商', '☆☆☆', '失败客户', '☆☆☆', '', '', '', '', '', '', '', '', null, '', '', '', '', '注册会员', '', 'C-:初步联系,意向不确定', null, '0', null, '4', '14', '2018-07-31 09:16:31');
INSERT INTO `customer` VALUES ('52', '测试客户2', '', '', '', '', '', '', '', '', '', '', '', '', null, '', '', '', '', '', '', '', null, '0', null, null, '14', '2018-07-31 09:16:31');
INSERT INTO `customer` VALUES ('53', '测试客户3', '', '', '', '', '', '', '', '', '', '', '', '', null, '', '', '', '', '', '', '', null, '0', null, null, '14', '2018-07-31 09:16:31');
INSERT INTO `customer` VALUES ('54', 'aaa', '', '', '已流失客户', '', '', '', '', '', '', '', '', '', null, '', '', '', '', '', '', '', null, '0', '29', null, '29', '2018-07-31 09:16:31');
INSERT INTO `customer` VALUES ('55', 'bbb', '', '', '', '', '', '', '', '', '', '', '', '', null, '', '', '', '', '', '', '', null, '0', null, null, '29', '2018-07-31 09:16:31');
INSERT INTO `customer` VALUES ('59', 'asa', '', '', '', '', '', '', '', '', '', '', '', '', null, '', '', '', '', '', '', '', null, '0', '29', null, '29', '2018-07-31 09:16:31');
INSERT INTO `customer` VALUES ('76', 'ccc', '', '', '', '', '', '', '', '', '', '', '', '', null, '', '', '', '', '', '', '', null, '0', '29', null, '29', '2018-07-31 09:16:31');
INSERT INTO `customer` VALUES ('77', 'dddd', '', '', '', '', '', '', '', '', '', '', '', '', null, '', '', '', '', '', '', '', null, '0', '29', null, '29', '2018-07-31 09:16:31');
INSERT INTO `customer` VALUES ('78', 'eee', '', '', '', '', '', '', '', '', '', '', '', '', null, '', '', '', '', '', '', '', null, '0', '29', null, '29', '2018-07-31 09:16:31');
INSERT INTO `customer` VALUES ('80', '111', '', '', '', '', '', '', '', '', '', '', '', '', null, '', '', '', '', '', '', '', null, '0', null, null, '14', '2018-07-31 09:16:31');
INSERT INTO `customer` VALUES ('81', '测试', '普通客户', '☆☆', '成交客户', '☆', '123123', '驱蚊器二奥术大师多阿达', '1233123123', '123123', '123123', '123213', '3123123', '3213123', '12312312', '123123123', '123123123123', '123123', '3123213', '注册会员', '123123123123', 'A+:明确成交意向', '', '0', null, null, '19', '2018-07-31 10:23:24');
-- ----------------------------
-- Table structure for customer_care
-- ----------------------------
DROP TABLE IF EXISTS `customer_care`;
CREATE TABLE `customer_care` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
`linkman_id` int(11) NOT NULL COMMENT '关怀的联系人ID',
`birthday` date DEFAULT NULL COMMENT '记录插入记录时联系人的生日',
`time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '关怀时间',
`detail` varchar(255) DEFAULT NULL COMMENT '关怀详情',
`type` varchar(255) DEFAULT NULL COMMENT '关怀类型',
`status` varchar(255) DEFAULT NULL COMMENT '关怀状态',
`feedback` varchar(255) DEFAULT NULL COMMENT '客户反馈',
`create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '插入时间',
`manager_id` int(11) DEFAULT NULL COMMENT '进行关怀的客户经理',
PRIMARY KEY (`id`),
KEY `linkman_id` (`linkman_id`),
CONSTRAINT `customer_care_ibfk_1` FOREIGN KEY (`linkman_id`) REFERENCES `linkman` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=224 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of customer_care
-- ----------------------------
INSERT INTO `customer_care` VALUES ('75', '1', '1984-08-04', '2018-07-31 12:51:52', '123213', '发送邮件祝福', '已处理', '123213', '2018-07-31 12:46:00', '14');
INSERT INTO `customer_care` VALUES ('81', '4', '1984-08-03', '2018-07-31 12:52:07', null, null, '已忽略', null, '2018-07-31 12:52:07', '14');
INSERT INTO `customer_care` VALUES ('82', '10', '1984-08-03', '2018-07-31 14:41:09', null, null, '已忽略', null, '2018-07-31 14:41:09', '14');
INSERT INTO `customer_care` VALUES ('88', '28', '1984-08-03', null, null, null, '未处理', null, '2018-07-31 12:46:01', '11');
INSERT INTO `customer_care` VALUES ('90', '29', '1984-08-03', null, null, null, '未处理', null, '2018-07-31 12:46:01', '19');
INSERT INTO `customer_care` VALUES ('91', '30', '1984-08-03', null, null, null, '未处理', null, '2018-07-31 12:46:01', '19');
INSERT INTO `customer_care` VALUES ('94', '31', '1984-08-03', null, null, null, '未处理', null, '2018-07-31 12:46:01', '19');
INSERT INTO `customer_care` VALUES ('123', '32', '1984-08-03', null, null, null, '未处理', null, '2018-07-31 12:49:00', '14');
INSERT INTO `customer_care` VALUES ('125', '33', '1984-08-03', null, null, null, '未处理', null, '2018-07-31 12:49:00', '14');
INSERT INTO `customer_care` VALUES ('155', '2', '1984-08-05', null, null, null, '未处理', null, '2018-08-01 00:00:00', '14');
INSERT INTO `customer_care` VALUES ('156', '2', '1984-08-05', null, null, null, '未处理', null, '2018-08-01 00:00:00', '14');
INSERT INTO `customer_care` VALUES ('157', '3', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '14');
INSERT INTO `customer_care` VALUES ('158', '3', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '14');
INSERT INTO `customer_care` VALUES ('159', '12', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '11');
INSERT INTO `customer_care` VALUES ('160', '12', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '11');
INSERT INTO `customer_care` VALUES ('161', '27', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '11');
INSERT INTO `customer_care` VALUES ('162', '27', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '11');
INSERT INTO `customer_care` VALUES ('163', '34', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '14');
INSERT INTO `customer_care` VALUES ('164', '3', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '14');
INSERT INTO `customer_care` VALUES ('165', '3', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '14');
INSERT INTO `customer_care` VALUES ('166', '35', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '14');
INSERT INTO `customer_care` VALUES ('167', '36', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '14');
INSERT INTO `customer_care` VALUES ('168', '37', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '29');
INSERT INTO `customer_care` VALUES ('169', '37', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '29');
INSERT INTO `customer_care` VALUES ('170', '38', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '20');
INSERT INTO `customer_care` VALUES ('171', '38', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '20');
INSERT INTO `customer_care` VALUES ('172', '39', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '29');
INSERT INTO `customer_care` VALUES ('173', '39', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '29');
INSERT INTO `customer_care` VALUES ('174', '40', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '29');
INSERT INTO `customer_care` VALUES ('175', '41', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '29');
INSERT INTO `customer_care` VALUES ('176', '42', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '29');
INSERT INTO `customer_care` VALUES ('177', '40', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '29');
INSERT INTO `customer_care` VALUES ('178', '40', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '29');
INSERT INTO `customer_care` VALUES ('179', '43', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:01', '14');
INSERT INTO `customer_care` VALUES ('180', '44', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:01', '14');
INSERT INTO `customer_care` VALUES ('181', '40', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '29');
INSERT INTO `customer_care` VALUES ('182', '43', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:00', '14');
INSERT INTO `customer_care` VALUES ('183', '45', '1984-08-03', null, null, null, '未处理', null, '2018-08-01 00:00:01', '14');
INSERT INTO `customer_care` VALUES ('184', '3', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:25', '14');
INSERT INTO `customer_care` VALUES ('185', '3', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:25', '14');
INSERT INTO `customer_care` VALUES ('186', '4', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:35', '14');
INSERT INTO `customer_care` VALUES ('187', '10', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:37', '14');
INSERT INTO `customer_care` VALUES ('188', '10', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:37', '14');
INSERT INTO `customer_care` VALUES ('189', '12', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:38', '11');
INSERT INTO `customer_care` VALUES ('190', '12', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:38', '11');
INSERT INTO `customer_care` VALUES ('191', '27', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:38', '11');
INSERT INTO `customer_care` VALUES ('192', '28', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:42', '11');
INSERT INTO `customer_care` VALUES ('193', '28', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:42', '11');
INSERT INTO `customer_care` VALUES ('194', '29', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:42', '19');
INSERT INTO `customer_care` VALUES ('195', '29', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:42', '19');
INSERT INTO `customer_care` VALUES ('196', '30', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:42', '19');
INSERT INTO `customer_care` VALUES ('197', '31', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '19');
INSERT INTO `customer_care` VALUES ('198', '31', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '19');
INSERT INTO `customer_care` VALUES ('199', '32', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '14');
INSERT INTO `customer_care` VALUES ('200', '32', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '14');
INSERT INTO `customer_care` VALUES ('201', '33', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '14');
INSERT INTO `customer_care` VALUES ('202', '34', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '14');
INSERT INTO `customer_care` VALUES ('203', '35', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '14');
INSERT INTO `customer_care` VALUES ('204', '36', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '14');
INSERT INTO `customer_care` VALUES ('205', '36', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '14');
INSERT INTO `customer_care` VALUES ('206', '37', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '29');
INSERT INTO `customer_care` VALUES ('207', '38', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '20');
INSERT INTO `customer_care` VALUES ('208', '38', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '20');
INSERT INTO `customer_care` VALUES ('209', '39', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '29');
INSERT INTO `customer_care` VALUES ('210', '40', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '29');
INSERT INTO `customer_care` VALUES ('211', '41', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '29');
INSERT INTO `customer_care` VALUES ('212', '42', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '29');
INSERT INTO `customer_care` VALUES ('213', '42', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '29');
INSERT INTO `customer_care` VALUES ('214', '43', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '14');
INSERT INTO `customer_care` VALUES ('215', '43', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '14');
INSERT INTO `customer_care` VALUES ('216', '44', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:44', '14');
INSERT INTO `customer_care` VALUES ('217', '44', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:43', '14');
INSERT INTO `customer_care` VALUES ('218', '45', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:44', '14');
INSERT INTO `customer_care` VALUES ('219', '45', '1984-08-03', null, null, null, '未处理', null, '2019-07-04 00:00:44', '14');
INSERT INTO `customer_care` VALUES ('220', '1', '1984-08-04', null, null, null, '未处理', null, '2019-07-05 00:00:00', '14');
INSERT INTO `customer_care` VALUES ('221', '1', '1984-08-04', null, null, null, '未处理', null, '2019-07-05 00:00:00', '14');
INSERT INTO `customer_care` VALUES ('222', '2', '1984-08-05', null, null, null, '未处理', null, '2019-07-06 00:00:00', '14');
INSERT INTO `customer_care` VALUES ('223', '2', '1984-08-05', null, null, null, '未处理', null, '2019-07-06 00:00:00', '14');
-- ----------------------------
-- Table structure for customer_loss
-- ----------------------------
DROP TABLE IF EXISTS `customer_loss`;
CREATE TABLE `customer_loss` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '客户流失管理id',
`customer_id` int(11) DEFAULT NULL COMMENT '流失用户的id',
`last_order_time` timestamp NULL DEFAULT NULL COMMENT '上次下单时间',
`measure` varchar(255) DEFAULT NULL COMMENT '暂缓措施',
`measure_append` varchar(255) DEFAULT NULL COMMENT '追加暂缓措施',
`loss_date` timestamp NULL DEFAULT NULL COMMENT '确认流失时间',
`reason` varchar(255) DEFAULT NULL COMMENT '流失原因',
`status` varchar(255) DEFAULT '0' COMMENT '流失状态 0 将要流失 1挽回客户 2确认流失',
PRIMARY KEY (`id`),
KEY `fk_loss_customer` (`customer_id`),
CONSTRAINT `fk_loss_customer` FOREIGN KEY (`customer_id`) REFERENCES `customer` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=166 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of customer_loss
-- ----------------------------
INSERT INTO `customer_loss` VALUES ('98', null, '2018-07-14 00:00:00', null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('99', null, '2018-07-14 00:00:00', null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('100', '3', '2018-07-14 00:00:00', '213213', null, '2018-07-18 00:00:00', '1231232123', '1');
INSERT INTO `customer_loss` VALUES ('101', null, '2018-07-14 00:00:00', null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('102', null, '2018-07-14 00:00:00', null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('103', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('104', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('105', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('106', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('107', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('108', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('109', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('110', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('111', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('112', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('113', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('114', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('115', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('116', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('117', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('118', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('119', '28', null, '', null, '2018-07-16 00:00:00', '', '2');
INSERT INTO `customer_loss` VALUES ('120', '29', null, '123213213', null, null, '', '1');
INSERT INTO `customer_loss` VALUES ('122', '31', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('123', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('124', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('125', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('126', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('127', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('128', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('129', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('130', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('131', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('132', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('133', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('134', '30', null, '', null, '2018-07-18 00:00:00', '', '2');
INSERT INTO `customer_loss` VALUES ('135', '46', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('136', '47', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('137', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('138', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('139', null, null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('141', '48', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('143', '49', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('144', '50', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('146', '51', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('147', '51', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('148', '52', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('149', '52', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('150', '53', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('151', '55', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('152', '55', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('153', '54', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('154', '54', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('155', '59', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('156', '59', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('157', '76', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('158', '76', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('159', '77', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('161', '78', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('162', '78', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('163', '80', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('164', '81', null, null, null, null, null, '0');
INSERT INTO `customer_loss` VALUES ('165', '81', null, null, null, null, null, '0');
-- ----------------------------
-- Table structure for customer_transfer
-- ----------------------------
DROP TABLE IF EXISTS `customer_transfer`;
CREATE TABLE `customer_transfer` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '客户转移记录id',
`customer_id` int(11) DEFAULT NULL COMMENT '被转移的客户id',
`old_manager_id` int(11) DEFAULT NULL COMMENT '转移前的客户经理',
`new_manager_id` int(11) DEFAULT NULL COMMENT '转移后的客户经理',
`reason` varchar(255) NOT NULL COMMENT '转移原因',
`time` timestamp NULL DEFAULT NULL COMMENT '转移时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of customer_transfer
-- ----------------------------
INSERT INTO `customer_transfer` VALUES ('1', '1', '11', '9', 'aaa', '2018-07-14 09:59:38');
INSERT INTO `customer_transfer` VALUES ('2', '28', '19', '9', 'aaa', '2018-07-14 10:08:42');
INSERT INTO `customer_transfer` VALUES ('3', '32', '14', '19', '他太丑了', '2018-07-16 09:25:02');
INSERT INTO `customer_transfer` VALUES ('4', '30', '14', '19', '测试', '2018-07-16 09:26:44');
INSERT INTO `customer_transfer` VALUES ('5', '30', '19', '14', '我也不要', '2018-07-16 09:52:50');
INSERT INTO `customer_transfer` VALUES ('6', '32', '19', '14', '哈哈哈', '2018-07-16 09:53:23');
INSERT INTO `customer_transfer` VALUES ('7', '32', '14', '19', 'aaaaaaaaaaa', '2018-07-16 11:00:49');
INSERT INTO `customer_transfer` VALUES ('8', '49', '14', '19', 'aaaaaaaaaa', '2018-07-16 11:00:57');
INSERT INTO `customer_transfer` VALUES ('9', '48', '14', '19', 'dssssss', '2018-07-16 11:01:05');
INSERT INTO `customer_transfer` VALUES ('10', '50', '14', '19', 'dgxdgdxfgcf', '2018-07-16 11:01:12');
INSERT INTO `customer_transfer` VALUES ('11', '55', '29', '20', 'asd', '2018-07-22 10:42:41');
INSERT INTO `customer_transfer` VALUES ('12', '30', '14', '19', '测试跟踪记录', '2018-07-23 15:13:56');
INSERT INTO `customer_transfer` VALUES ('13', '30', '19', '14', '123', '2018-07-23 15:15:05');
INSERT INTO `customer_transfer` VALUES ('14', '81', '19', '14', '324234324324324324', '2018-07-31 10:29:06');
-- ----------------------------
-- Table structure for dictionary_item
-- ----------------------------
DROP TABLE IF EXISTS `dictionary_item`;
CREATE TABLE `dictionary_item` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type_id` int(11) DEFAULT NULL COMMENT '字典类型id',
`name` varchar(255) DEFAULT NULL COMMENT '字典名称',
`status` int(10) unsigned zerofill DEFAULT '0000000000' COMMENT '字典状态 0:只可读 1:可以进行curd',
PRIMARY KEY (`id`),
KEY `type_id` (`type_id`) USING BTREE,
CONSTRAINT `dictionary_item_type_fk` FOREIGN KEY (`type_id`) REFERENCES `dictionary_type` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=141 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of dictionary_item
-- ----------------------------
INSERT INTO `dictionary_item` VALUES ('1', null, '测试更新', '0000000001');
INSERT INTO `dictionary_item` VALUES ('2', null, '按错', '0000000000');
INSERT INTO `dictionary_item` VALUES ('3', null, '阿斯顿发生', '0000000000');
INSERT INTO `dictionary_item` VALUES ('4', null, '阿萨德', '0000000001');
INSERT INTO `dictionary_item` VALUES ('5', null, '啊', '0000000000');
INSERT INTO `dictionary_item` VALUES ('6', null, '啊', '0000000000');
INSERT INTO `dictionary_item` VALUES ('7', null, '啊', '0000000001');
INSERT INTO `dictionary_item` VALUES ('8', null, '啊', '0000000001');
INSERT INTO `dictionary_item` VALUES ('9', null, '啊', '0000000001');
INSERT INTO `dictionary_item` VALUES ('10', null, '啊', '0000000001');
INSERT INTO `dictionary_item` VALUES ('11', null, '啊', '0000000000');
INSERT INTO `dictionary_item` VALUES ('12', null, '啊', '0000000000');
INSERT INTO `dictionary_item` VALUES ('13', null, '啊', '0000000000');
INSERT INTO `dictionary_item` VALUES ('14', null, '啊', '0000000000');
INSERT INTO `dictionary_item` VALUES ('15', null, '啊', '0000000000');
INSERT INTO `dictionary_item` VALUES ('16', null, '然而不', '0000000000');
INSERT INTO `dictionary_item` VALUES ('17', null, '然而不', '0000000000');
INSERT INTO `dictionary_item` VALUES ('18', null, '然而不', '0000000000');
INSERT INTO `dictionary_item` VALUES ('19', null, '然而不', '0000000000');
INSERT INTO `dictionary_item` VALUES ('20', null, '然而不', '0000000001');
INSERT INTO `dictionary_item` VALUES ('21', null, '然而不', '0000000000');
INSERT INTO `dictionary_item` VALUES ('22', null, '然而不', '0000000000');
INSERT INTO `dictionary_item` VALUES ('23', null, '然而不', '0000000000');
INSERT INTO `dictionary_item` VALUES ('24', null, '阿斯蒂芬', '0000000000');
INSERT INTO `dictionary_item` VALUES ('25', null, '阿萨德', '0000000001');
INSERT INTO `dictionary_item` VALUES ('26', null, '啊', '0000000000');
INSERT INTO `dictionary_item` VALUES ('27', null, '啊', '0000000000');
INSERT INTO `dictionary_item` VALUES ('31', null, '阿斯蒂芬', '0000000000');
INSERT INTO `dictionary_item` VALUES ('32', null, '锁定', '0000000001');
INSERT INTO `dictionary_item` VALUES ('34', null, '啊', '0000000000');
INSERT INTO `dictionary_item` VALUES ('35', null, 'ads', '0000000000');
INSERT INTO `dictionary_item` VALUES ('36', null, 'sda', '0000000001');
INSERT INTO `dictionary_item` VALUES ('37', null, '测试', '0000000000');
INSERT INTO `dictionary_item` VALUES ('38', '77', '投诉', '0000000000');
INSERT INTO `dictionary_item` VALUES ('39', '77', '咨询', '0000000000');
INSERT INTO `dictionary_item` VALUES ('40', '77', '售后', '0000000000');
INSERT INTO `dictionary_item` VALUES ('41', '77', '售前', '0000000000');
INSERT INTO `dictionary_item` VALUES ('42', '77', '售中', '0000000000');
INSERT INTO `dictionary_item` VALUES ('43', '78', '未处理', '0000000000');
INSERT INTO `dictionary_item` VALUES ('44', '78', '处理中', '0000000000');
INSERT INTO `dictionary_item` VALUES ('45', '78', '已处理', '0000000000');
INSERT INTO `dictionary_item` VALUES ('46', '78', '已归档', '0000000000');
INSERT INTO `dictionary_item` VALUES ('47', '79', '☆', '0000000000');
INSERT INTO `dictionary_item` VALUES ('48', '79', '☆☆', '0000000000');
INSERT INTO `dictionary_item` VALUES ('49', '79', '☆☆☆', '0000000000');
INSERT INTO `dictionary_item` VALUES ('50', '79', '☆☆☆☆', '0000000000');
INSERT INTO `dictionary_item` VALUES ('51', '79', '☆☆☆☆☆', '0000000000');
INSERT INTO `dictionary_item` VALUES ('52', null, null, '0000000001');
INSERT INTO `dictionary_item` VALUES ('53', null, null, '0000000001');
INSERT INTO `dictionary_item` VALUES ('54', null, null, '0000000001');
INSERT INTO `dictionary_item` VALUES ('55', null, null, '0000000001');
INSERT INTO `dictionary_item` VALUES ('56', null, null, '0000000001');
INSERT INTO `dictionary_item` VALUES ('57', null, null, '0000000001');
INSERT INTO `dictionary_item` VALUES ('58', '76', '注册会员', '0000000000');
INSERT INTO `dictionary_item` VALUES ('59', '76', '朋友介绍', '0000000000');
INSERT INTO `dictionary_item` VALUES ('60', '76', '手工录入', '0000000000');
INSERT INTO `dictionary_item` VALUES ('61', '76', '客户介绍', '0000000000');
INSERT INTO `dictionary_item` VALUES ('62', '76', '电子商务', '0000000000');
INSERT INTO `dictionary_item` VALUES ('63', '76', '合作伙伴', '0000000000');
INSERT INTO `dictionary_item` VALUES ('64', '76', '广告', '0000000000');
INSERT INTO `dictionary_item` VALUES ('65', '76', '职员引介', '0000000000');
INSERT INTO `dictionary_item` VALUES ('66', '76', '市场活动', '0000000000');
INSERT INTO `dictionary_item` VALUES ('67', '76', '口头传达', '0000000000');
INSERT INTO `dictionary_item` VALUES ('68', '76', '其他', '0000000000');
INSERT INTO `dictionary_item` VALUES ('69', '75', '普通客户', '0000000000');
INSERT INTO `dictionary_item` VALUES ('70', '75', 'VIP客户', '0000000000');
INSERT INTO `dictionary_item` VALUES ('71', '75', '老客户', '0000000000');
INSERT INTO `dictionary_item` VALUES ('72', '75', '代理商', '0000000000');
INSERT INTO `dictionary_item` VALUES ('73', '75', '供货商', '0000000000');
INSERT INTO `dictionary_item` VALUES ('74', '75', '合作伙伴', '0000000000');
INSERT INTO `dictionary_item` VALUES ('75', '75', '其他', '0000000000');
INSERT INTO `dictionary_item` VALUES ('76', '80', '成交客户', '0000000000');
INSERT INTO `dictionary_item` VALUES ('77', '80', '潜在客户', '0000000000');
INSERT INTO `dictionary_item` VALUES ('78', '80', '意向客户', '0000000000');
INSERT INTO `dictionary_item` VALUES ('79', '80', '失败客户', '0000000000');
INSERT INTO `dictionary_item` VALUES ('80', '80', '已流失客户', '0000000000');
INSERT INTO `dictionary_item` VALUES ('81', '81', '☆', '0000000000');
INSERT INTO `dictionary_item` VALUES ('82', '81', '☆☆', '0000000000');
INSERT INTO `dictionary_item` VALUES ('83', '81', '☆☆☆', '0000000000');
INSERT INTO `dictionary_item` VALUES ('84', '81', '☆☆☆☆', '0000000000');
INSERT INTO `dictionary_item` VALUES ('85', '81', '☆☆☆☆☆', '0000000000');
INSERT INTO `dictionary_item` VALUES ('86', '82', 'A+:明确成交意向', '0000000000');
INSERT INTO `dictionary_item` VALUES ('87', '82', 'A-:有初步成交意向', '0000000000');
INSERT INTO `dictionary_item` VALUES ('88', '82', 'B+:关键人有成交意向', '0000000000');
INSERT INTO `dictionary_item` VALUES ('89', '82', 'B-:关键人成交意向不确定', '0000000000');
INSERT INTO `dictionary_item` VALUES ('90', '82', 'C+:初步联系,有意向', '0000000000');
INSERT INTO `dictionary_item` VALUES ('91', '82', 'C-:初步联系,意向不确定', '0000000000');
INSERT INTO `dictionary_item` VALUES ('92', '82', 'D:新建客户', '0000000000');
INSERT INTO `dictionary_item` VALUES ('93', '82', 'E:明显拒绝', '0000000000');
INSERT INTO `dictionary_item` VALUES ('94', '82', 'F:无效客户', '0000000000');
INSERT INTO `dictionary_item` VALUES ('95', '83', '☆', '0000000000');
INSERT INTO `dictionary_item` VALUES ('96', '83', '☆☆', '0000000000');
INSERT INTO `dictionary_item` VALUES ('97', '83', '☆☆☆', '0000000000');
INSERT INTO `dictionary_item` VALUES ('98', '83', '☆☆☆☆', '0000000000');
INSERT INTO `dictionary_item` VALUES ('99', '83', '☆☆☆☆☆', '0000000000');
INSERT INTO `dictionary_item` VALUES ('100', '84', '初期沟通', '0000000000');
INSERT INTO `dictionary_item` VALUES ('101', '84', '立项评估', '0000000000');
INSERT INTO `dictionary_item` VALUES ('102', '84', '解决方案', '0000000000');
INSERT INTO `dictionary_item` VALUES ('103', '85', '非常紧急', '0000000000');
INSERT INTO `dictionary_item` VALUES ('104', '85', '紧急', '0000000000');
INSERT INTO `dictionary_item` VALUES ('105', '85', '一般', '0000000000');
INSERT INTO `dictionary_item` VALUES ('106', null, null, '0000000001');
INSERT INTO `dictionary_item` VALUES ('107', null, null, '0000000001');
INSERT INTO `dictionary_item` VALUES ('108', null, '3', '0000000000');
INSERT INTO `dictionary_item` VALUES ('109', '87', '客户主动询价', '0000000000');
INSERT INTO `dictionary_item` VALUES ('110', '87', '网上搜索结果', '0000000000');
INSERT INTO `dictionary_item` VALUES ('111', '87', '拓展市场业务', '0000000000');
INSERT INTO `dictionary_item` VALUES ('113', '88', '22', '0000000000');
INSERT INTO `dictionary_item` VALUES ('115', '87', '广告宣传', '0000000000');
INSERT INTO `dictionary_item` VALUES ('116', '84', '已报价', '0000000000');
INSERT INTO `dictionary_item` VALUES ('119', '111', '发送短信祝福', '0000000000');
INSERT INTO `dictionary_item` VALUES ('120', '111', '发送邮件祝福', '0000000000');
INSERT INTO `dictionary_item` VALUES ('121', '111', '电话祝福', '0000000000');
INSERT INTO `dictionary_item` VALUES ('122', '111', '短信+邮件祝福', '0000000000');
INSERT INTO `dictionary_item` VALUES ('123', '111', '短信+邮件+电话祝福', '0000000000');
INSERT INTO `dictionary_item` VALUES ('124', '111', '上门拜访', '0000000000');
INSERT INTO `dictionary_item` VALUES ('125', '111', '其他方式', '0000000000');
INSERT INTO `dictionary_item` VALUES ('133', '76', '不知道从哪来的', '0000000001');
INSERT INTO `dictionary_item` VALUES ('134', '76', '捡到的', '0000000001');
INSERT INTO `dictionary_item` VALUES ('135', '84', '商务谈判', '0000000000');
INSERT INTO `dictionary_item` VALUES ('136', '84', '合同/订单签订', '0000000000');
INSERT INTO `dictionary_item` VALUES ('137', '87', '客户介绍', '0000000000');
INSERT INTO `dictionary_item` VALUES ('138', '87', '展会', '0000000000');
INSERT INTO `dictionary_item` VALUES ('139', '87', '招标公告', '0000000000');
INSERT INTO `dictionary_item` VALUES ('140', '80', '123', '0000000001');
-- ----------------------------
-- Table structure for dictionary_type
-- ----------------------------
DROP TABLE IF EXISTS `dictionary_type`;
CREATE TABLE `dictionary_type` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL COMMENT '类别名称',
PRIMARY KEY (`id`),
UNIQUE KEY `name_weiyixing` (`name`) USING BTREE COMMENT '唯一性约束'
) ENGINE=InnoDB AUTO_INCREMENT=112 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of dictionary_type
-- ----------------------------
INSERT INTO `dictionary_type` VALUES ('83', '客户信用度');
INSERT INTO `dictionary_type` VALUES ('111', '客户关怀方式');
INSERT INTO `dictionary_type` VALUES ('82', '客户成熟度');
INSERT INTO `dictionary_type` VALUES ('76', '客户来源');
INSERT INTO `dictionary_type` VALUES ('80', '客户状态');
INSERT INTO `dictionary_type` VALUES ('81', '客户等级');
INSERT INTO `dictionary_type` VALUES ('75', '客户类别');
INSERT INTO `dictionary_type` VALUES ('79', '服务满意度');
INSERT INTO `dictionary_type` VALUES ('78', '服务状态');
INSERT INTO `dictionary_type` VALUES ('77', '服务类型');
INSERT INTO `dictionary_type` VALUES ('85', '服务紧急程度');
INSERT INTO `dictionary_type` VALUES ('88', '测试更新');
INSERT INTO `dictionary_type` VALUES ('87', '销售机会来源');
INSERT INTO `dictionary_type` VALUES ('84', '销售机会状态');
-- ----------------------------
-- Table structure for follow_up
-- ----------------------------
DROP TABLE IF EXISTS `follow_up`;
CREATE TABLE `follow_up` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`address` varchar(255) DEFAULT NULL COMMENT '地点',
`general` varchar(255) DEFAULT NULL COMMENT '概要',
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
`content` varchar(255) DEFAULT NULL COMMENT '详细信息',
`document` text COMMENT '相关文档',
`result` varchar(255) DEFAULT NULL COMMENT '结果',
`customer_id` int(11) DEFAULT NULL COMMENT '客户编号',
`manager_id` int(11) DEFAULT NULL COMMENT '跟进人',
`delete_status` int(11) DEFAULT NULL COMMENT '删除状态',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of follow_up
-- ----------------------------
INSERT INTO `follow_up` VALUES ('6', '2018-07-12 14:12:11', '', '这是第一次测试', '', '', '', '成功', '3', '14', null);
INSERT INTO `follow_up` VALUES ('7', '2018-07-12 14:13:55', '撒旦法', '这是第二次测试', '', '', '', '发射', '3', '14', null);
INSERT INTO `follow_up` VALUES ('8', '2018-07-12 14:40:53', '撒旦法', '这是第3次测试', '', 'fdsa', '', '成功', '3', '14', null);
INSERT INTO `follow_up` VALUES ('9', '2018-07-12 14:57:23', '撒旦法', '这是第4', '', '发的', '', '成功', '3', '14', null);
INSERT INTO `follow_up` VALUES ('10', '2018-07-12 14:58:09', '撒旦法', '发送到', '', '发的', '', '成功', '3', '14', null);
INSERT INTO `follow_up` VALUES ('11', '2018-07-12 15:09:55', '111', '111111111111111111111111111111', '', '11111111111111111111111111111111111', '', '111', '3', '14', null);
INSERT INTO `follow_up` VALUES ('12', '2018-07-12 22:53:58', 'asfd', 'sdfa', '', 'asdf', '', 'asdf', '3', '14', null);
INSERT INTO `follow_up` VALUES ('13', '2018-07-13 13:45:09', '广州', '阿萨德飞洒发 ', '国家AAAAA级旅游景区,指的是依据中华人民共和国旅游景区质量等级划分的景区级别,分为五级,从高到低依次为AAAAA、AAAA、AAA、AA、A级。5A级为中国旅游景区最高等级,代表着中国世界级精品的旅游风景区等级。2007年5月22日,国家旅游局(National Tourism Administration)在其官方网站发布通知公告,...', '国家AAAAA级旅游景区,指的是依据中华人民共和国旅游景区质量等级划分的景区级别,分为五级,从高到低依次为AAAAA、AAAA、AAA、AA、A级。5A级为中国旅游景区最高等级,代表着中国世界级精品的旅游风景区等级。2007年5月22日,国家旅游局(National Tourism Administration)在其官方网站发布通知公告,...', '', '成功', '3', '14', null);
INSERT INTO `follow_up` VALUES ('14', '2018-07-13 14:33:14', '安抚', ' 发送到', ' 暗室逢灯', '暗室逢灯', '', '沙发垫', '3', '14', null);
INSERT INTO `follow_up` VALUES ('15', '2018-07-19 10:45:12', '广州', 'dada', '', 'afsafsafsdf', '', '成功', '51', '14', null);
INSERT INTO `follow_up` VALUES ('16', '2018-07-19 11:15:13', '广州', '微博是一个基于用户关系信息分享、传播以及获取的平台。用户可以通过WEB、WAP等各种客户端组建个人社区,以140字(包括标点符号)的文字更新信息,并实现即时分享。微博的关注机制分为可单向、可双向两种。\n微博作为一种分享和交流平台,其更注重时效性和随意性。微博客更能表达出每时每刻的思想和最新动态,而博客则更偏重于梳理自己在一段时间内的所见、所闻、所感。因微博而诞生出微小说这种小说体裁。\n2014年3月27日晚间,在中国微博领域一枝独秀的新浪微博宣布改名为“微博”,并推出了新的LOGO标识,新浪色彩逐步淡', '微博是一个基于用户关系信息分享、传播以及获取的平台。用户可以通过WEB、WAP等各种客户端组建个人社区,以140字(包括标点符号)的文字更新信息,并实现即时分享。微博的关注机制分为可单向、可双向两种。\n微博作为一种分享和交流平台,其更注重时效性和随意性。微博客更能表达出每时每刻的思想和最新动态,而博客则更偏重于梳理自己在一段时间内的所见、所闻、所感。因微博而诞生出微小说这种小说体裁。\n2014年3月27日晚间,在中国微博领域一枝独秀的新浪微博宣布改名为“微博”,并推出了新的LOGO标识,新浪色彩逐步淡', '微博是一个基于用户关系信息分享、传播以及获取的平台。用户可以通过WEB、WAP等各种客户端组建个人社区,以140字(包括标点符号)的文字更新信息,并实现即时分享。微博的关注机制分为可单向、可双向两种。\n微博作为一种分享和交流平台,其更注重时效性和随意性。微博客更能表达出每时每刻的思想和最新动态,而博客则更偏重于梳理自己在一段时间内的所见、所闻、所感。因微博而诞生出微小说这种小说体裁。\n2014年3月27日晚间,在中国微博领域一枝独秀的新浪微博宣布改名为“微博”,并推出了新的LOGO标识,新浪色彩逐步淡', '', '成功', '52', '14', null);
INSERT INTO `follow_up` VALUES ('17', '2018-07-19 14:24:37', '广州', 'gsdfg', '', 'gsdf', '', '成功', '30', '14', null);
INSERT INTO `follow_up` VALUES ('18', '2018-07-21 21:58:10', 'aa', 'asd', '', 'ads', '', '12', '54', '29', null);
INSERT INTO `follow_up` VALUES ('19', '2018-07-23 14:41:34', '广州', '123', '', 'safd', '', '成功', '3', '14', null);
INSERT INTO `follow_up` VALUES ('20', '2018-07-23 15:13:48', 'sd', 'asd', '', 'asd', '', 'asda', '59', '29', null);
INSERT INTO `follow_up` VALUES ('21', '2018-07-23 15:14:26', '123', '123', '', '123', '', '123', '30', '19', null);
INSERT INTO `follow_up` VALUES ('22', '2018-07-25 14:20:25', '广州', 'a', '', 'asfd', '4ba610fa-d6ec-4b71-a896-77c223d497a0.xlsx', '发射', '3', '14', null);
INSERT INTO `follow_up` VALUES ('23', '2018-07-25 14:24:34', '撒旦法', '123123', '', '123123123123', '', '成功', '3', '14', null);
INSERT INTO `follow_up` VALUES ('24', '2018-07-25 14:26:42', '111', 'sdfsadfsa', '', 'sdfsdf', '', 'sadfsdf', '3', '14', null);
INSERT INTO `follow_up` VALUES ('25', '2018-07-25 14:29:02', '广州', 'dsgdg', '', 'dgsgs', '', 'gsd', '3', '14', null);
INSERT INTO `follow_up` VALUES ('26', '2018-07-25 14:30:11', '111', 'asfsafas', '', 'fasdfasd', '4f94e088-923f-42ba-8c6a-62e3d7d41cbb.zip', '撒旦法', '3', '14', null);
INSERT INTO `follow_up` VALUES ('27', '2018-07-29 16:23:20', 'sadf', 'sadfasdf', '', 'asdfsadf', 'f816324b-3c4a-44aa-9c07-4855d65bf0b6.zip', 'asfd', '3', '14', null);
INSERT INTO `follow_up` VALUES ('28', '2018-07-31 13:52:04', '广州', '这是一次大胆的想法', '', '人要有梦想,不然和咸鱼有什么区别。', '4edadfbd-b041-4511-ae98-54856f185548.jpg', '成功', '3', '14', null);
-- ----------------------------
-- Table structure for linkman
-- ----------------------------
DROP TABLE IF EXISTS `linkman`;
CREATE TABLE `linkman` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '联系人编号',
`name` varchar(255) NOT NULL COMMENT '联系人名称',
`position` varchar(255) DEFAULT NULL COMMENT '联系人职位',
`office_phone` varchar(255) DEFAULT NULL COMMENT '办公司电话',
`mobile_phone` varchar(255) DEFAULT NULL COMMENT '手机电话',
`birthday` date DEFAULT NULL COMMENT '生日',
`sex` varchar(255) DEFAULT NULL COMMENT '性别',
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
`level` int(11) DEFAULT NULL COMMENT '联系等级:0 为主要联系人 1为普通联系人',
`customer_id` int(11) DEFAULT NULL COMMENT '所属客户',
PRIMARY KEY (`id`),
KEY `fk_linkman_customer` (`customer_id`),
CONSTRAINT `fk_linkman_customer` FOREIGN KEY (`customer_id`) REFERENCES `customer` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of linkman
-- ----------------------------
INSERT INTO `linkman` VALUES ('1', '李彦宏', '总经理', '400-800-8888', '13414852973', '1984-08-04', '男', '备注', '1', '3');
INSERT INTO `linkman` VALUES ('2', '阿斯蒂芬斯蒂芬', '', '', '', '1984-08-05', null, '', '1', '3');
INSERT INTO `linkman` VALUES ('3', '黄', '经理', '400-800-8888', '12345678912', '1984-08-03', '男', '', '0', '29');
INSERT INTO `linkman` VALUES ('4', '啊', null, '', '', '1984-08-03', null, null, '0', '30');
INSERT INTO `linkman` VALUES ('10', '黄飞鸿', '经理', '400-800-8888', '132456789', '1984-08-03', '女', '', '1', '3');
INSERT INTO `linkman` VALUES ('12', '雷军', null, '400-800-8888', '13414852973', '1984-08-03', '男', null, '0', '31');
INSERT INTO `linkman` VALUES ('27', '联系人1', null, '400-800-8888\r\n', '', '1984-08-03', '男', null, '0', '46');
INSERT INTO `linkman` VALUES ('28', '联系人2', null, '400-800-8888\r\n', '', '1984-08-03', '男', null, '0', '47');
INSERT INTO `linkman` VALUES ('29', 'aa', null, '', '', '1984-08-03', null, null, '0', '48');
INSERT INTO `linkman` VALUES ('30', 'vvv', null, '', '', '1984-08-03', '男', null, '0', '49');
INSERT INTO `linkman` VALUES ('31', '测试联系人', null, '', '', '1984-08-03', null, null, '0', '50');
INSERT INTO `linkman` VALUES ('32', '测试联系人', null, '', '', '1984-08-03', null, null, '0', '51');
INSERT INTO `linkman` VALUES ('33', '111', '', '', '', '1984-08-03', null, '', '1', '51');
INSERT INTO `linkman` VALUES ('34', '测试联系人', null, '', '', '1984-08-03', null, null, '0', '52');
INSERT INTO `linkman` VALUES ('35', '死胖子', '职员', '1234567', '13212312312', '1984-08-03', '男', '', '1', '3');
INSERT INTO `linkman` VALUES ('36', '啊啊啊', null, '', '', '1984-08-03', null, null, '0', '53');
INSERT INTO `linkman` VALUES ('37', 'aa', null, '', '', '1984-08-03', null, null, '0', '54');
INSERT INTO `linkman` VALUES ('38', 'bb', null, '', '', '1984-08-03', null, null, '0', '55');
INSERT INTO `linkman` VALUES ('39', 'sd', null, '', '', '1984-08-03', null, null, '0', '59');
INSERT INTO `linkman` VALUES ('40', 'cc', null, '', '', '1984-08-03', null, null, '0', '76');
INSERT INTO `linkman` VALUES ('41', 'dd', null, '', '', '1984-08-03', null, null, '0', '77');
INSERT INTO `linkman` VALUES ('42', 'eee', null, '', '', '1984-08-03', '男', null, '0', '78');
INSERT INTO `linkman` VALUES ('43', '111', null, '', '', '1984-08-03', null, null, '0', '80');
INSERT INTO `linkman` VALUES ('44', 'test', null, null, null, '1984-08-03', null, null, '0', '3');
INSERT INTO `linkman` VALUES ('45', '测试联系人', null, '1231231', '23123123213', '1984-08-03', '男', null, '0', '81');
-- ----------------------------
-- Table structure for log
-- ----------------------------
DROP TABLE IF EXISTS `log`;
CREATE TABLE `log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL COMMENT '用户编号',
`operation` varchar(255) DEFAULT NULL COMMENT '操作',
`operation_content` varchar(255) DEFAULT NULL COMMENT '操作详细内容',
`operation_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of log
-- ----------------------------
-- ----------------------------
-- Table structure for logging_event
-- ----------------------------
DROP TABLE IF EXISTS `logging_event`;
CREATE TABLE `logging_event` (
`timestmp` bigint(20) NOT NULL,
`formatted_message` text NOT NULL,
`logger_name` varchar(254) DEFAULT NULL,
`level_string` varchar(254) DEFAULT NULL,
`thread_name` varchar(254) DEFAULT NULL,
`reference_flag` smallint(6) DEFAULT NULL,
`arg0` varchar(254) DEFAULT NULL,
`arg1` varchar(254) DEFAULT NULL,
`arg2` varchar(254) DEFAULT NULL,
`arg3` varchar(254) DEFAULT NULL,
`caller_filename` varchar(254) DEFAULT NULL,
`caller_class` varchar(254) DEFAULT NULL,
`caller_method` varchar(254) DEFAULT NULL,
`caller_line` char(4) DEFAULT NULL,
`event_id` bigint(20) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`event_id`)
) ENGINE=InnoDB AUTO_INCREMENT=50402 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of logging_event
-- ----------------------------
INSERT INTO `logging_event` VALUES ('1574731226537', 'malizhi 执行了 日志管理 下的 删除或清空日志 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50372');
INSERT INTO `logging_event` VALUES ('1574731227403', 'malizhi 执行了 日志管理 下的 查看日志 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50373');
INSERT INTO `logging_event` VALUES ('1574731300727', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 后台查找角色列表 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50374');
INSERT INTO `logging_event` VALUES ('1574731300775', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 查找用户 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50375');
INSERT INTO `logging_event` VALUES ('1574731303057', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 后台查找角色列表 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50376');
INSERT INTO `logging_event` VALUES ('1574731303113', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 后台查找角色列表 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50377');
INSERT INTO `logging_event` VALUES ('1574731325284', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 修改用户 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50378');
INSERT INTO `logging_event` VALUES ('1574731326264', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 查找用户 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50379');
INSERT INTO `logging_event` VALUES ('1574731328405', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 后台查找角色列表 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50380');
INSERT INTO `logging_event` VALUES ('1574731328483', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 后台查找角色列表 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50381');
INSERT INTO `logging_event` VALUES ('1574731344604', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 修改用户 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50382');
INSERT INTO `logging_event` VALUES ('1574731345604', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 查找用户 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50383');
INSERT INTO `logging_event` VALUES ('1574731346966', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 后台查找角色列表 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50384');
INSERT INTO `logging_event` VALUES ('1574731347004', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 后台查找角色列表 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50385');
INSERT INTO `logging_event` VALUES ('1574731363755', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 修改用户 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50386');
INSERT INTO `logging_event` VALUES ('1574731364573', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 查找用户 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50387');
INSERT INTO `logging_event` VALUES ('1574731370740', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 后台查找角色列表 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50388');
INSERT INTO `logging_event` VALUES ('1574731370804', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 后台查找角色列表 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50389');
INSERT INTO `logging_event` VALUES ('1574731373577', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 修改用户 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50390');
INSERT INTO `logging_event` VALUES ('1574731374474', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 查找用户 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50391');
INSERT INTO `logging_event` VALUES ('1574731376319', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 后台查找角色列表 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50392');
INSERT INTO `logging_event` VALUES ('1574731376369', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 后台查找角色列表 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50393');
INSERT INTO `logging_event` VALUES ('1574731379243', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 修改用户 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50394');
INSERT INTO `logging_event` VALUES ('1574731380339', 'malizhi 执行了 com.neuedu.crm.controller.UserController 下的 查找用户 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50395');
INSERT INTO `logging_event` VALUES ('1574731382400', '游客 执行了 com.neuedu.crm.controller.LoginController 下的 注销 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50396');
INSERT INTO `logging_event` VALUES ('1574731382456', '游客 执行了 验证码控制器 下的 获取验证码 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50397');
INSERT INTO `logging_event` VALUES ('1574731388610', 'malizhi 执行了 com.neuedu.crm.controller.LoginController 下的 登陆 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50398');
INSERT INTO `logging_event` VALUES ('1574731389008', 'malizhi 执行了 com.neuedu.crm.controller.RoleController 下的 获取用户角色的权限菜单 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50399');
INSERT INTO `logging_event` VALUES ('1574731391421', 'malizhi 执行了 报表控制器 下的 统计公司新增的客户量 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50400');
INSERT INTO `logging_event` VALUES ('1574731391428', 'malizhi 执行了 报表控制器 下的 统计公司的客户来源情况 操作! ip地址为14.23.49.197', null, null, null, null, null, null, null, null, null, null, null, null, '50401');
-- ----------------------------
-- Table structure for logging_event_exception
-- ----------------------------
DROP TABLE IF EXISTS `logging_event_exception`;
CREATE TABLE `logging_event_exception` (
`event_id` bigint(20) NOT NULL,
`i` smallint(6) NOT NULL,
`trace_line` varchar(254) NOT NULL,
PRIMARY KEY (`event_id`,`i`),
CONSTRAINT `logging_event_exception_ibfk_1` FOREIGN KEY (`event_id`) REFERENCES `logging_event` (`event_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of logging_event_exception
-- ----------------------------
-- ----------------------------
-- Table structure for logging_event_property
-- ----------------------------
DROP TABLE IF EXISTS `logging_event_property`;
CREATE TABLE `logging_event_property` (
`event_id` bigint(20) NOT NULL,
`mapped_key` varchar(254) NOT NULL,
`mapped_value` text,
PRIMARY KEY (`event_id`,`mapped_key`),
CONSTRAINT `logging_event_property_ibfk_1` FOREIGN KEY (`event_id`) REFERENCES `logging_event` (`event_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of logging_event_property
-- ----------------------------
-- ----------------------------
-- Table structure for order_item
-- ----------------------------
DROP TABLE IF EXISTS `order_item`;
CREATE TABLE `order_item` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`num` int(11) DEFAULT NULL COMMENT '数量',
`unit` varchar(255) DEFAULT NULL COMMENT '单位',
`unit_price` double DEFAULT NULL COMMENT '单价',
`price` double DEFAULT NULL COMMENT '金额',
`orders_id` int(11) DEFAULT NULL COMMENT '订单',
`product_id` int(11) DEFAULT NULL COMMENT '产品',
PRIMARY KEY (`id`),
KEY `ORDER_ITEM_PRODUCT` (`product_id`),
KEY `order_id` (`orders_id`),
CONSTRAINT `ORDER_ITEM_PRODUCT` FOREIGN KEY (`product_id`) REFERENCES `product` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
CONSTRAINT `order_item_ibfk_1` FOREIGN KEY (`orders_id`) REFERENCES `orders` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5772 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of order_item
-- ----------------------------
INSERT INTO `order_item` VALUES ('1772', '133', '元', '6.28', '835.24', '1', '1');
INSERT INTO `order_item` VALUES ('1773', '4790', '元', '3.16', '15136.4', '1', '2');
INSERT INTO `order_item` VALUES ('1774', '3862', '元', '2.32', '8959.84', '1', '3');
INSERT INTO `order_item` VALUES ('1775', '2574', '元', '0.04', '102.96', '1', '4');
INSERT INTO `order_item` VALUES ('1776', '1897', '元', '9.96', '18894.12', '1', '5');
INSERT INTO `order_item` VALUES ('1777', '613', '元', '9.07', '5559.91', '1', '6');
INSERT INTO `order_item` VALUES ('1778', '4780', '元', '7.63', '36471.4', '1', '7');
INSERT INTO `order_item` VALUES ('1779', '1091', '元', '4.17', '4549.47', '1', '8');
INSERT INTO `order_item` VALUES ('1780', '1703', '元', '2.68', '4564.04', '1', '9');
INSERT INTO `order_item` VALUES ('1781', '551', '元', '6.82', '3757.82', '1', '10');
INSERT INTO `order_item` VALUES ('1782', '3232', '元', '0.9', '2908.8', '2', '1');
INSERT INTO `order_item` VALUES ('1783', '416', '元', '6.25', '2600', '2', '2');
INSERT INTO `order_item` VALUES ('1784', '4875', '元', '6.03', '29396.25', '2', '3');
INSERT INTO `order_item` VALUES ('1785', '976', '元', '8.11', '7915.36', '2', '4');
INSERT INTO `order_item` VALUES ('1786', '3119', '元', '6.69', '20866.11', '2', '5');
INSERT INTO `order_item` VALUES ('1787', '4406', '元', '3.59', '15817.54', '2', '6');
INSERT INTO `order_item` VALUES ('1788', '2500', '元', '9.12', '22800', '2', '7');
INSERT INTO `order_item` VALUES ('1789', '2001', '元', '8.16', '16328.16', '2', '8');
INSERT INTO `order_item` VALUES ('1790', '3985', '元', '9.26', '36901.1', '2', '9');
INSERT INTO `order_item` VALUES ('1791', '409', '元', '0.68', '278.12', '2', '10');
INSERT INTO `order_item` VALUES ('1792', '4950', '元', '6.59', '32620.5', '3', '1');
INSERT INTO `order_item` VALUES ('1793', '4751', '元', '7.5', '35632.5', '3', '2');
INSERT INTO `order_item` VALUES ('1794', '807', '元', '9.69', '7819.83', '3', '3');
INSERT INTO `order_item` VALUES ('1795', '100', '元', '3.81', '381', '3', '4');
INSERT INTO `order_item` VALUES ('1796', '1001', '元', '0.59', '590.59', '3', '5');
INSERT INTO `order_item` VALUES ('1797', '4603', '元', '9.71', '44695.13', '3', '6');
INSERT INTO `order_item` VALUES ('1798', '4150', '元', '3.13', '12989.5', '3', '7');
INSERT INTO `order_item` VALUES ('1799', '2767', '元', '7.79', '21554.93', '3', '8');
INSERT INTO `order_item` VALUES ('1800', '3314', '元', '5.96', '19751.44', '3', '9');
INSERT INTO `order_item` VALUES ('1801', '3318', '元', '2.18', '7233.24', '3', '10');
INSERT INTO `order_item` VALUES ('1802', '4175', '元', '4.77', '19914.75', '4', '1');
INSERT INTO `order_item` VALUES ('1803', '2776', '元', '2.48', '6884.48', '4', '2');
INSERT INTO `order_item` VALUES ('1804', '2794', '元', '6.12', '17099.28', '4', '3');
INSERT INTO `order_item` VALUES ('1805', '3419', '元', '4.28', '14633.32', '4', '4');
INSERT INTO `order_item` VALUES ('1806', '4152', '元', '5.91', '24538.32', '4', '5');
INSERT INTO `order_item` VALUES ('1807', '1818', '元', '2.56', '4654.08', '4', '6');
INSERT INTO `order_item` VALUES ('1808', '2292', '元', '2.61', '5982.12', '4', '7');
INSERT INTO `order_item` VALUES ('1809', '2625', '元', '7.9', '20737.5', '4', '8');
INSERT INTO `order_item` VALUES ('1810', '4991', '元', '9.34', '46615.94', '4', '9');
INSERT INTO `order_item` VALUES ('1811', '3394', '元', '7.08', '24029.52', '4', '10');
INSERT INTO `order_item` VALUES ('1812', '4499', '元', '1.68', '7558.32', '5', '1');
INSERT INTO `order_item` VALUES ('1813', '322', '元', '0.42', '135.24', '5', '2');
INSERT INTO `order_item` VALUES ('1814', '2130', '元', '3.59', '7646.7', '5', '3');
INSERT INTO `order_item` VALUES ('1815', '2515', '元', '7.53', '18937.95', '5', '4');
INSERT INTO `order_item` VALUES ('1816', '799', '元', '0.86', '687.14', '5', '5');
INSERT INTO `order_item` VALUES ('1817', '183', '元', '2.39', '437.37', '5', '6');
INSERT INTO `order_item` VALUES ('1818', '1056', '元', '1.75', '1848', '5', '7');
INSERT INTO `order_item` VALUES ('1819', '1312', '元', '7.26', '9525.12', '5', '8');
INSERT INTO `order_item` VALUES ('1820', '272', '元', '4.98', '1354.56', '5', '9');
INSERT INTO `order_item` VALUES ('1821', '2007', '元', '2.96', '5940.72', '5', '10');
INSERT INTO `order_item` VALUES ('1822', '4956', '元', '3.26', '16156.56', '6', '1');
INSERT INTO `order_item` VALUES ('1823', '335', '元', '9.51', '3185.85', '6', '2');
INSERT INTO `order_item` VALUES ('1824', '3261', '元', '7.27', '23707.47', '6', '3');
INSERT INTO `order_item` VALUES ('1825', '922', '元', '8.42', '7763.24', '6', '4');
INSERT INTO `order_item` VALUES ('1826', '1359', '元', '9.11', '12380.49', '6', '5');
INSERT INTO `order_item` VALUES ('1827', '2947', '元', '2.52', '7426.44', '6', '6');
INSERT INTO `order_item` VALUES ('1828', '983', '元', '9.31', '9151.73', '6', '7');
INSERT INTO `order_item` VALUES ('1829', '4659', '元', '4.24', '19754.16', '6', '8');
INSERT INTO `order_item` VALUES ('1830', '1967', '元', '8.04', '15814.68', '6', '9');
INSERT INTO `order_item` VALUES ('1831', '1024', '元', '0.08', '81.92', '6', '10');
INSERT INTO `order_item` VALUES ('1832', '3599', '元', '3.07', '11048.93', '7', '1');
INSERT INTO `order_item` VALUES ('1833', '2750', '元', '7.21', '19827.5', '7', '2');
INSERT INTO `order_item` VALUES ('1834', '3338', '元', '3.43', '11449.34', '7', '3');
INSERT INTO `order_item` VALUES ('1835', '1402', '元', '0.66', '925.32', '7', '4');
INSERT INTO `order_item` VALUES ('1836', '902', '元', '7.06', '6368.12', '7', '5');
INSERT INTO `order_item` VALUES ('1837', '1872', '元', '2.49', '4661.28', '7', '6');
INSERT INTO `order_item` VALUES ('1838', '68', '元', '4.41', '299.88', '7', '7');
INSERT INTO `order_item` VALUES ('1839', '438', '元', '3.3', '1445.4', '7', '8');
INSERT INTO `order_item` VALUES ('1840', '1214', '元', '2.87', '3484.18', '7', '9');
INSERT INTO `order_item` VALUES ('1841', '935', '元', '3.61', '3375.35', '7', '10');
INSERT INTO `order_item` VALUES ('1842', '1145', '元', '4.85', '5553.25', '8', '1');
INSERT INTO `order_item` VALUES ('1843', '4294', '元', '6.26', '26880.44', '8', '2');
INSERT INTO `order_item` VALUES ('1844', '76', '元', '0.95', '72.2', '8', '3');
INSERT INTO `order_item` VALUES ('1845', '2608', '元', '7.2', '18777.6', '8', '4');
INSERT INTO `order_item` VALUES ('1846', '2617', '元', '3.27', '8557.59', '8', '5');
INSERT INTO `order_item` VALUES ('1847', '4214', '元', '5.53', '23303.42', '8', '6');
INSERT INTO `order_item` VALUES ('1848', '1686', '元', '9.34', '15747.24', '8', '7');
INSERT INTO `order_item` VALUES ('1849', '1251', '元', '9.51', '11897.01', '8', '8');
INSERT INTO `order_item` VALUES ('1850', '1306', '元', '4.39', '5733.34', '8', '9');
INSERT INTO `order_item` VALUES ('1851', '1904', '元', '8.18', '15574.72', '8', '10');
INSERT INTO `order_item` VALUES ('1852', '1902', '元', '1.68', '3195.36', '9', '1');
INSERT INTO `order_item` VALUES ('1853', '1222', '元', '1', '1222', '9', '2');
INSERT INTO `order_item` VALUES ('1854', '4141', '元', '9.37', '38801.17', '9', '3');
INSERT INTO `order_item` VALUES ('1855', '1271', '元', '6.05', '7689.55', '9', '4');
INSERT INTO `order_item` VALUES ('1856', '2892', '元', '2.89', '8357.88', '9', '5');
INSERT INTO `order_item` VALUES ('1857', '504', '元', '1.97', '992.88', '9', '6');
INSERT INTO `order_item` VALUES ('1858', '3758', '元', '1.62', '6087.96', '9', '7');
INSERT INTO `order_item` VALUES ('1859', '3081', '元', '9.22', '28406.82', '9', '8');
INSERT INTO `order_item` VALUES ('1860', '588', '元', '1.14', '670.32', '9', '9');
INSERT INTO `order_item` VALUES ('1861', '515', '元', '5.92', '3048.8', '9', '10');
INSERT INTO `order_item` VALUES ('1862', '2376', '元', '3.45', '8197.2', '10', '1');
INSERT INTO `order_item` VALUES ('1863', '1392', '元', '7.78', '10829.76', '10', '2');
INSERT INTO `order_item` VALUES ('1864', '2903', '元', '5.36', '15560.08', '10', '3');
INSERT INTO `order_item` VALUES ('1865', '300', '元', '3.14', '942', '10', '4');
INSERT INTO `order_item` VALUES ('1866', '1598', '元', '6.3', '10067.4', '10', '5');
INSERT INTO `order_item` VALUES ('1867', '466', '元', '4.85', '2260.1', '10', '6');
INSERT INTO `order_item` VALUES ('1868', '1662', '元', '6.04', '10038.48', '10', '7');
INSERT INTO `order_item` VALUES ('1869', '1078', '元', '7.76', '8365.28', '10', '8');
INSERT INTO `order_item` VALUES ('1870', '1162', '元', '3.36', '3904.32', '10', '9');
INSERT INTO `order_item` VALUES ('1871', '3505', '元', '7.7', '26988.5', '10', '10');
INSERT INTO `order_item` VALUES ('1872', '4560', '元', '7.79', '35522.4', '11', '1');
INSERT INTO `order_item` VALUES ('1873', '4857', '元', '9.22', '44781.54', '11', '2');
INSERT INTO `order_item` VALUES ('1874', '1990', '元', '2.98', '5930.2', '11', '3');
INSERT INTO `order_item` VALUES ('1875', '272', '元', '2.05', '557.6', '11', '4');
INSERT INTO `order_item` VALUES ('1876', '1908', '元', '8.08', '15416.64', '11', '5');
INSERT INTO `order_item` VALUES ('1877', '414', '元', '9.53', '3945.42', '11', '6');
INSERT INTO `order_item` VALUES ('1878', '2188', '元', '0.54', '1181.52', '11', '7');
INSERT INTO `order_item` VALUES ('1879', '2559', '元', '9.29', '23773.11', '11', '8');
INSERT INTO `order_item` VALUES ('1880', '2715', '元', '7.6', '20634', '11', '9');
INSERT INTO `order_item` VALUES ('1881', '4730', '元', '4.8', '22704', '11', '10');
INSERT INTO `order_item` VALUES ('1882', '1416', '元', '7.23', '10237.68', '12', '1');
INSERT INTO `order_item` VALUES ('1883', '728', '元', '7.41', '5394.48', '12', '2');
INSERT INTO `order_item` VALUES ('1884', '3080', '元', '9.34', '28767.2', '12', '3');
INSERT INTO `order_item` VALUES ('1885', '1732', '元', '6.55', '11344.6', '12', '4');
INSERT INTO `order_item` VALUES ('1886', '2886', '元', '8.09', '23347.74', '12', '5');
INSERT INTO `order_item` VALUES ('1887', '975', '元', '4.26', '4153.5', '12', '6');
INSERT INTO `order_item` VALUES ('1888', '4953', '元', '7.44', '36850.32', '12', '7');
INSERT INTO `order_item` VALUES ('1889', '2636', '元', '7.11', '18741.96', '12', '8');
INSERT INTO `order_item` VALUES ('1890', '893', '元', '1.34', '1196.62', '12', '9');
INSERT INTO `order_item` VALUES ('1891', '3822', '元', '3.16', '12077.52', '12', '10');
INSERT INTO `order_item` VALUES ('1892', '607', '元', '5.66', '3435.62', '13', '1');
INSERT INTO `order_item` VALUES ('1893', '3936', '元', '8.45', '33259.2', '13', '2');
INSERT INTO `order_item` VALUES ('1894', '210', '元', '6.85', '1438.5', '13', '3');
INSERT INTO `order_item` VALUES ('1895', '4460', '元', '8.21', '36616.6', '13', '4');
INSERT INTO `order_item` VALUES ('1896', '1094', '元', '2.69', '2942.86', '13', '5');
INSERT INTO `order_item` VALUES ('1897', '1066', '元', '4.41', '4701.06', '13', '6');
INSERT INTO `order_item` VALUES ('1898', '76', '元', '8.02', '609.52', '13', '7');
INSERT INTO `order_item` VALUES ('1899', '2835', '元', '5.32', '15082.2', '13', '8');
INSERT INTO `order_item` VALUES ('1900', '4540', '元', '8.7', '39498', '13', '9');
INSERT INTO `order_item` VALUES ('1901', '3616', '元', '1.51', '5460.16', '13', '10');
INSERT INTO `order_item` VALUES ('1902', '696', '元', '5.75', '4002', '14', '1');
INSERT INTO `order_item` VALUES ('1903', '324', '元', '0.07', '22.68', '14', '2');
INSERT INTO `order_item` VALUES ('1904', '1952', '元', '1.91', '3728.32', '14', '3');
INSERT INTO `order_item` VALUES ('1905', '4863', '元', '7.14', '34721.82', '14', '4');
INSERT INTO `order_item` VALUES ('1906', '899', '元', '0.68', '611.32', '14', '5');
INSERT INTO `order_item` VALUES ('1907', '3080', '元', '0.5', '1540', '14', '6');
INSERT INTO `order_item` VALUES ('1908', '4799', '元', '4.49', '21547.51', '14', '7');
INSERT INTO `order_item` VALUES ('1909', '2441', '元', '0.5', '1220.5', '14', '8');
INSERT INTO `order_item` VALUES ('1910', '1344', '元', '0.16', '215.04', '14', '9');
INSERT INTO `order_item` VALUES ('1911', '2269', '元', '3.95', '8962.55', '14', '10');
INSERT INTO `order_item` VALUES ('1912', '2506', '元', '7.08', '17742.48', '15', '1');
INSERT INTO `order_item` VALUES ('1913', '3474', '元', '7.33', '25464.42', '15', '2');
INSERT INTO `order_item` VALUES ('1914', '4083', '元', '7.87', '32133.21', '15', '3');
INSERT INTO `order_item` VALUES ('1915', '2668', '元', '3.52', '9391.36', '15', '4');
INSERT INTO `order_item` VALUES ('1916', '3450', '元', '3.88', '13386', '15', '5');
INSERT INTO `order_item` VALUES ('1917', '4842', '元', '9.69', '46918.98', '15', '6');
INSERT INTO `order_item` VALUES ('1918', '2026', '元', '5.61', '11365.86', '15', '7');
INSERT INTO `order_item` VALUES ('1919', '387', '元', '9.2', '3560.4', '15', '8');
INSERT INTO `order_item` VALUES ('1920', '4896', '元', '6.15', '30110.4', '15', '9');
INSERT INTO `order_item` VALUES ('1921', '2535', '元', '7.7', '19519.5', '15', '10');
INSERT INTO `order_item` VALUES ('1922', '4951', '元', '5.49', '27180.99', '16', '1');
INSERT INTO `order_item` VALUES ('1923', '4565', '元', '8.9', '40628.5', '16', '2');
INSERT INTO `order_item` VALUES ('1924', '1752', '元', '5.31', '9303.12', '16', '3');
INSERT INTO `order_item` VALUES ('1925', '1504', '元', '1.89', '2842.56', '16', '4');
INSERT INTO `order_item` VALUES ('1926', '2603', '元', '6.9', '17960.7', '16', '5');
INSERT INTO `order_item` VALUES ('1927', '478', '元', '7.98', '3814.44', '16', '6');
INSERT INTO `order_item` VALUES ('1928', '4788', '元', '4.75', '22743', '16', '7');
INSERT INTO `order_item` VALUES ('1929', '3119', '元', '6', '18714', '16', '8');
INSERT INTO `order_item` VALUES ('1930', '4892', '元', '1.38', '6750.96', '16', '9');
INSERT INTO `order_item` VALUES ('1931', '1920', '元', '8.72', '16742.4', '16', '10');
INSERT INTO `order_item` VALUES ('1932', '2930', '元', '7.86', '23029.8', '17', '1');
INSERT INTO `order_item` VALUES ('1933', '4089', '元', '1.09', '4457.01', '17', '2');
INSERT INTO `order_item` VALUES ('1934', '1790', '元', '3.51', '6282.9', '17', '3');
INSERT INTO `order_item` VALUES ('1935', '2750', '元', '3.85', '10587.5', '17', '4');
INSERT INTO `order_item` VALUES ('1936', '3476', '元', '4.84', '16823.84', '17', '5');
INSERT INTO `order_item` VALUES ('1937', '4348', '元', '0.22', '956.56', '17', '6');
INSERT INTO `order_item` VALUES ('1938', '3895', '元', '4', '15580', '17', '7');
INSERT INTO `order_item` VALUES ('1939', '406', '元', '7.26', '2947.56', '17', '8');
INSERT INTO `order_item` VALUES ('1940', '1286', '元', '7.73', '9940.78', '17', '9');
INSERT INTO `order_item` VALUES ('1941', '2248', '元', '9.78', '21985.44', '17', '10');
INSERT INTO `order_item` VALUES ('1942', '4254', '元', '8.37', '35605.98', '18', '1');
INSERT INTO `order_item` VALUES ('1943', '1170', '元', '8.11', '9488.7', '18', '2');
INSERT INTO `order_item` VALUES ('1944', '1635', '元', '9.2', '15042', '18', '3');
INSERT INTO `order_item` VALUES ('1945', '2207', '元', '9.95', '21959.65', '18', '4');
INSERT INTO `order_item` VALUES ('1946', '2393', '元', '9.03', '21608.79', '18', '5');
INSERT INTO `order_item` VALUES ('1947', '391', '元', '9.79', '3827.89', '18', '6');
INSERT INTO `order_item` VALUES ('1948', '316', '元', '0.96', '303.36', '18', '7');
INSERT INTO `order_item` VALUES ('1949', '1570', '元', '2.07', '3249.9', '18', '8');
INSERT INTO `order_item` VALUES ('1950', '4706', '元', '7.78', '36612.68', '18', '9');
INSERT INTO `order_item` VALUES ('1951', '1699', '元', '1.26', '2140.74', '18', '10');
INSERT INTO `order_item` VALUES ('1952', '2598', '元', '8.27', '21485.46', '19', '1');
INSERT INTO `order_item` VALUES ('1953', '2486', '元', '1.48', '3679.28', '19', '2');
INSERT INTO `order_item` VALUES ('1954', '708', '元', '4.95', '3504.6', '19', '3');
INSERT INTO `order_item` VALUES ('1955', '2148', '元', '2.92', '6272.16', '19', '4');
INSERT INTO `order_item` VALUES ('1956', '2196', '元', '8.28', '18182.88', '19', '5');
INSERT INTO `order_item` VALUES ('1957', '51', '元', '4.57', '233.07', '19', '6');
INSERT INTO `order_item` VALUES ('1958', '997', '元', '7.9', '7876.3', '19', '7');
INSERT INTO `order_item` VALUES ('1959', '895', '元', '1.67', '1494.65', '19', '8');
INSERT INTO `order_item` VALUES ('1960', '1065', '元', '6.02', '6411.3', '19', '9');
INSERT INTO `order_item` VALUES ('1961', '2959', '元', '6.16', '18227.44', '19', '10');
INSERT INTO `order_item` VALUES ('1962', '1647', '元', '4.62', '7609.14', '20', '1');
INSERT INTO `order_item` VALUES ('1963', '2751', '元', '8.47', '23300.97', '20', '2');
INSERT INTO `order_item` VALUES ('1964', '3270', '元', '4.94', '16153.8', '20', '3');
INSERT INTO `order_item` VALUES ('1965', '2827', '元', '8.33', '23548.91', '20', '4');
INSERT INTO `order_item` VALUES ('1966', '2255', '元', '1.13', '2548.15', '20', '5');
INSERT INTO `order_item` VALUES ('1967', '242', '元', '4.48', '1084.16', '20', '6');
INSERT INTO `order_item` VALUES ('1968', '3843', '元', '3.32', '12758.76', '20', '7');
INSERT INTO `order_item` VALUES ('1969', '2474', '元', '6.21', '15363.54', '20', '8');
INSERT INTO `order_item` VALUES ('1970', '686', '元', '6.38', '4376.68', '20', '9');
INSERT INTO `order_item` VALUES ('1971', '2203', '元', '4.73', '10420.19', '20', '10');
INSERT INTO `order_item` VALUES ('1972', '4835', '元', '8.12', '39260.2', '21', '1');
INSERT INTO `order_item` VALUES ('1973', '3329', '元', '6.2', '20639.8', '21', '2');
INSERT INTO `order_item` VALUES ('1974', '2990', '元', '8.57', '25624.3', '21', '3');
INSERT INTO `order_item` VALUES ('1975', '32', '元', '8.43', '269.76', '21', '4');
INSERT INTO `order_item` VALUES ('1976', '4677', '元', '5.72', '26752.44', '21', '5');
INSERT INTO `order_item` VALUES ('1977', '2734', '元', '6.31', '17251.54', '21', '6');
INSERT INTO `order_item` VALUES ('1978', '371', '元', '9.14', '3390.94', '21', '7');
INSERT INTO `order_item` VALUES ('1979', '3840', '元', '4.39', '16857.6', '21', '8');
INSERT INTO `order_item` VALUES ('1980', '3870', '元', '9.17', '35487.9', '21', '9');
INSERT INTO `order_item` VALUES ('1981', '1274', '元', '2.87', '3656.38', '21', '10');
INSERT INTO `order_item` VALUES ('1982', '3889', '元', '7.65', '29750.85', '22', '1');
INSERT INTO `order_item` VALUES ('1983', '2190', '元', '6.19', '13556.1', '22', '2');
INSERT INTO `order_item` VALUES ('1984', '3857', '元', '0.64', '2468.48', '22', '3');
INSERT INTO `order_item` VALUES ('1985', '663', '元', '7.54', '4999.02', '22', '4');
INSERT INTO `order_item` VALUES ('1986', '4539', '元', '1.39', '6309.21', '22', '5');
INSERT INTO `order_item` VALUES ('1987', '837', '元', '6.99', '5850.63', '22', '6');
INSERT INTO `order_item` VALUES ('1988', '3015', '元', '6.95', '20954.25', '22', '7');
INSERT INTO `order_item` VALUES ('1989', '438', '元', '0.91', '398.58', '22', '8');
INSERT INTO `order_item` VALUES ('1990', '537', '元', '3.8', '2040.6', '22', '9');
INSERT INTO `order_item` VALUES ('1991', '4427', '元', '8.95', '39621.65', '22', '10');
INSERT INTO `order_item` VALUES ('1992', '4296', '元', '7.68', '32993.28', '23', '1');
INSERT INTO `order_item` VALUES ('1993', '3722', '元', '3.34', '12431.48', '23', '2');
INSERT INTO `order_item` VALUES ('1994', '4672', '元', '7.35', '34339.2', '23', '3');
INSERT INTO `order_item` VALUES ('1995', '3880', '元', '7.32', '28401.6', '23', '4');
INSERT INTO `order_item` VALUES ('1996', '926', '元', '3.04', '2815.04', '23', '5');
INSERT INTO `order_item` VALUES ('1997', '3077', '元', '6.58', '20246.66', '23', '6');
INSERT INTO `order_item` VALUES ('1998', '1037', '元', '1.11', '1151.07', '23', '7');
INSERT INTO `order_item` VALUES ('1999', '153', '元', '0.18', '27.54', '23', '8');
INSERT INTO `order_item` VALUES ('2000', '147', '元', '8.61', '1265.67', '23', '9');
INSERT INTO `order_item` VALUES ('2001', '4111', '元', '4.97', '20431.67', '23', '10');
INSERT INTO `order_item` VALUES ('2002', '472', '元', '5.68', '2680.96', '24', '1');
INSERT INTO `order_item` VALUES ('2003', '250', '元', '4.09', '1022.5', '24', '2');
INSERT INTO `order_item` VALUES ('2004', '3022', '元', '6', '18132', '24', '3');
INSERT INTO `order_item` VALUES ('2005', '4290', '元', '5.43', '23294.7', '24', '4');
INSERT INTO `order_item` VALUES ('2006', '3400', '元', '4.88', '16592', '24', '5');
INSERT INTO `order_item` VALUES ('2007', '4859', '元', '2.92', '14188.28', '24', '6');
INSERT INTO `order_item` VALUES ('2008', '2291', '元', '3.37', '7720.67', '24', '7');
INSERT INTO `order_item` VALUES ('2009', '2756', '元', '6.33', '17445.48', '24', '8');
INSERT INTO `order_item` VALUES ('2010', '4424', '元', '2.72', '12033.28', '24', '9');
INSERT INTO `order_item` VALUES ('2011', '1334', '元', '5.95', '7937.3', '24', '10');
INSERT INTO `order_item` VALUES ('2012', '1388', '元', '1.02', '1415.76', '25', '1');
INSERT INTO `order_item` VALUES ('2013', '884', '元', '1.49', '1317.16', '25', '2');
INSERT INTO `order_item` VALUES ('2014', '2994', '元', '3.91', '11706.54', '25', '3');
INSERT INTO `order_item` VALUES ('2015', '4617', '元', '0.37', '1708.29', '25', '4');
INSERT INTO `order_item` VALUES ('2016', '3311', '元', '8.86', '29335.46', '25', '5');
INSERT INTO `order_item` VALUES ('2017', '2385', '元', '9.93', '23683.05', '25', '6');
INSERT INTO `order_item` VALUES ('2018', '2543', '元', '8.41', '21386.63', '25', '7');
INSERT INTO `order_item` VALUES ('2019', '3995', '元', '0.52', '2077.4', '25', '8');
INSERT INTO `order_item` VALUES ('2020', '4537', '元', '7.12', '32303.44', '25', '9');
INSERT INTO `order_item` VALUES ('2021', '4953', '元', '8.52', '42199.56', '25', '10');
INSERT INTO `order_item` VALUES ('2022', '1959', '元', '1.41', '2762.19', '26', '1');
INSERT INTO `order_item` VALUES ('2023', '4080', '元', '9.59', '39127.2', '26', '2');
INSERT INTO `order_item` VALUES ('2024', '4380', '元', '6.14', '26893.2', '26', '3');
INSERT INTO `order_item` VALUES ('2025', '1116', '元', '3.79', '4229.64', '26', '4');
INSERT INTO `order_item` VALUES ('2026', '1110', '元', '8.71', '9668.1', '26', '5');
INSERT INTO `order_item` VALUES ('2027', '192', '元', '2.67', '512.64', '26', '6');
INSERT INTO `order_item` VALUES ('2028', '1038', '元', '0.07', '72.66', '26', '7');
INSERT INTO `order_item` VALUES ('2029', '2110', '元', '9.71', '20488.1', '26', '8');
INSERT INTO `order_item` VALUES ('2030', '1689', '元', '0.61', '1030.29', '26', '9');
INSERT INTO `order_item` VALUES ('2031', '1037', '元', '6.36', '6595.32', '26', '10');
INSERT INTO `order_item` VALUES ('2032', '3150', '元', '9.33', '29389.5', '27', '1');
INSERT INTO `order_item` VALUES ('2033', '2447', '元', '1.07', '2618.29', '27', '2');
INSERT INTO `order_item` VALUES ('2034', '1875', '元', '7.61', '14268.75', '27', '3');
INSERT INTO `order_item` VALUES ('2035', '2998', '元', '8.68', '26022.64', '27', '4');
INSERT INTO `order_item` VALUES ('2036', '2324', '元', '5.24', '12177.76', '27', '5');
INSERT INTO `order_item` VALUES ('2037', '214', '元', '3.24', '693.36', '27', '6');
INSERT INTO `order_item` VALUES ('2038', '2270', '元', '0.06', '136.2', '27', '7');
INSERT INTO `order_item` VALUES ('2039', '1581', '元', '1.31', '2071.11', '27', '8');
INSERT INTO `order_item` VALUES ('2040', '31', '元', '5.33', '165.23', '27', '9');
INSERT INTO `order_item` VALUES ('2041', '2886', '元', '5.59', '16132.74', '27', '10');
INSERT INTO `order_item` VALUES ('2042', '3579', '元', '1.4', '5010.6', '28', '1');
INSERT INTO `order_item` VALUES ('2043', '2899', '元', '5.22', '15132.78', '28', '2');
INSERT INTO `order_item` VALUES ('2044', '4103', '元', '2.37', '9724.11', '28', '3');
INSERT INTO `order_item` VALUES ('2045', '1577', '元', '2.57', '4052.89', '28', '4');
INSERT INTO `order_item` VALUES ('2046', '361', '元', '6.84', '2469.24', '28', '5');
INSERT INTO `order_item` VALUES ('2047', '2982', '元', '7.95', '23706.9', '28', '6');
INSERT INTO `order_item` VALUES ('2048', '1549', '元', '4.11', '6366.39', '28', '7');
INSERT INTO `order_item` VALUES ('2049', '3805', '元', '2.83', '10768.15', '28', '8');
INSERT INTO `order_item` VALUES ('2050', '3220', '元', '9.27', '29849.4', '28', '9');
INSERT INTO `order_item` VALUES ('2051', '312', '元', '5.54', '1728.48', '28', '10');
INSERT INTO `order_item` VALUES ('2052', '1726', '元', '3.88', '6696.88', '29', '1');
INSERT INTO `order_item` VALUES ('2053', '4426', '元', '4.36', '19297.36', '29', '2');
INSERT INTO `order_item` VALUES ('2054', '4531', '元', '0.19', '860.89', '29', '3');
INSERT INTO `order_item` VALUES ('2055', '343', '元', '8.86', '3038.98', '29', '4');
INSERT INTO `order_item` VALUES ('2056', '2280', '元', '4.5', '10260', '29', '5');
INSERT INTO `order_item` VALUES ('2057', '1887', '元', '2.4', '4528.8', '29', '6');
INSERT INTO `order_item` VALUES ('2058', '3463', '元', '3.15', '10908.45', '29', '7');