-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path20160421.sql
1519 lines (1339 loc) · 103 KB
/
20160421.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
CREATE DATABASE IF NOT EXISTS `salary` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `salary`;
-- MySQL dump 10.13 Distrib 5.7.9, for Win64 (x86_64)
--
-- Host: localhost Database: salary
-- ------------------------------------------------------
-- Server version 5.7.9-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `t_annual_assignment`
--
DROP TABLE IF EXISTS `t_annual_assignment`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_annual_assignment` (
`ID` varchar(40) NOT NULL,
`ASSIGNMENT_ID` varchar(40) NOT NULL,
`NAME` varchar(100) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`ASSIGNMENT_YEAR` int(11) NOT NULL,
`ASSIGNMENT_MONTH` int(11) NOT NULL,
`TARGET` decimal(20,6) NOT NULL,
`CREATE_TIME` date NOT NULL,
`CREATOR_ID` varchar(40) DEFAULT NULL,
`VERSION_ID` varchar(40) NOT NULL,
`EXEC_STATE` int(11) NOT NULL COMMENT '0 - 未分配\n 1 - 已分配\n 2 - 已执行\n 3 - 执行完成',
UNIQUE KEY `INDEX_1` (`ID`),
KEY `INDEX_2` (`ASSIGNMENT_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_annual_assignment`
--
LOCK TABLES `t_annual_assignment` WRITE;
/*!40000 ALTER TABLE `t_annual_assignment` DISABLE KEYS */;
INSERT INTO `t_annual_assignment` VALUES ('597c96bb-b57e-4169-8b97-2b6b5358d692','a529ecb7-c772-44ad-84af-0d9f50c16a20','2016年度11月任务计划','2016年度11月任务计划',2016,11,200.000000,'2016-04-20','nobody','20140404',0),('5e2be8af-8043-448c-81b3-fa918b503a77','a529ecb7-c772-44ad-84af-0d9f50c16a20','2016年度4月任务计划','2016年度4月任务计划',2016,4,200.000000,'2016-04-20','nobody','20140404',1),('84c85d9b-2ec5-464b-95c2-ed7cbdf07bb6','a529ecb7-c772-44ad-84af-0d9f50c16a20','2016年度12月任务计划','2016年度12月任务计划',2016,12,200.000000,'2016-04-20','nobody','20140404',0),('9fdeca86-6512-41e2-a00e-3c5ff9b34092','a529ecb7-c772-44ad-84af-0d9f50c16a20','2016年度8月任务计划','2016年度8月任务计划',2016,8,200.000000,'2016-04-20','nobody','20140404',0),('a2c7056a-37c8-4c14-a8c0-27d1928c4f9c','a529ecb7-c772-44ad-84af-0d9f50c16a20','2016年度10月任务计划','2016年度10月任务计划',2016,10,200.000000,'2016-04-20','nobody','20140404',0),('a6227427-25d8-45fc-a7cb-7ac60329d826','a529ecb7-c772-44ad-84af-0d9f50c16a20','2016年度9月任务计划','2016年度9月任务计划',2016,9,200.000000,'2016-04-20','nobody','20140404',0),('c0ff2a92-0b1f-4965-a70f-9bb04a1029da','a529ecb7-c772-44ad-84af-0d9f50c16a20','2016年度7月任务计划','2016年度7月任务计划',2016,7,100.000000,'2016-04-20','nobody','20140404',0),('c87dc598-b32f-44f1-960c-65dbcb39f334','a529ecb7-c772-44ad-84af-0d9f50c16a20','2016年度6月任务计划','2016年度6月任务计划',2016,6,100.000000,'2016-04-20','nobody','20140404',0),('f9811217-3c2f-4fc8-95a4-817b21d5ecbf','a529ecb7-c772-44ad-84af-0d9f50c16a20','2016年度5月任务计划','2016年度5月任务计划',2016,5,100.000000,'2016-04-20','nobody','20140404',0);
/*!40000 ALTER TABLE `t_annual_assignment` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_assignment`
--
DROP TABLE IF EXISTS `t_assignment`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_assignment` (
`ID` varchar(40) NOT NULL,
`NAME` varchar(100) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`TYPE` varchar(40) NOT NULL,
`TARGET` decimal(20,6) NOT NULL,
`UNIT` varchar(40) NOT NULL,
`ENABLED` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_assignment`
--
LOCK TABLES `t_assignment` WRITE;
/*!40000 ALTER TABLE `t_assignment` DISABLE KEYS */;
/*!40000 ALTER TABLE `t_assignment` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_assignment_define`
--
DROP TABLE IF EXISTS `t_assignment_define`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_assignment_define` (
`ID` varchar(40) NOT NULL,
`NAME` varchar(100) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`ENABLED` tinyint(1) NOT NULL,
`TYPE` varchar(40) NOT NULL,
`DEFAULT_VALUE` decimal(20,6) NOT NULL,
`VERSION_ID` varchar(40) NOT NULL,
`UNIT_ID` varchar(40) NOT NULL,
`POSITION_ID` varchar(40) NOT NULL,
UNIQUE KEY `INDEX_1` (`ID`),
KEY `INDEX_2` (`TYPE`),
KEY `INDEX_3` (`UNIT_ID`),
KEY `INDEX_4` (`VERSION_ID`),
KEY `INDEX_5` (`POSITION_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_assignment_define`
--
LOCK TABLES `t_assignment_define` WRITE;
/*!40000 ALTER TABLE `t_assignment_define` DISABLE KEYS */;
INSERT INTO `t_assignment_define` VALUES ('01758245-4965-4a64-910b-7664651cbe8a','xxoo',NULL,1,'2',1000.000000,'20140404','3','0000000000'),('9739087d-dc2e-450e-9104-252235cf89de','精品销售',NULL,1,'1',0.000000,'20140404','1','9999999999'),('a529ecb7-c772-44ad-84af-0d9f50c16a20','产值任务',NULL,1,'1',0.000000,'20140404','2','9999999999'),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','xxoo','每月xxoo30次',1,'2',30.000000,'20140404','3','9999999999'),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','工时任务',NULL,1,'3',0.000000,'20140404','5','9999999999');
/*!40000 ALTER TABLE `t_assignment_define` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_assignment_item_type`
--
DROP TABLE IF EXISTS `t_assignment_item_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_assignment_item_type` (
`ID` varchar(40) NOT NULL,
`NAME` varchar(100) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`ENABLED` tinyint(1) NOT NULL,
UNIQUE KEY `INDEX_1` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_assignment_item_type`
--
LOCK TABLES `t_assignment_item_type` WRITE;
/*!40000 ALTER TABLE `t_assignment_item_type` DISABLE KEYS */;
INSERT INTO `t_assignment_item_type` VALUES ('1','自动分配任务','任务下达到指定岗位后,再按岗位预设比例逐级分解到下属岗位,如无预设比例则该下属岗位不分配',1),('2','定额任务','任务下达到指定岗位,具有固定任务指标',1),('3','无定额任务','任务下达到指定岗位,没有任务指标。',1);
/*!40000 ALTER TABLE `t_assignment_item_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_assignment_performance`
--
DROP TABLE IF EXISTS `t_assignment_performance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_assignment_performance` (
`ID` varchar(40) NOT NULL,
`EMPLOYEE_ID` varchar(40) NOT NULL,
`COMPLETED` decimal(20,6) NOT NULL,
`TARGET` decimal(20,6) DEFAULT NULL,
`ASSIGNMENT_YEAR` int(11) NOT NULL,
`ASSIGNMENT_MONTH` int(11) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`VERSION_ID` varchar(40) NOT NULL,
`DEFINE_ID` varchar(40) NOT NULL,
UNIQUE KEY `INDEX_1` (`ID`),
KEY `INDEX_2` (`EMPLOYEE_ID`),
KEY `INDEX_4` (`VERSION_ID`),
KEY `INDEX_5` (`DEFINE_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_assignment_performance`
--
LOCK TABLES `t_assignment_performance` WRITE;
/*!40000 ALTER TABLE `t_assignment_performance` DISABLE KEYS */;
INSERT INTO `t_assignment_performance` VALUES ('096f98d3-ee5a-4b8d-81a0-6fb7dc3276a2','024',0.000000,4.165000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('0fdc6fb8-f607-49ef-8bc9-8d58257242e0','021',0.000000,12.500000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('12a884f5-80bd-436f-9a3d-8282da035920','032',0.000000,0.694100,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('1e4702ad-fe9f-4203-b807-380f690f2c17','025',0.000000,4.165000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('24ea83bc-94db-43a7-af93-83db8ba7f5df','006',0.000000,100.000000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('2c02c804-a0d6-4959-98a5-b2e317e1abe1','0001',0.000000,1000.000000,2016,5,'','20140404','01758245-4965-4a64-910b-7664651cbe8a'),('34c21dc3-fb88-4ceb-a79b-cf3196b93469','004',0.000000,0.347050,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('360cc8fc-933a-40f2-829b-41aea362df3c','009',0.000000,25.000000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('435b4f56-1212-484b-a31f-58c97fca3cbe','037',0.000000,4.165000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('4f8713d7-a051-4048-8500-ec01951cd99a','012',0.000000,25.000000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('53d97890-9194-4037-b2e8-b874fb216351','039',0.000000,1.041667,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('72506527-a291-4490-af01-f50530377105','008',0.000000,50.000000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('73731585-cf23-4a13-890d-5bebe9aadced','0002',0.000000,100.000000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('76bdf134-8c26-443e-a5db-0c85d63d3fc8','030',0.000000,1.388200,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('7bba7dc1-593a-4a00-ad84-c27d1ea96632','040',0.000000,1.041667,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('7de84ec8-3392-4ee4-9f99-2ba4150be572','019',0.000000,6.250000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('87364407-a3a5-433a-912b-39552abaa535','020',0.000000,25.000000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('87918183-c7e4-475d-a8e9-4c3af48454a8','023',0.000000,25.000000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('9450b6e3-1b68-4d34-b989-b6598b770067','028',0.000000,0.173500,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('9e045c6e-7cf6-4b70-a0b6-30d793c5b9ae','007',0.000000,50.000000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('ba7b93e6-27a6-480f-a3b9-7a0e44faa334','015',0.000000,6.250000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('bdf01fbb-575b-4cd8-bcdf-2dba1a438847','033',0.000000,1.388600,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('c6737555-8312-440b-a8a7-826936333356','026',0.000000,4.165000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('c6826023-b41a-4e3e-929a-381d73ba830c','035',0.000000,0.694300,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('c738271d-569b-458e-81f9-22691cb16802','038',0.000000,4.175000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('ccbca754-9501-4af3-bbb1-764c1178af87','010',0.000000,12.500000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('d29a3a50-fe22-4b5d-a904-43ded4c9d55a','014',0.000000,6.250000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('d3b8bf33-0c9f-4db6-9208-8d9d6d38f9d0','005',0.000000,0.347050,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('d55ea3d8-38f5-483e-9867-14bffec9e892','027',0.000000,0.347050,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('d63e608d-b6d5-44b3-9a9a-87df6c2e6f55','013',0.000000,6.250000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('d85c2fc7-5f1c-4a48-8a90-5d142ac5265c','016',0.000000,1.041667,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('da52af90-65b6-44c0-b60e-8ee98893715d','031',0.000000,0.694100,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('def83584-9b5b-45e4-8f1e-b71bcdf05896','029',0.000000,0.173500,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('e29d0e17-2ba8-48df-aac8-b79cb0cdd712','003',0.000000,0.347050,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('e669f1c7-d5df-4f91-a5ee-9fd7cda52c36','022',0.000000,12.500000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('e967a5bc-0aa4-4c48-ad0e-7149ea865988','011',0.000000,12.500000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('efd97494-d9cb-4699-b880-c5390e0d2899','036',0.000000,4.165000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('f7f3a2db-d5fd-497e-828c-ce5e1246a979','018',0.000000,3.125000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('f904d02a-f7d0-40db-b4c3-330c01ba881a','034',0.000000,0.694300,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20'),('fb025c89-b111-4086-a7fc-c1a34ce19edb','0001',0.000000,200.000000,2016,4,'','20140404','a529ecb7-c772-44ad-84af-0d9f50c16a20');
/*!40000 ALTER TABLE `t_assignment_performance` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_code_table`
--
DROP TABLE IF EXISTS `t_code_table`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_code_table` (
`ID` varchar(40) NOT NULL,
`NAME` varchar(100) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`ENABLED` tinyint(1) NOT NULL,
UNIQUE KEY `INDEX_1` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_code_table`
--
LOCK TABLES `t_code_table` WRITE;
/*!40000 ALTER TABLE `t_code_table` DISABLE KEYS */;
/*!40000 ALTER TABLE `t_code_table` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_employee`
--
DROP TABLE IF EXISTS `t_employee`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_employee` (
`ID` varchar(40) NOT NULL,
`LEADER_ID` varchar(40) DEFAULT NULL,
`POSITION_ID` varchar(40) DEFAULT NULL,
`NAME` varchar(100) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`ENTRY_TIME` date NOT NULL,
`DISMISSION_TIME` date DEFAULT NULL,
`ENABLED` tinyint(1) NOT NULL,
UNIQUE KEY `INDEX_3` (`ID`),
KEY `INDEX_2` (`POSITION_ID`),
KEY `INDEX_4` (`LEADER_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_employee`
--
LOCK TABLES `t_employee` WRITE;
/*!40000 ALTER TABLE `t_employee` DISABLE KEYS */;
INSERT INTO `t_employee` VALUES ('0001',NULL,'0000000000','邹伟','总经理','2000-01-01',NULL,1),('0002','0001','0200000000','王辉',NULL,'2006-04-21',NULL,1),('003','026','0204030100','机电李四','机电组长','2006-01-01',NULL,1),('004','026','0204030100','机电王二',NULL,'2006-01-01',NULL,1),('005','026','0204030100','机电张三 ',NULL,'2006-01-01',NULL,1),('006','0001','0100000000','客服经理1',NULL,'2006-01-01',NULL,1),('007','006','0101000000','顾客管理员1',NULL,'2006-01-01',NULL,1),('008','006','0102000000','信息员1',NULL,'2006-01-01',NULL,1),('009','0002','0201000000','保险部经理1',NULL,'2006-01-01',NULL,1),('010','009','0201010000','事故专员1',NULL,'2006-01-01',NULL,1),('011','009','0201020000','电话车险销售1',NULL,'2006-01-01',NULL,1),('012','0002','0202000000','服务经理',NULL,'2006-01-01',NULL,1),('013','012','0202010000','非技术内训师1',NULL,'2006-01-01',NULL,1),('014','012','0202020000','索赔员1',NULL,'2006-01-01',NULL,1),('015','012','0202030000','前台主管1',NULL,'2006-01-01',NULL,1),('016','015','0202030100','服务顾问1',NULL,'2006-01-01',NULL,1),('017','016','0202030201','实习服务顾问1',NULL,'2006-01-01',NULL,1),('018','015','0202030200','休息区服务专员1',NULL,'2006-01-01',NULL,1),('019','012','0202040000','网络管理员1',NULL,'2006-01-01',NULL,1),('020','0002','0203000000','配件经理1',NULL,'2006-01-01',NULL,1),('021','020','0203010000','库管员1',NULL,'2006-01-01',NULL,1),('022','020','0203020000','配件计划员1',NULL,'2006-01-01',NULL,1),('023','0002','0204000000','技术经理1',NULL,'2006-01-01',NULL,1),('024','023','0204010000','技术内训师1',NULL,'2006-01-01',NULL,1),('025','023','0204020000','质检员1',NULL,'2006-01-01',NULL,1),('026','023','0204030000','车间主管1',NULL,'2006-01-01',NULL,1),('027','026','0204030100','机电组长1',NULL,'2006-01-01',NULL,1),('028','027','0204030101','机电技师1',NULL,'2006-01-01',NULL,1),('029','027','0204030102','机电学徒1',NULL,'2006-01-01',NULL,1),('030','026','0204030200','钣金组长1',NULL,'2006-01-01',NULL,1),('031','030','0204030201','钣金技师',NULL,'2006-01-01',NULL,1),('032','030','0204030202','钣金学徒',NULL,'2006-01-01',NULL,1),('033','026','0204030300','漆工组长',NULL,'2006-01-01',NULL,1),('034','033','0204030301','漆工技师',NULL,'2006-01-01',NULL,1),('035','033','0204030302','漆工学徒',NULL,'2006-01-01',NULL,1),('036','023','0204040000','PDI专员',NULL,'2006-01-01',NULL,1),('037','023','0204050000','救急专员',NULL,'2006-01-01',NULL,1),('038','023','0204060000','废料收集员',NULL,'2006-01-01',NULL,1),('039','015','0202030100','服务顾问2',NULL,'2006-01-01',NULL,1),('040','015','0202030100','服务顾问3',NULL,'2006-01-01',NULL,1);
/*!40000 ALTER TABLE `t_employee` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_employee_salary_detail`
--
DROP TABLE IF EXISTS `t_employee_salary_detail`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_employee_salary_detail` (
`ID` varchar(40) NOT NULL,
`EMPLOYEE_ID` varchar(40) NOT NULL,
`SALARY_ITEM_ID` varchar(40) NOT NULL,
`SALARY_YEAR` int(11) NOT NULL,
`SALARY_MONTH` int(11) NOT NULL,
`AMOUNT` decimal(10,2) NOT NULL,
`VERSION_ID` varchar(40) NOT NULL,
UNIQUE KEY `INDEX_1` (`ID`),
KEY `INDEX_2` (`EMPLOYEE_ID`),
KEY `INDEX_3` (`SALARY_ITEM_ID`),
KEY `INDEX_4` (`VERSION_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_employee_salary_detail`
--
LOCK TABLES `t_employee_salary_detail` WRITE;
/*!40000 ALTER TABLE `t_employee_salary_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `t_employee_salary_detail` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_evaluation_form`
--
DROP TABLE IF EXISTS `t_evaluation_form`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_evaluation_form` (
`ID` varchar(40) NOT NULL,
`NAME` varchar(100) NOT NULL,
`DESCRIPTION` varchar(2000) NOT NULL,
`ENABLED` tinyint(1) NOT NULL,
`VERSION_ID` varchar(40) NOT NULL,
`POSITION_ID` varchar(40) NOT NULL,
UNIQUE KEY `INDEX_2` (`ID`),
KEY `INDEX_3` (`VERSION_ID`),
KEY `INDEX_4` (`POSITION_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_evaluation_form`
--
LOCK TABLES `t_evaluation_form` WRITE;
/*!40000 ALTER TABLE `t_evaluation_form` DISABLE KEYS */;
INSERT INTO `t_evaluation_form` VALUES ('0001','KPI','KPI',1,'20160401','0204030100'),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','CSI','CSI',1,'20160401','9999999999');
/*!40000 ALTER TABLE `t_evaluation_form` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_evaluation_form_items`
--
DROP TABLE IF EXISTS `t_evaluation_form_items`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_evaluation_form_items` (
`EVALUATION_FORM_ID` varchar(40) NOT NULL,
`EVALUATION_FORM_ITEM_ID` varchar(40) NOT NULL,
`VERSION_ID` varchar(40) NOT NULL,
`ENABLED` tinyint(1) NOT NULL,
`SHOW_ORDER` int(11) NOT NULL,
UNIQUE KEY `INDEX_1` (`EVALUATION_FORM_ID`,`EVALUATION_FORM_ITEM_ID`),
KEY `INDEX_3` (`VERSION_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_evaluation_form_items`
--
LOCK TABLES `t_evaluation_form_items` WRITE;
/*!40000 ALTER TABLE `t_evaluation_form_items` DISABLE KEYS */;
INSERT INTO `t_evaluation_form_items` VALUES ('0001','0001','20160401',1,0),('0001','0002','20160401',1,1),('0001','0003','20160401',1,2),('0001','0004','20160401',1,3),('0001','0005','20160401',1,4),('0001','0006','20160401',1,5),('0001','0007','20160401',1,6),('0001','0008','20160401',1,7),('0001','0009','20160401',1,8),('0001','0010','20160401',1,9),('0001','0011','20160401',1,10),('0001','0012','20160401',1,11),('0001','0013','20160401',1,12),('0001','0014','20160401',1,13),('0001','0015','20160401',1,14),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0016','20160401',1,0),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0017','20160401',1,1),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0018','20160401',1,2),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0019','20160401',1,3),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0020','20160401',1,4),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0021','20160401',1,5),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0022','20160401',1,6),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0023','20160401',1,7),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0024','20160401',1,8),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0025','20160401',1,9),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0026','20160401',1,10),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0027','20160401',1,11),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0028','20160401',1,12),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0029','20160401',1,13),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0030','20160401',1,14),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0031','20160401',1,15),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0032','20160401',1,16),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0033','20160401',1,17),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0034','20160401',1,18),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0035','20160401',1,19),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0036','20160401',1,20),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0037','20160401',1,21),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0038','20160401',1,22),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0039','20160401',1,23),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0040','20160401',1,24),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0041','20160401',1,25),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0042','20160401',1,26),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0043','20160401',1,27),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0044','20160401',1,28),('6dc3c933-1863-43b7-9d91-9b76ab8c69ec','0045','20160401',1,29);
/*!40000 ALTER TABLE `t_evaluation_form_items` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_evaluation_item`
--
DROP TABLE IF EXISTS `t_evaluation_item`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_evaluation_item` (
`ID` varchar(40) NOT NULL,
`NAME` varchar(100) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`TYPE` varchar(40) NOT NULL,
`FULL_MARK` decimal(10,2) NOT NULL,
`ENABLED` tinyint(1) NOT NULL,
`VERSION_ID` varchar(40) NOT NULL,
`POSITION_ID` varchar(40) NOT NULL,
UNIQUE KEY `INDEX_1` (`ID`),
KEY `INDEX_2` (`VERSION_ID`),
KEY `INDEX_3` (`TYPE`),
KEY `INDEX_4` (`POSITION_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_evaluation_item`
--
LOCK TABLES `t_evaluation_item` WRITE;
/*!40000 ALTER TABLE `t_evaluation_item` DISABLE KEYS */;
INSERT INTO `t_evaluation_item` VALUES ('0001','出勤记录','按照公司考勤制度要求,无迟到、早退、旷工、中途脱岗,病事假能按公司要求办理请假手续。(迟到、早退每次扣0.5分;旷工每次口3分)','008',10.00,1,'20160401','0204030100'),('0002','工作纪律','工作时间无睡觉、上网、聊QQ、吃零食、聚众闲聊、大声喧哗;(上班时间做工作无关的事,每次口0.5分)','008',10.00,1,'20160401','0204030100'),('0003','仪容仪表','按公司要求统一着装,工作服保持干净、整洁','008',5.00,1,'20160401','0204030100'),('0004','仪容仪表','保持良好的个人卫生、无异味、无怪异发型;仪表端庄、大方,语言得体','008',5.00,1,'20160401','0204030100'),('0005','交车合格率','按车间内外返制度执行(內返每次扣0.5分,外返每次扣2分;3DC回访派单每次扣1分','007',10.00,1,'20160401','0204030100'),('0006','培训合格率','未按要求参加技术内训,每次扣1.5分','007',6.00,1,'20160401','0204030100'),('0007','培训合格率','培训考核不合格,每次扣2分','007',4.00,1,'20160401','0204030100'),('0008','管理与执行能力','管控并协调组员之间的工作进度;按时、保质的完成车间分配的工作。(出现消极怠工、出状况而不作为,每次扣1分)','007',10.00,1,'20160401','0204030100'),('0009','工具设备','定期检查,不合格每次扣1分','009',5.00,1,'20160401','0204030100'),('0010','卫生区域','所属卫生区域检查不合格每次扣0.5分','009',5.00,1,'20160401','0204030100'),('0011','操作规范','未按规定流程操作,每次扣1分','009',10.00,1,'20160401','0204030100'),('0012','安全生产','禁烟区内吸烟,每次扣1分;发现他人在禁烟区内吸烟未劝阻,每次扣0.5分','009',5.00,1,'20160401','0204030100'),('0013','安全生产','因野蛮操作造成车辆、工具设备受损,人员受伤,每次扣1分','009',5.00,1,'20160401','0204030100'),('0014','CSI得分',NULL,'002',10.00,1,'20160401','0204030100'),('0015','特别业绩','积极参与疑难问题的解决;提出合理化建议,并有效实施;提高工作效率;(可酌情加分)','010',10.00,1,'20160401','0204030100'),('0016','及时接待','','011',1.00,1,'20160401','9999999999'),('0017','售后服务六件套',NULL,'011',1.00,1,'20160401','9999999999'),('0018','环车检查',NULL,'011',1.00,1,'20160401','9999999999'),('0019','贵重物品提醒',NULL,'011',1.00,1,'20160401','9999999999'),('0020','估时估价',NULL,'011',1.00,1,'20160401','9999999999'),('0021','服务响应',NULL,'011',1.00,1,'20160401','9999999999'),('0022','主动问候',NULL,'011',1.00,1,'20160401','9999999999'),('0023','引导休息',NULL,'011',1.00,1,'20160401','9999999999'),('0024','无线网络覆盖',NULL,'011',1.00,1,'20160401','9999999999'),('0025','洗手间环境',NULL,'011',1.00,1,'20160401','9999999999'),('0026','顾客休息区舒适程度',NULL,'011',1.00,1,'20160401','9999999999'),('0027','饮品提供及续杯',NULL,'011',1.00,1,'20160401','9999999999'),('0028','维修进度汇报',NULL,'011',1.00,1,'20160401','9999999999'),('0029','服务人员专业知识',NULL,'011',1.00,1,'20160401','9999999999'),('0030','预估时间内交车',NULL,'011',1.00,1,'20160401','9999999999'),('0031','车辆状态保持',NULL,'011',1.00,1,'20160401','9999999999'),('0032','洗车服务',NULL,'011',1.00,1,'20160401','9999999999'),('0033','旧件展示',NULL,'011',1.00,1,'20160401','9999999999'),('0034','轮胎杂物清理',NULL,'011',1.00,1,'20160401','9999999999'),('0035','维修成果展示',NULL,'011',1.00,1,'20160401','9999999999'),('0036','解释服务项目及收费',NULL,'011',1.00,1,'20160401','9999999999'),('0037','下次保养提醒',NULL,'011',1.00,1,'20160401','9999999999'),('0038','协助提车',NULL,'011',1.00,1,'20160401','9999999999'),('0039','礼貌送行',NULL,'011',1.00,1,'20160401','9999999999'),('0040','服务追踪',NULL,'011',1.00,1,'20160401','9999999999'),('0041','车辆故障一次性修复',NULL,'011',1.00,1,'20160401','9999999999'),('0042','维修时间满意情况',NULL,'011',1.00,1,'20160401','9999999999'),('0043','未接受顾客礼物或财物',NULL,'011',1.00,1,'20160401','9999999999'),('0044','100%车辆全生命周期关怀回访',NULL,'011',1.00,1,'20160401','9999999999'),('0045','推荐购买/再次购买',NULL,'011',1.00,1,'20160401','9999999999'),('1844a508-0994-48ff-a1a6-bc0c6b2f9f9d','培训合格率','按要求参加厂方培训,不合格每次扣2分','007',4.00,1,'20160401','0204000000'),('1fd59609-f5a0-4f15-bcc8-daa98fc3d806','出勤记录','按照公司考勤制度要求,无迟到、早退、旷工、中途脱岗,病事假能按公司要求办理请假手续。(迟到、早退每次扣0.5分;旷工每次口3分)','008',10.00,1,'20160401','0204030300'),('20cd6b33-dafa-42b1-9584-58f166791013','安全生产','因野蛮操作造成车辆、工具设备受损,人员受伤,每次扣1分','009',5.00,1,'20160401','0204030000'),('2506ecec-5b1f-48a8-8421-96ff5dd2821b','特别业绩','积极参与疑难问题的解决;提出合理化建议,并有效实施;提高工作效率;(可酌情加分)','010',10.00,1,'20160401','0204000000'),('28a2644e-530d-4957-b0d4-d3395e98dd96','安全生产','禁烟区内吸烟,每次扣1分;发现他人在禁烟区内吸烟未劝阻,每次扣0.5分','009',5.00,1,'20160401','0204000000'),('320f6437-b41d-42e7-919a-22c2043a4dfb','培训合格率','未按要求参加技术内训,每次扣1.5分','007',6.00,1,'20160401','0204030000'),('35445f8f-f506-4150-8773-4ce7628aa2eb','交车合格率','按车间内外返制度执行(內返每次扣0.5分,外返每次扣2分;3DC回访派单每次扣1分','007',10.00,1,'20160401','0204030000'),('477f707d-7d0b-468a-931d-a56d779a8edb','安全生产','禁烟区内吸烟,每次扣1分;发现他人在禁烟区内吸烟未劝阻,每次扣0.5分','009',5.00,1,'20160401','0204030000'),('570b0e58-a67c-440f-a208-40876796d940','工作纪律','工作时间无睡觉、上网、聊QQ、吃零食、聚众闲聊、大声喧哗;(上班时间做工作无关的事,每次口0.5分)','008',10.00,1,'20160401','0204030000'),('6075bfcb-190d-4c02-84a9-213644e82b17','安全生产','因野蛮操作造成车辆、工具设备受损,人员受伤,每次扣1分','009',5.00,1,'20160401','0204000000'),('6d52ca58-c2cf-49fd-9611-acbae94f1d47','交车合格率','按车间内外返制度执行(內返每次扣0.5分,外返每次扣2分;3DC回访派单每次扣1分','007',10.00,1,'20160401','0204000000'),('71b3fb4e-0c4c-4108-9b13-a54b8583d47d','培训合格率','按要求开展技术内训,不合格每次扣1.5分','007',6.00,1,'20160401','0204000000'),('73fb6053-02b6-4fc8-9043-7aa5a40d770c','管理与执行能力','完成技术顾问岗位轮值工作;协助技术顾问派工、交车;及时跟进各维修班组的进度,作适时指导及引导(因不作为造成工作延误、客户抱怨,每次扣1分)','007',10.00,1,'20160401','0204030000'),('75acde4d-c039-4c32-b3b0-187c180056fe','现场管理','严把质量关,对竣工车辆仔细检查,开据內返单(因漏检造成外返及客户投诉,每次扣2分)','009',10.00,1,'20160401','0204000000'),('7c00d67d-979d-4dba-8d7c-633ee90f429f','培训合格率','培训考核不合格,每次扣2分','007',4.00,1,'20160401','0204030000'),('81e458b9-4772-4ad3-b9fc-a81f39f4c024','仪容仪表','按公司要求统一着装,工作服保持干净、整洁','008',5.00,1,'20160401','0204030000'),('85f59807-deb2-4f4b-af25-7466d661ab91','现场管理','严把质量关,对竣工车辆仔细检查,开据內返单(因漏检造成外返及客户投诉,每次扣2分).','009',10.00,1,'20160401','0204030000'),('8af9827f-1763-41a1-a5fe-fa7ece060342','出勤记录','按照公司考勤制度要求,无迟到、早退、旷工、中途脱岗,病事假能按公司要求办理请假手续。(迟到、早退每次扣0.5分;旷工每次口3分)','008',10.00,1,'20160401','0204000000'),('9d85c808-84bc-4c3a-bc41-02f7fba1e394','出勤记录','按照公司考勤制度要求,无迟到、早退、旷工、中途脱岗,病事假能按公司要求办理请假手续。(迟到、早退每次扣0.5分;旷工每次口3分)','008',10.00,1,'20160401','0204030000'),('a7343604-2fc5-4ff0-8e94-e68cd7519d33','管理与执行能力','完成技术顾问岗位轮值工作;协助技术顾问派工、交车;及时跟进各维修班组的进度,对疑难故障作及时指导及引导(因不作为造成工作延误、客户抱怨,每次扣1分)','007',10.00,1,'20160401','0204000000'),('ae541886-33f1-4708-a512-92c847f1c613','CSI得分',NULL,'002',10.00,1,'20160401','0204030000'),('b09c49eb-0360-4607-ad08-8fabb2e471e4','仪容仪表','保持良好的个人卫生、无异味、无怪异发型;仪表端庄、大方,语言得体','008',5.00,1,'20160401','0204030000'),('b09f1fce-8ad5-46b9-9cc3-33613fc64e83','现场管理','及时纠正维修过程中的各种不规范行为','009',10.00,1,'20160401','0204000000'),('b2a83c28-d3c9-4bb4-b05f-4d9a59d30893','特别业绩','积极参与疑难问题的解决;提出合理化建议,并有效实施;提高工作效率;(可酌情加分)','010',10.00,1,'20160401','0204030000'),('cfb596ab-c190-4ef8-b6ca-ccd11b5e09b5','现场管理','及时纠正维修过程中的各种不规范行为','009',10.00,1,'20160401','0204030000'),('e2094954-3564-46e9-bcb2-4c6a8bdd5733','仪容仪表','按公司要求统一着装,工作服保持干净、整洁','008',5.00,1,'20160401','0204000000'),('e2d17de7-19ff-4bd2-83da-39709a5dbadc','工作纪律','工作时间无睡觉、上网、聊QQ、吃零食、聚众闲聊、大声喧哗;(上班时间做工作无关的事,每次口0.5分)','008',10.00,1,'20160401','0204000000'),('e86e7d35-d819-44f9-9417-02233eeff86d','CSI得分','','002',10.00,1,'20160401','0204000000'),('eda1dfd7-d570-4c37-8389-0986c1565443','仪容仪表','保持良好的个人卫生、无异味、无怪异发型;仪表端庄、大方,语言得体','008',5.00,1,'20160401','0204000000');
/*!40000 ALTER TABLE `t_evaluation_item` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_evaluation_item_type`
--
DROP TABLE IF EXISTS `t_evaluation_item_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_evaluation_item_type` (
`ID` varchar(40) NOT NULL,
`NAME` varchar(100) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`ENABLED` tinyint(1) NOT NULL,
UNIQUE KEY `INDEX_1` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_evaluation_item_type`
--
LOCK TABLES `t_evaluation_item_type` WRITE;
/*!40000 ALTER TABLE `t_evaluation_item_type` DISABLE KEYS */;
INSERT INTO `t_evaluation_item_type` VALUES ('001','业绩',NULL,1),('002','满意度',NULL,1),('003','服务流程',NULL,1),('004','基础工作',NULL,1),('005','工作态度',NULL,1),('006','关键事件',NULL,1),('007','岗位职责',NULL,1),('008','基础管理',NULL,1),('009','6S管理',NULL,1),('010','加分项',NULL,1),('011','CSI',NULL,1),('111e63aa-0eb2-479a-85db-4f7d893ce2b3','1234','测试\r\n\r\n测试\r\n\r\n\r\n',1);
/*!40000 ALTER TABLE `t_evaluation_item_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_evaluation_results`
--
DROP TABLE IF EXISTS `t_evaluation_results`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_evaluation_results` (
`ID` varchar(40) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`EMPLOYEE_ID` varchar(40) NOT NULL COMMENT '被考核人',
`EVALUATION_YEAR` int(11) NOT NULL,
`EVALUATION_MONTH` int(11) NOT NULL,
`EVALUATOR` varchar(40) NOT NULL,
`EVALUATION_FORM_ID` varchar(40) NOT NULL,
`EVALUATION_ITEM_ID` varchar(40) NOT NULL,
`EVALUATION_TIME` date NOT NULL,
`MARK` decimal(10,2) NOT NULL,
`VERSION_ID` varchar(40) NOT NULL,
UNIQUE KEY `INDEX_1` (`ID`),
KEY `INDEX_2` (`EMPLOYEE_ID`),
KEY `INDEX_3` (`EVALUATOR`),
KEY `INDEX_4` (`EVALUATION_FORM_ID`),
KEY `INDEX_5` (`EVALUATION_ITEM_ID`),
KEY `INDEX_6` (`VERSION_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_evaluation_results`
--
LOCK TABLES `t_evaluation_results` WRITE;
/*!40000 ALTER TABLE `t_evaluation_results` DISABLE KEYS */;
INSERT INTO `t_evaluation_results` VALUES ('2bcd76b3-96ce-4243-989e-8ff19d80cc73','','003',2016,3,'nobody','0001','0008','2016-04-20',10.00,'20160401'),('37ad565a-4dcc-4e27-bb78-06bc70686c72','','003',2016,3,'nobody','0001','0004','2016-04-20',5.00,'20160401'),('3ee6d1c6-9f09-49dc-b310-7a7419a5adf3','','003',2016,3,'nobody','0001','0012','2016-04-20',5.00,'20160401'),('4ea17de5-debf-47cd-b43d-b69cb9577957','','005',2016,3,'nobody','0001','0001','2016-04-20',1.00,'20160401'),('4fd30c81-d869-4b3e-9ac9-2fc6af1b08a0','','003',2016,3,'nobody','0001','0005','2016-04-20',10.00,'20160401'),('614923b2-2f45-4bbd-8e8c-521d2ced5596','','003',2016,3,'nobody','0001','0009','2016-04-20',5.00,'20160401'),('61e34baa-6f7e-4b29-ac16-2042406da569','','003',2016,3,'nobody','0001','0013','2016-04-20',5.00,'20160401'),('7b767203-7869-48ba-845a-18765137ff76','','003',2016,3,'nobody','0001','0002','2016-04-20',10.00,'20160401'),('8d1137ab-5876-4bb9-aa2f-a6568ec383b8','','003',2016,3,'nobody','0001','0011','2016-04-20',10.00,'20160401'),('8da07ae9-d4eb-4133-87ee-5a90ab6f0e2b','','003',2016,3,'nobody','0001','0014','2016-04-20',10.00,'20160401'),('ace15604-36b9-4b1f-ae6c-98d17bccf57d','','003',2016,3,'nobody','0001','0003','2016-04-20',5.00,'20160401'),('b8c1499b-b8e8-4009-a6bc-735a85277fa0','','003',2016,3,'nobody','0001','0010','2016-04-20',5.00,'20160401'),('d49af781-a3e0-4529-a5c7-457c69e3571f','','003',2016,3,'nobody','0001','0007','2016-04-20',4.00,'20160401'),('d9484d74-6698-4140-a87e-da6623c9b28e','','003',2016,3,'nobody','0001','0015','2016-04-20',10.00,'20160401'),('de3b003e-8656-4966-be1d-b40d618c56d9','','003',2016,3,'nobody','0001','0001','2016-04-20',10.00,'20160401'),('e524bdfe-9f84-4e0f-8ccf-9ac50e2c19db','','003',2016,3,'nobody','0001','0006','2016-04-20',6.00,'20160401');
/*!40000 ALTER TABLE `t_evaluation_results` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_evaluation_standard`
--
DROP TABLE IF EXISTS `t_evaluation_standard`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_evaluation_standard` (
`ID` varchar(40) NOT NULL,
`NAME` varchar(100) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`ENABLED` tinyint(1) NOT NULL DEFAULT '1',
`ITEM_ID` varchar(40) NOT NULL,
`SHOW_ORDER` int(11) NOT NULL DEFAULT '0',
`VERSION_ID` varchar(40) NOT NULL,
UNIQUE KEY `INDEX_1` (`ID`),
KEY `INDEX_2` (`ITEM_ID`),
KEY `INDEX_3` (`VERSION_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_evaluation_standard`
--
LOCK TABLES `t_evaluation_standard` WRITE;
/*!40000 ALTER TABLE `t_evaluation_standard` DISABLE KEYS */;
/*!40000 ALTER TABLE `t_evaluation_standard` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_parameter_type`
--
DROP TABLE IF EXISTS `t_parameter_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_parameter_type` (
`SYSTEM_TYPE` varchar(1000) NOT NULL,
`NAME` varchar(100) NOT NULL,
`SIZE` int(11) NOT NULL,
`FIXED` tinyint(1) NOT NULL,
PRIMARY KEY (`SYSTEM_TYPE`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_parameter_type`
--
LOCK TABLES `t_parameter_type` WRITE;
/*!40000 ALTER TABLE `t_parameter_type` DISABLE KEYS */;
INSERT INTO `t_parameter_type` VALUES ('System.Boolean','布尔',0,1),('System.Char','字符',0,1),('System.DateTime','日期时间',0,1),('System.Decimal','小数',0,1),('System.Int32','整数',0,1),('System.String','字符串',100,1);
/*!40000 ALTER TABLE `t_parameter_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_position`
--
DROP TABLE IF EXISTS `t_position`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_position` (
`ID` varchar(40) NOT NULL,
`LEADER_ID` varchar(40) DEFAULT NULL,
`NAME` varchar(100) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`ENABLED` tinyint(1) NOT NULL,
UNIQUE KEY `岗位表_PK` (`ID`),
KEY `上级岗位编号_FK` (`LEADER_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_position`
--
LOCK TABLES `t_position` WRITE;
/*!40000 ALTER TABLE `t_position` DISABLE KEYS */;
INSERT INTO `t_position` VALUES ('0000000000',NULL,'总经理','',1),('0100000000','0000000000','客服经理','',1),('0101000000','0100000000','顾客管理员','',1),('0102000000','0100000000','信息员','',1),('0200000000','0000000000','服务总监','',1),('0201000000','0200000000','保险部经理','',1),('0201010000','0201000000','事故专员','',1),('0201020000','0201000000','电话车险销售员','',1),('0202000000','0200000000','服务经理','',1),('0202010000','0202000000','非技术内训师','',1),('0202020000','0202000000','索赔员','',1),('0202030000','0202000000','前台主管','',1),('0202030100','0202030000','服务顾问','',1),('0202030200','0202030000','休息区服务专员','',1),('0202040000','0202000000','网络管理员','',1),('0203000000','0200000000','配件经理','',1),('0203010000','0203000000','库管员','',1),('0203020000','0203000000','配件计划员','',1),('0203030101','0202030100','实习服务顾问','',1),('0204000000','0200000000','技术经理','',1),('0204010000','0204000000','技术内训师','',1),('0204020000','0204000000','质检员','',1),('0204030000','0204000000','车间主管','',1),('0204030100','0204030000','机电组长','',1),('0204030101','0204030100','机电技师','',1),('0204030102','0204030100','机电学徒','',1),('0204030200','0204030000','钣金组长','',1),('0204030201','0204030200','钣金技师','',1),('0204030202','0204030200','钣金学徒','',1),('0204030300','0204030000','漆工组长','',1),('0204030301','0204030300','漆工技师','',1),('0204030302','0204030300','漆工学徒','',1),('0204040000','0204000000','PDI专员','',1),('0204050000','0204000000','救急专员','',1),('0204060000','0204000000','废料收集员','',1),('9999999999',NULL,'通用岗位','通用岗位',1);
/*!40000 ALTER TABLE `t_position` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_position_assignments`
--
DROP TABLE IF EXISTS `t_position_assignments`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_position_assignments` (
`ASSIGNMENT_ID` varchar(40) NOT NULL,
`POSITION_ID` varchar(40) NOT NULL,
`ENABLED` tinyint(1) NOT NULL,
`VERSION_ID` varchar(40) NOT NULL,
`WEIGHT` decimal(10,2) NOT NULL,
`VALUE` decimal(20,6) NOT NULL,
UNIQUE KEY `INDEX_1` (`ASSIGNMENT_ID`,`POSITION_ID`),
KEY `INDEX_2` (`VERSION_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_position_assignments`
--
LOCK TABLES `t_position_assignments` WRITE;
/*!40000 ALTER TABLE `t_position_assignments` DISABLE KEYS */;
INSERT INTO `t_position_assignments` VALUES ('01758245-4965-4a64-910b-7664651cbe8a','0000000000',1,'20140404',100.00,1000.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0000000000',1,'20140404',100.00,100.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0100000000',1,'20140404',100.00,50.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0101000000',1,'20140404',100.00,50.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0102000000',1,'20140404',100.00,50.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0200000000',1,'20140404',100.00,50.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0201000000',1,'20140404',100.00,25.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0201010000',1,'20140404',100.00,50.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0201020000',1,'20140404',100.00,50.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0202000000',1,'20140404',100.00,25.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0202010000',1,'20140404',100.00,25.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0202020000',1,'20140404',100.00,25.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0202030000',1,'20140404',100.00,25.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0202030100',1,'20140404',100.00,50.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0202030200',1,'20140404',100.00,50.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0202040000',1,'20140404',100.00,25.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0203000000',1,'20140404',100.00,25.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0203010000',1,'20140404',100.00,50.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0203020000',1,'20140404',100.00,50.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0203030101',1,'20140404',100.00,100.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0204000000',1,'20140404',100.00,25.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0204010000',1,'20140404',100.00,16.660000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0204020000',1,'20140404',100.00,16.660000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0204030000',1,'20140404',100.00,16.660000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0204030100',1,'20140404',100.00,33.330000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0204030101',1,'20140404',100.00,50.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0204030102',1,'20140404',100.00,50.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0204030200',1,'20140404',100.00,33.330000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0204030201',1,'20140404',100.00,50.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0204030202',1,'20140404',100.00,50.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0204030300',1,'20140404',100.00,33.340000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0204030301',1,'20140404',100.00,50.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0204030302',1,'20140404',100.00,50.000000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0204040000',1,'20140404',100.00,16.660000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0204050000',1,'20140404',100.00,16.660000),('a529ecb7-c772-44ad-84af-0d9f50c16a20','0204060000',1,'20140404',100.00,16.700000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0000000000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0100000000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0101000000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0102000000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0200000000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0201000000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0201010000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0201020000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0202000000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0202010000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0202020000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0202030000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0202030100',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0202030200',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0202040000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0203000000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0203010000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0203020000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0203030101',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0204000000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0204010000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0204020000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0204030000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0204030100',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0204030101',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0204030102',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0204030200',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0204030201',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0204030202',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0204030300',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0204030301',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0204030302',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0204040000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0204050000',0,'20140404',100.00,30.000000),('c4b73c07-4e95-4f99-86cc-fe4748497e9e','0204060000',0,'20140404',100.00,30.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0000000000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0100000000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0101000000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0102000000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0200000000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0201000000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0201010000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0201020000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0202000000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0202010000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0202020000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0202030000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0202030100',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0202030200',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0202040000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0203000000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0203010000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0203020000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0203030101',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0204000000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0204010000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0204020000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0204030000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0204030100',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0204030101',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0204030102',1,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0204030200',1,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0204030201',1,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0204030202',1,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0204030300',1,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0204030301',1,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0204030302',1,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0204040000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0204050000',0,'20140404',100.00,0.000000),('dc6f0e59-571f-48bf-b49b-a78c3dd9d1be','0204060000',0,'20140404',100.00,0.000000);
/*!40000 ALTER TABLE `t_position_assignments` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_position_evaluation_forms`
--
DROP TABLE IF EXISTS `t_position_evaluation_forms`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_position_evaluation_forms` (
`POSITION_ID` varchar(40) NOT NULL,
`EVALUATION_FORM_ID` varchar(40) NOT NULL,
`WEIGHT` decimal(10,2) NOT NULL,
`ENABLED` tinyint(1) NOT NULL,
`VERSION_ID` varchar(40) NOT NULL,
UNIQUE KEY `INDEX_1` (`POSITION_ID`,`EVALUATION_FORM_ID`),
KEY `INDEX_2` (`VERSION_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_position_evaluation_forms`
--
LOCK TABLES `t_position_evaluation_forms` WRITE;
/*!40000 ALTER TABLE `t_position_evaluation_forms` DISABLE KEYS */;
INSERT INTO `t_position_evaluation_forms` VALUES ('0204030100','0001',50.00,1,'20160401'),('0204030100','6dc3c933-1863-43b7-9d91-9b76ab8c69ec',50.00,1,'20160401');
/*!40000 ALTER TABLE `t_position_evaluation_forms` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_position_salary_items`
--
DROP TABLE IF EXISTS `t_position_salary_items`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_position_salary_items` (
`POSITION_ID` varchar(40) NOT NULL,
`SALARY_ITEM_ID` varchar(40) NOT NULL,
`VERSION_ID` varchar(40) NOT NULL,
`ENABLED` tinyint(1) NOT NULL,
UNIQUE KEY `INDEX_1` (`POSITION_ID`,`SALARY_ITEM_ID`),
KEY `INDEX_2` (`VERSION_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_position_salary_items`
--
LOCK TABLES `t_position_salary_items` WRITE;
/*!40000 ALTER TABLE `t_position_salary_items` DISABLE KEYS */;
INSERT INTO `t_position_salary_items` VALUES ('0000000000','f51b21fb-9fad-41d8-9b93-a46040ed4b25','20160401',1),('0204030100','b01668d5-ec6b-45ea-a9c2-d07ee4ea8c37','20160401',1),('0204030100','f51b21fb-9fad-41d8-9b93-a46040ed4b25','20160401',1);
/*!40000 ALTER TABLE `t_position_salary_items` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_repository_assignment`
--
DROP TABLE IF EXISTS `t_repository_assignment`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_repository_assignment` (
`ID` varchar(40) NOT NULL,
`NAME` varchar(100) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`ENABLED` tinyint(1) NOT NULL,
`CREATE_TIME` date NOT NULL,
`CREATOR` varchar(40) NOT NULL,
UNIQUE KEY `INDEX_1` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_repository_assignment`
--
LOCK TABLES `t_repository_assignment` WRITE;
/*!40000 ALTER TABLE `t_repository_assignment` DISABLE KEYS */;
INSERT INTO `t_repository_assignment` VALUES ('20140404','任务指标初始版本','任务指标初始版本',1,'2016-04-04','nobody');
/*!40000 ALTER TABLE `t_repository_assignment` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_repository_evaluation`
--
DROP TABLE IF EXISTS `t_repository_evaluation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_repository_evaluation` (
`ID` varchar(40) NOT NULL,
`NAME` varchar(100) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`ENABLED` tinyint(1) NOT NULL,
`CREATE_TIME` date NOT NULL,
`CREATOR` varchar(40) NOT NULL,
UNIQUE KEY `INDEX_1` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_repository_evaluation`
--
LOCK TABLES `t_repository_evaluation` WRITE;
/*!40000 ALTER TABLE `t_repository_evaluation` DISABLE KEYS */;
INSERT INTO `t_repository_evaluation` VALUES ('20160401','初始考核版本','',1,'2016-04-02','nobody');
/*!40000 ALTER TABLE `t_repository_evaluation` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_repository_salary_struct`
--
DROP TABLE IF EXISTS `t_repository_salary_struct`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_repository_salary_struct` (
`ID` varchar(40) NOT NULL,
`NAME` varchar(100) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`ENABLED` tinyint(1) NOT NULL,
`CREATE_TIME` date NOT NULL,
`CREATOR` varchar(40) NOT NULL,
UNIQUE KEY `INDEX_1` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_repository_salary_struct`
--
LOCK TABLES `t_repository_salary_struct` WRITE;
/*!40000 ALTER TABLE `t_repository_salary_struct` DISABLE KEYS */;
INSERT INTO `t_repository_salary_struct` VALUES ('20160401','初始薪资版本','',1,'2016-04-02','nobody');
/*!40000 ALTER TABLE `t_repository_salary_struct` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_salary_function`
--
DROP TABLE IF EXISTS `t_salary_function`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_salary_function` (
`ID` varchar(40) NOT NULL,
`NAME` varchar(100) NOT NULL,
`DISPLAY_FORMULA` varchar(2000) DEFAULT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`SQL_STMT` varchar(4000) NOT NULL,
`ENABLED` tinyint(1) NOT NULL,
`PREDEFINED` tinyint(1) NOT NULL,
UNIQUE KEY `INDEX_1` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_salary_function`
--
LOCK TABLES `t_salary_function` WRITE;
/*!40000 ALTER TABLE `t_salary_function` DISABLE KEYS */;
INSERT INTO `t_salary_function` VALUES ('001','工龄计算','年数([当前时间]-[员工表][入职时间])','计算员工工龄','SELECT (YEAR(curdate())-YEAR(ENTRY_TIME))-(RIGHT(curdate(),5)>RIGHT(ENTRY_TIME, 5)) from t_employee where ID=\'{员工编号}\'',1,1),('002','工龄工资','[员工][工龄]*[取值]','计算员工工龄工资总额','select {工龄}*VALUE from ',1,1);
/*!40000 ALTER TABLE `t_salary_function` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_salary_function_parameter`
--
DROP TABLE IF EXISTS `t_salary_function_parameter`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_salary_function_parameter` (
`ID` varchar(40) NOT NULL,
`NAME` varchar(100) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`TYPE` varchar(1000) NOT NULL,
`MIN_VALUE` varchar(100) DEFAULT NULL,
`MAX_VALUE` varchar(100) DEFAULT NULL,
`FUNC_ID` varchar(40) NOT NULL,
`LENGTH` int(11) NOT NULL,
UNIQUE KEY `INDEX_1` (`ID`),
KEY `INDEX_2` (`FUNC_ID`),
KEY `INDEX_3` (`TYPE`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_salary_function_parameter`
--
LOCK TABLES `t_salary_function_parameter` WRITE;
/*!40000 ALTER TABLE `t_salary_function_parameter` DISABLE KEYS */;
/*!40000 ALTER TABLE `t_salary_function_parameter` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_salary_item`
--
DROP TABLE IF EXISTS `t_salary_item`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_salary_item` (
`ID` varchar(40) NOT NULL,
`NAME` varchar(100) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`TYPE` varchar(40) NOT NULL,
`VALUE` decimal(10,2) DEFAULT NULL,
`ENABLED` tinyint(1) NOT NULL,
`VERSION_ID` varchar(40) NOT NULL,
`POSITION_ID` varchar(40) NOT NULL,
`FUNC_ID` varchar(40) DEFAULT NULL,
UNIQUE KEY `INDEX_1` (`ID`),
KEY `INDEX_2` (`TYPE`),
KEY `INDEX_3` (`VERSION_ID`),
KEY `INDEX_4` (`POSITION_ID`),
KEY `INDEX_6` (`FUNC_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_salary_item`
--
LOCK TABLES `t_salary_item` WRITE;
/*!40000 ALTER TABLE `t_salary_item` DISABLE KEYS */;
INSERT INTO `t_salary_item` VALUES ('1739afd3-0703-4efa-8eb8-73986042aefb','工时提成',NULL,'002',NULL,1,'20160401','9999999999',NULL),('3d0d1b65-6b0d-4331-98cb-e2338adaac42','工龄工资','每满一年工龄,增加50元','002',50.00,1,'20160401','9999999999','002'),('51bcd4dc-d2c6-4765-b897-32f55da7d8cf','考核工资',NULL,'002',NULL,1,'20160401','9999999999',NULL),('f4876dbc-b404-4f70-82ba-c898b2e35cfb','基本工资','基本工资','001',800.00,1,'20160401','9999999999',NULL),('fc0166dc-0ccb-438e-8e21-d4a7d69a7f60','产值提成',NULL,'002',NULL,1,'20160401','9999999999',NULL);
/*!40000 ALTER TABLE `t_salary_item` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_salary_item_type`
--
DROP TABLE IF EXISTS `t_salary_item_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_salary_item_type` (
`ID` varchar(40) NOT NULL,
`NAME` varchar(100) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`ENABLED` tinyint(1) NOT NULL,
UNIQUE KEY `INDEX_1` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_salary_item_type`
--
LOCK TABLES `t_salary_item_type` WRITE;
/*!40000 ALTER TABLE `t_salary_item_type` DISABLE KEYS */;
INSERT INTO `t_salary_item_type` VALUES ('001','固定值','每次取固数值',1),('002','公式','使用公式计算',1);
/*!40000 ALTER TABLE `t_salary_item_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_settings`
--
DROP TABLE IF EXISTS `t_settings`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_settings` (
`NAME` varchar(100) NOT NULL,
`VALUE` varchar(2000) NOT NULL,
`DESCRIPTION` varchar(2000) DEFAULT NULL,
`TYPE` int(11) NOT NULL,
UNIQUE KEY `INDEX_1` (`NAME`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_settings`
--
LOCK TABLES `t_settings` WRITE;
/*!40000 ALTER TABLE `t_settings` DISABLE KEYS */;
INSERT INTO `t_settings` VALUES ('assignment.schedule.01','10','1月任务默认占比',1),('assignment.schedule.02','10','2月任务默认占比',1),('assignment.schedule.03','10','3月任务默认占比',1),('assignment.schedule.04','5','4月任务默认占比',1),('assignment.schedule.05','5','5月任务默认占比',1),('assignment.schedule.06','5','6月任务默认占比',1),('assignment.schedule.07','5','7月任务默认占比',1),('assignment.schedule.08','10','8月任务默认占比',1),('assignment.schedule.09','10','9月任务默认占比',1),('assignment.schedule.10','10','10月任务默认占比',1),('assignment.schedule.11','10','11月任务默认占比',1),('assignment.schedule.12','10','12月任务默认占比',1),('default.creator','0000000000','默认创建人',1),('input.evaluation.detail','1','是否录入考核表明细结果',1),('repository.assignment','20140404','当前任务指标版本',0),('repository.evaluation','20160401','当前绩效考核版本',0),('repository.salary','20160401','当前薪资构成版本',0);
/*!40000 ALTER TABLE `t_settings` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_unit`
--
DROP TABLE IF EXISTS `t_unit`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_unit` (
`ID` varchar(40) NOT NULL,
`NAME` varchar(100) NOT NULL,
`ENABLED` tinyint(1) NOT NULL,
UNIQUE KEY `INDEX_1` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_unit`
--
LOCK TABLES `t_unit` WRITE;
/*!40000 ALTER TABLE `t_unit` DISABLE KEYS */;
INSERT INTO `t_unit` VALUES ('1','元',1),('2','万元',1),('3','次',1),('4','台次',1),('5','工时',1);
/*!40000 ALTER TABLE `t_unit` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Temporary view structure for view `v_assignment_detail`
--
DROP TABLE IF EXISTS `v_assignment_detail`;
/*!50001 DROP VIEW IF EXISTS `v_assignment_detail`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE VIEW `v_assignment_detail` AS SELECT
1 AS `ASSIGNMENT_ID`,
1 AS `POSITION_ID`,
1 AS `ENABLED`,
1 AS `VERSION_ID`,
1 AS `WEIGHT`,
1 AS `NAME`,
1 AS `DESCRIPTION`,
1 AS `TYPE`,
1 AS `DEFAULT_VALUE`,
1 AS `UNIT_ID`,
1 AS `FIT_POSITION_ID`*/;
SET character_set_client = @saved_cs_client;
--
-- Temporary view structure for view `v_auto_assignment_list`
--
DROP TABLE IF EXISTS `v_auto_assignment_list`;
/*!50001 DROP VIEW IF EXISTS `v_auto_assignment_list`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE VIEW `v_auto_assignment_list` AS SELECT
1 AS `ASSIGNMENT_ID`,
1 AS `NAME`,
1 AS `VERSION_ID`,
1 AS `UNIT_ID`,
1 AS `UNIT_NAME`*/;
SET character_set_client = @saved_cs_client;
--
-- Temporary view structure for view `v_employee_evaluation_total_mark`
--
DROP TABLE IF EXISTS `v_employee_evaluation_total_mark`;
/*!50001 DROP VIEW IF EXISTS `v_employee_evaluation_total_mark`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE VIEW `v_employee_evaluation_total_mark` AS SELECT
1 AS `EMPLOYEE_ID`,
1 AS `EVALUATION_YEAR`,
1 AS `EVALUATION_MONTH`,
1 AS `VERSION_ID`,
1 AS `TOTAL_MARK`*/;
SET character_set_client = @saved_cs_client;
--
-- Temporary view structure for view `v_employee_salary_detail`
--
DROP TABLE IF EXISTS `v_employee_salary_detail`;
/*!50001 DROP VIEW IF EXISTS `v_employee_salary_detail`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE VIEW `v_employee_salary_detail` AS SELECT
1 AS `ID`,
1 AS `NAME`,
1 AS `POSITION_ID`,
1 AS `SALARY_ITEM_ID`,
1 AS `VERSION_ID`,
1 AS `SALARY_ITEM_NAME`,
1 AS `SALARY_ITEM_TYPE`,
1 AS `SALARY_ITEM_DESC`,
1 AS `VALUE`,
1 AS `FUNC_ID`,
1 AS `SALARY_DETAIL_ID`,
1 AS `SALARY_YEAR`,
1 AS `SALARY_MONTH`,
1 AS `AMOUNT`,
1 AS `POSITION_NAME`,
1 AS `SALARY_ITEM_TYPE_NAME`*/;
SET character_set_client = @saved_cs_client;
--
-- Temporary view structure for view `v_employee_tree_assignment`
--
DROP TABLE IF EXISTS `v_employee_tree_assignment`;
/*!50001 DROP VIEW IF EXISTS `v_employee_tree_assignment`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE VIEW `v_employee_tree_assignment` AS SELECT
1 AS `EMPLOYEE_ID`,
1 AS `EMPLOYEE_LEADER`,
1 AS `EMPLOYEE_NAME`,
1 AS `POSITION_ID`,
1 AS `POSITION_NAME`,
1 AS `ASSIGNMENT_ID`,
1 AS `VERSION_ID`,
1 AS `POSITION_WEIGHT`,
1 AS `DEF_NAME`,
1 AS `UNIT_ID`,
1 AS `UNIT_NAME`,
1 AS `PERF_ID`,
1 AS `TARGET`,
1 AS `COMPLETED`,
1 AS `ASSIGNMENT_MONTH`,
1 AS `ASSIGNMENT_YEAR`*/;
SET character_set_client = @saved_cs_client;
--
-- Temporary view structure for view `v_evaluation_form_detail`
--
DROP TABLE IF EXISTS `v_evaluation_form_detail`;
/*!50001 DROP VIEW IF EXISTS `v_evaluation_form_detail`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE VIEW `v_evaluation_form_detail` AS SELECT
1 AS `FORM_ID`,
1 AS `ITEM_ID`,
1 AS `NAME`,
1 AS `DESCRIPTION`,
1 AS `TYPE`,
1 AS `FULL_MARK`,
1 AS `ENABLED`,
1 AS `VERSION_ID`,
1 AS `POSITION_ID`,
1 AS `USED`,
1 AS `SHOW_ORDER`*/;
SET character_set_client = @saved_cs_client;
--
-- Temporary view structure for view `v_evaluation_form_full_mark`
--
DROP TABLE IF EXISTS `v_evaluation_form_full_mark`;
/*!50001 DROP VIEW IF EXISTS `v_evaluation_form_full_mark`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE VIEW `v_evaluation_form_full_mark` AS SELECT
1 AS `NAME`,
1 AS `EVALUATION_FORM_ID`,
1 AS `FULL_MARK`,
1 AS `VERSION_ID`*/;
SET character_set_client = @saved_cs_client;
--
-- Temporary view structure for view `v_evaluation_result_detail`
--
DROP TABLE IF EXISTS `v_evaluation_result_detail`;
/*!50001 DROP VIEW IF EXISTS `v_evaluation_result_detail`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE VIEW `v_evaluation_result_detail` AS SELECT
1 AS `POSITION_ID`,
1 AS `FORM_ID`,
1 AS `WEIGHT`,