-
Notifications
You must be signed in to change notification settings - Fork 55
/
erp20160929.sql
1400 lines (1278 loc) · 121 KB
/
erp20160929.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
-- phpMyAdmin SQL Dump
-- version 4.1.12
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: 2016-09-29 08:46:51
-- 服务器版本: 5.6.16
-- PHP Version: 5.5.11
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!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 */;
--
-- Database: `erp`
--
-- --------------------------------------------------------
--
-- 表的结构 `ci_account`
--
CREATE TABLE IF NOT EXISTS `ci_account` (
`id` smallint(6) NOT NULL AUTO_INCREMENT COMMENT '导航栏目',
`name` varchar(20) COLLATE utf8_unicode_ci DEFAULT '' COMMENT '栏目名称',
`number` varchar(15) COLLATE utf8_unicode_ci DEFAULT '0',
`status` tinyint(1) DEFAULT '1' COMMENT '状态',
`amount` double DEFAULT '0',
`date` date DEFAULT NULL,
`type` tinyint(1) DEFAULT '1',
`isDelete` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `id` (`id`),
KEY `number` (`number`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
--
-- 转存表中的数据 `ci_account`
--
INSERT INTO `ci_account` (`id`, `name`, `number`, `status`, `amount`, `date`, `type`, `isDelete`) VALUES
(1, '结算帐户1', 'C01', 1, 1000000, '2016-08-31', 1, 0);
-- --------------------------------------------------------
--
-- 表的结构 `ci_account_info`
--
CREATE TABLE IF NOT EXISTS `ci_account_info` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`iid` int(11) DEFAULT '0' COMMENT '关联ID',
`buId` smallint(6) DEFAULT '0' COMMENT '客户ID',
`billNo` varchar(25) DEFAULT '' COMMENT '销售单号',
`billType` varchar(20) DEFAULT '',
`billDate` date DEFAULT NULL COMMENT '单据日期',
`accId` int(11) DEFAULT '0' COMMENT '结算账户ID',
`payment` double DEFAULT '0' COMMENT '收款金额 采购退回为正',
`wayId` int(11) DEFAULT '0' COMMENT '结算方式ID',
`settlement` varchar(50) DEFAULT '' COMMENT '结算号',
`remark` varchar(50) DEFAULT '' COMMENT '备注',
`transType` int(11) DEFAULT '0',
`transTypeName` varchar(50) DEFAULT '',
`isDelete` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `billdate` (`billDate`) USING BTREE,
KEY `iid` (`iid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
--
-- 转存表中的数据 `ci_account_info`
--
INSERT INTO `ci_account_info` (`id`, `iid`, `buId`, `billNo`, `billType`, `billDate`, `accId`, `payment`, `wayId`, `settlement`, `remark`, `transType`, `transTypeName`, `isDelete`) VALUES
(2, 1, 4, 'CG201608301048053', 'PUR', '2016-08-30', 1, -100000, 0, '', '', 150501, '普通采购', 0),
(3, 2, 4, 'FKD201608311201048', 'PAYMENT', '2016-08-31', 1, -500, 3, 'P0001', 'TEST', 153101, '付款', 0);
-- --------------------------------------------------------
--
-- 表的结构 `ci_address`
--
CREATE TABLE IF NOT EXISTS `ci_address` (
`id` smallint(6) NOT NULL AUTO_INCREMENT COMMENT '导航栏目',
`shortName` varchar(20) COLLATE utf8_unicode_ci DEFAULT '' COMMENT ' ',
`postalcode` varchar(50) COLLATE utf8_unicode_ci DEFAULT '',
`province` varchar(50) COLLATE utf8_unicode_ci DEFAULT '',
`city` varchar(50) COLLATE utf8_unicode_ci DEFAULT '',
`area` varchar(50) COLLATE utf8_unicode_ci DEFAULT '',
`address` varchar(50) COLLATE utf8_unicode_ci DEFAULT '',
`linkman` varchar(50) COLLATE utf8_unicode_ci DEFAULT '',
`phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT '',
`mobile` varchar(20) COLLATE utf8_unicode_ci DEFAULT '',
`isdefault` tinyint(1) DEFAULT '0',
`isDelete` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `id` (`id`),
KEY `pid` (`postalcode`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- 表的结构 `ci_admin`
--
CREATE TABLE IF NOT EXISTS `ci_admin` (
`uid` smallint(6) NOT NULL AUTO_INCREMENT,
`username` varchar(20) COLLATE utf8_unicode_ci DEFAULT '' COMMENT '用户名称',
`userpwd` varchar(32) COLLATE utf8_unicode_ci DEFAULT '' COMMENT '密码',
`status` tinyint(1) DEFAULT '1' COMMENT '是否锁定',
`name` varchar(25) COLLATE utf8_unicode_ci DEFAULT '',
`mobile` varchar(20) COLLATE utf8_unicode_ci DEFAULT '',
`lever` text COLLATE utf8_unicode_ci COMMENT '权限',
`roleid` tinyint(1) DEFAULT '1' COMMENT '角色ID',
`rightids` varchar(255) COLLATE utf8_unicode_ci DEFAULT '1,2,4,8',
`righttype1` text COLLATE utf8_unicode_ci,
`righttype2` text COLLATE utf8_unicode_ci,
`righttype3` text COLLATE utf8_unicode_ci,
`righttype4` text COLLATE utf8_unicode_ci,
`righttype8` text COLLATE utf8_unicode_ci,
PRIMARY KEY (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=3 ;
--
-- 转存表中的数据 `ci_admin`
--
INSERT INTO `ci_admin` (`uid`, `username`, `userpwd`, `status`, `name`, `mobile`, `lever`, `roleid`, `rightids`, `righttype1`, `righttype2`, `righttype3`, `righttype4`, `righttype8`) VALUES
(1, 'admin', '20a9e23a326bf90c53d49445eaf0f3fe', 1, '管理员', '15274888145', NULL, 0, '', NULL, NULL, NULL, NULL, NULL),
(2, 'testuser', 'e4b4efd20ada72c6f7708b0c1cc78469', 1, '张三', '13188888888', '1,2,3,4,5,85,86,87,188,189,190,191,192,193', 1, '1,2,4,8', '1', '2', NULL, 'a:1:{i:0;a:2:{s:7:"FITEMID";i:2;s:6:"FRIGHT";i:1;}}', '2');
-- --------------------------------------------------------
--
-- 表的结构 `ci_assistingprop`
--
CREATE TABLE IF NOT EXISTS `ci_assistingprop` (
`id` smallint(6) NOT NULL AUTO_INCREMENT COMMENT '导航栏目',
`name` varchar(20) COLLATE utf8_unicode_ci DEFAULT '' COMMENT '栏目名称',
`disable` tinyint(1) DEFAULT '0' COMMENT '状态',
`isDelete` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- 表的结构 `ci_assistsku`
--
CREATE TABLE IF NOT EXISTS `ci_assistsku` (
`skuId` int(11) NOT NULL AUTO_INCREMENT,
`skuClassId` int(11) DEFAULT '0',
`skuAssistId` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`skuName` varchar(100) COLLATE utf8_unicode_ci DEFAULT '',
`isDelete` tinyint(1) DEFAULT '0',
PRIMARY KEY (`skuId`),
KEY `id` (`skuClassId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- 表的结构 `ci_category`
--
CREATE TABLE IF NOT EXISTS `ci_category` (
`id` smallint(6) NOT NULL AUTO_INCREMENT COMMENT '导航栏目',
`name` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '' COMMENT '栏目名称',
`parentId` smallint(6) DEFAULT '0' COMMENT '上级栏目ID',
`path` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '' COMMENT '栏目路径',
`level` tinyint(2) DEFAULT '1' COMMENT '层次',
`ordnum` int(11) DEFAULT '0' COMMENT '排序',
`status` tinyint(1) DEFAULT '1' COMMENT '状态',
`typeNumber` varchar(25) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '' COMMENT '区别',
`remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '',
`detail` tinyint(4) DEFAULT '1',
`sortIndex` smallint(6) DEFAULT '0',
`isDelete` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `id` (`id`),
KEY `parentId` (`parentId`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=11 ;
--
-- 转存表中的数据 `ci_category`
--
INSERT INTO `ci_category` (`id`, `name`, `parentId`, `path`, `level`, `ordnum`, `status`, `typeNumber`, `remark`, `detail`, `sortIndex`, `isDelete`) VALUES
(1, '国产车', 0, '1', 1, 0, 1, 'trade', '', 1, 0, 0),
(2, '001', 0, '', 1, 0, 1, 'PayMethod', '', 1, 0, 1),
(3, '001', 0, '', 1, 0, 1, 'PayMethod', '', 1, 0, 0),
(4, '002', 0, '', 1, 0, 1, 'PayMethod', '', 1, 0, 0),
(5, '普通客户', 0, '', 1, 0, 1, 'customertype', '', 1, 0, 0),
(6, 'A类供应商', 0, '', 1, 0, 1, 'supplytype', '', 1, 0, 0),
(7, '比亚迪', 1, '1,7', 2, 0, 1, 'trade', '', 1, 0, 0),
(8, '普通支出', 0, '', 1, 0, 1, 'paccttype', '', 1, 0, 0),
(9, '普通收入', 0, '', 1, 0, 1, 'raccttype', '', 1, 0, 0),
(10, 'VIP客户', 0, '', 1, 0, 1, 'customertype', '', 1, 0, 0);
-- --------------------------------------------------------
--
-- 表的结构 `ci_contact`
--
CREATE TABLE IF NOT EXISTS `ci_contact` (
`id` smallint(6) NOT NULL AUTO_INCREMENT,
`name` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '0' COMMENT '客户名称',
`number` varchar(50) DEFAULT '0' COMMENT '客户编号',
`cCategory` smallint(6) DEFAULT '0' COMMENT '客户类别',
`cCategoryName` varchar(50) DEFAULT '' COMMENT '分类名称',
`taxRate` double DEFAULT '0' COMMENT '税率',
`amount` double DEFAULT '0' COMMENT '期初应付款',
`periodMoney` double DEFAULT '0' COMMENT '期初预付款',
`difMoney` double DEFAULT '0' COMMENT '初期往来余额',
`beginDate` date DEFAULT NULL COMMENT '余额日期',
`remark` varchar(100) DEFAULT '' COMMENT '备注',
`linkMans` text COMMENT '客户联系方式',
`type` tinyint(1) DEFAULT '-10' COMMENT '-10客户 10供应商',
`contact` varchar(255) DEFAULT '',
`cLevel` smallint(5) DEFAULT '1' COMMENT '客户等级ID',
`cLevelName` varchar(50) DEFAULT '' COMMENT '客户等级',
`pinYin` varchar(50) DEFAULT '',
`disable` tinyint(1) DEFAULT '0' COMMENT '0启用 1禁用',
`isDelete` tinyint(1) DEFAULT '0' COMMENT '0正常 1删除',
PRIMARY KEY (`id`),
KEY `number` (`number`),
KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
--
-- 转存表中的数据 `ci_contact`
--
INSERT INTO `ci_contact` (`id`, `name`, `number`, `cCategory`, `cCategoryName`, `taxRate`, `amount`, `periodMoney`, `difMoney`, `beginDate`, `remark`, `linkMans`, `type`, `contact`, `cLevel`, `cLevelName`, `pinYin`, `disable`, `isDelete`) VALUES
(4, '供应商A', '1', 6, 'A类供应商', 0, 0, 0, 0, '2016-08-01', '', '[]', 10, '', 1, '', '', 0, 0);
-- --------------------------------------------------------
--
-- 表的结构 `ci_goods`
--
CREATE TABLE IF NOT EXISTS `ci_goods` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) DEFAULT '',
`number` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '' COMMENT '商品编号',
`quantity` double DEFAULT '0' COMMENT '起初数量',
`spec` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '' COMMENT '规格',
`baseUnitId` smallint(6) DEFAULT '0' COMMENT '单位ID',
`unitName` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '' COMMENT '单位名称',
`categoryId` smallint(6) DEFAULT '0' COMMENT '商品分类ID',
`categoryName` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '' COMMENT '分类名称',
`purPrice` double DEFAULT '0' COMMENT '预计采购价',
`salePrice` double DEFAULT '0' COMMENT '预计销售价',
`unitCost` double DEFAULT '0' COMMENT '单位成本',
`amount` double DEFAULT '0' COMMENT '期初总价',
`remark` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '',
`status` tinyint(1) DEFAULT '1' COMMENT '状态',
`goods` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '',
`propertys` text CHARACTER SET utf8 COLLATE utf8_unicode_ci COMMENT '初期设置',
`vipPrice` double DEFAULT '0' COMMENT '会员价',
`lowQty` double DEFAULT '0',
`length` varchar(25) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '',
`height` varchar(25) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '',
`highQty` double DEFAULT '0',
`isSerNum` double DEFAULT '0',
`barCode` varchar(60) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '',
`discountRate1` double DEFAULT '0' COMMENT '0',
`discountRate2` double DEFAULT '0',
`locationId` int(11) DEFAULT '0',
`locationName` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '',
`wholesalePrice` double DEFAULT '0',
`width` varchar(15) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '',
`skuAssistId` text CHARACTER SET utf8 COLLATE utf8_unicode_ci COMMENT '辅助属性分类',
`pinYin` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '',
`unitId` smallint(6) DEFAULT '0',
`files` text CHARACTER SET utf8 COLLATE utf8_unicode_ci COMMENT '图片路径',
`disable` tinyint(1) DEFAULT '0' COMMENT '0启用 1禁用',
`unitTypeId` int(11) DEFAULT '0',
`assistIds` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '',
`assistName` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '',
`assistUnit` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '',
`jianxing` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '',
`josl` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '',
`skuClassId` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '',
`property` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '',
`safeDays` double DEFAULT '0',
`advanceDay` double DEFAULT '0',
`isWarranty` double DEFAULT '0',
`delete` int(11) DEFAULT '0',
`weight` double DEFAULT '0',
`isDelete` tinyint(1) DEFAULT '0' COMMENT '0正常 1删除',
`warehouseWarning` text,
PRIMARY KEY (`id`),
KEY `number` (`number`),
KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;
--
-- 转存表中的数据 `ci_goods`
--
INSERT INTO `ci_goods` (`id`, `name`, `number`, `quantity`, `spec`, `baseUnitId`, `unitName`, `categoryId`, `categoryName`, `purPrice`, `salePrice`, `unitCost`, `amount`, `remark`, `status`, `goods`, `propertys`, `vipPrice`, `lowQty`, `length`, `height`, `highQty`, `isSerNum`, `barCode`, `discountRate1`, `discountRate2`, `locationId`, `locationName`, `wholesalePrice`, `width`, `skuAssistId`, `pinYin`, `unitId`, `files`, `disable`, `unitTypeId`, `assistIds`, `assistName`, `assistUnit`, `jianxing`, `josl`, `skuClassId`, `property`, `safeDays`, `advanceDay`, `isWarranty`, `delete`, `weight`, `isDelete`, `warehouseWarning`) VALUES
(1, 'F3', 'A-001', 0, '豪华版', 6, '台', 1, '国产车', 20000, 30000, 0, 0, '备注信息', 1, '', NULL, 280000, 0, '', '', 50, 0, '123123', 1, 1, 1, '1#仓库', 20000, '', NULL, 'F3', 0, NULL, 0, 0, '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, NULL),
(2, '25112', '32321', 0, '', 3, '123', 7, '比亚迪', 0, 0, 0, 0, '', 1, '', NULL, 0, 0, '', '', 0, 0, '', 0, 0, 0, '', 0, '', NULL, '25112', 0, NULL, 0, 0, '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 1, NULL),
(3, '123', '1231213', 0, '', 3, '123', 7, '比亚迪', 0, 0, 0, 0, '', 1, '', NULL, 0, 0, '', '', 0, 0, '123', 0, 0, 0, '', 0, '', NULL, '123', 0, NULL, 0, 0, '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 1, NULL),
(4, '123', '1233213', 0, '22', 4, '分', 7, '比亚迪', 33, 1, 0, 0, '123', 1, '', NULL, 1, 33, '', '', 112123, 0, '12312312', 1, 1, 1, '11', 1, '', NULL, '123', 0, NULL, 0, 0, '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 1, NULL),
(5, '123', '2132', 0, '132', 2, '1312dd', 7, '比亚迪', 123, 123, 0, 0, '123', 1, '', NULL, 123, 123, '', '', 11213, 0, '123231', 123, 123, 1, '11', 123, '', NULL, '123', 0, NULL, 0, 0, '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 1, NULL);
-- --------------------------------------------------------
--
-- 表的结构 `ci_goods_img`
--
CREATE TABLE IF NOT EXISTS `ci_goods_img` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT '' COMMENT '名称',
`invId` int(11) DEFAULT '0',
`type` varchar(100) DEFAULT '',
`url` varchar(255) DEFAULT '',
`thumbnailUrl` varchar(255) DEFAULT '',
`size` int(11) DEFAULT '0',
`deleteUrl` varchar(255) DEFAULT '',
`deleteType` varchar(50) DEFAULT '',
`isDelete` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `invId` (`invId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
--
-- 转存表中的数据 `ci_goods_img`
--
INSERT INTO `ci_goods_img` (`id`, `name`, `invId`, `type`, `url`, `thumbnailUrl`, `size`, `deleteUrl`, `deleteType`, `isDelete`) VALUES
(1, '201609091658186176.jpg', 1, 'image/jpeg', 'http://127.0.0.1/erp/data/upfile/goods/201609091658186176.jpg', 'http://127.0.0.1/erp/data/upfile/goods/thumbnail/201609091658186176.jpg', 618382, '', '', 0);
-- --------------------------------------------------------
--
-- 表的结构 `ci_invoice`
--
CREATE TABLE IF NOT EXISTS `ci_invoice` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`buId` smallint(6) DEFAULT '0' COMMENT '供应商ID',
`billNo` varchar(25) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '' COMMENT '单据编号',
`uid` smallint(6) DEFAULT '0',
`userName` varchar(50) DEFAULT '' COMMENT '制单人',
`transType` int(11) DEFAULT '0' COMMENT '150501购货 150502退货 150601销售 150602退销 150706其他入库',
`totalAmount` double DEFAULT '0' COMMENT '购货总金额',
`amount` double DEFAULT '0' COMMENT '折扣后金额',
`rpAmount` double DEFAULT '0' COMMENT '本次付款',
`billDate` date DEFAULT NULL COMMENT '单据日期',
`description` varchar(100) DEFAULT '' COMMENT '备注',
`arrears` double DEFAULT '0' COMMENT '本次欠款',
`disRate` double DEFAULT '0' COMMENT '折扣率',
`disAmount` double DEFAULT '0' COMMENT '折扣金额',
`totalQty` double DEFAULT '0' COMMENT '总数量',
`totalArrears` double DEFAULT '0',
`billStatus` tinyint(1) DEFAULT '0' COMMENT '订单状态 ',
`checkName` varchar(50) DEFAULT '' COMMENT '采购单审核人',
`totalTax` double DEFAULT '0',
`totalTaxAmount` double DEFAULT '0',
`checked` tinyint(1) DEFAULT '0' COMMENT '采购单状态',
`accId` tinyint(4) DEFAULT '0' COMMENT '结算账户ID',
`billType` varchar(20) DEFAULT '' COMMENT 'PO采购订单 OI其他入库 PUR采购入库 BAL初期余额',
`modifyTime` datetime DEFAULT NULL COMMENT '更新时间',
`hxStateCode` tinyint(4) DEFAULT '0' COMMENT '0未付款 1部分付款 2全部付款',
`transTypeName` varchar(20) DEFAULT '',
`totalDiscount` double DEFAULT '0',
`salesId` smallint(6) DEFAULT '0' COMMENT '销售人员ID',
`customerFree` double DEFAULT '0' COMMENT '客户承担费用',
`hxAmount` double DEFAULT '0' COMMENT '本次核销金额',
`hasCheck` double DEFAULT '0' COMMENT '已核销',
`notCheck` double DEFAULT '0' COMMENT '未核销',
`nowCheck` double DEFAULT '0' COMMENT '本次核销',
`payment` double DEFAULT '0' COMMENT '本次预收款',
`discount` double DEFAULT '0' COMMENT '整单折扣',
`isDelete` tinyint(1) DEFAULT '0' COMMENT '1删除 0正常',
`srcOrderId` int(11) DEFAULT '0',
`srcOrderNo` varchar(30) DEFAULT '',
PRIMARY KEY (`id`),
KEY `accId` (`accId`),
KEY `buId` (`buId`),
KEY `salesId` (`salesId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
--
-- 转存表中的数据 `ci_invoice`
--
INSERT INTO `ci_invoice` (`id`, `buId`, `billNo`, `uid`, `userName`, `transType`, `totalAmount`, `amount`, `rpAmount`, `billDate`, `description`, `arrears`, `disRate`, `disAmount`, `totalQty`, `totalArrears`, `billStatus`, `checkName`, `totalTax`, `totalTaxAmount`, `checked`, `accId`, `billType`, `modifyTime`, `hxStateCode`, `transTypeName`, `totalDiscount`, `salesId`, `customerFree`, `hxAmount`, `hasCheck`, `notCheck`, `nowCheck`, `payment`, `discount`, `isDelete`, `srcOrderId`, `srcOrderNo`) VALUES
(1, 4, 'CG201608301048053', 1, '管理员', 150501, 100000, 100000, 100000, '2016-08-30', '', 0, 0, 0, 5, 0, 0, '', 0, 0, 0, 1, 'PUR', '2016-08-31 12:02:40', 2, '购货', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
(2, 4, 'FKD201608311201048', 1, '管理员', 153101, 0, 0, 500, '2016-08-31', '', -500, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 'PAYMENT', '2016-08-31 12:03:57', 0, '付款', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
(3, 4, 'CG201608311208338', 1, '管理员', 150502, -40000, -40000, 0, '2016-08-31', '测试退货', -40000, 0, 0, 2, 0, 0, '', 0, 0, 0, 0, 'PUR', '2016-08-31 12:08:33', 0, '退货', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '');
-- --------------------------------------------------------
--
-- 表的结构 `ci_invoice_info`
--
CREATE TABLE IF NOT EXISTS `ci_invoice_info` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`iid` int(11) DEFAULT '0' COMMENT '关联ID',
`buId` smallint(6) DEFAULT '0' COMMENT '供应商ID',
`billNo` varchar(25) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '' COMMENT '单据编号',
`transType` int(11) DEFAULT '0' COMMENT '150501采购 150502退货',
`amount` double DEFAULT '0' COMMENT '购货金额',
`billDate` date DEFAULT NULL COMMENT '单据日期',
`description` varchar(50) DEFAULT '' COMMENT '备注',
`invId` int(11) DEFAULT '0' COMMENT '商品ID',
`price` double DEFAULT '0' COMMENT '单价',
`deduction` double DEFAULT '0' COMMENT '折扣额',
`discountRate` double DEFAULT '0' COMMENT '折扣率',
`qty` double DEFAULT '0' COMMENT '数量',
`locationId` smallint(6) DEFAULT '0',
`tax` double DEFAULT '0',
`taxRate` double DEFAULT '0',
`taxAmount` double DEFAULT '0',
`unitId` smallint(6) DEFAULT '0',
`skuId` int(11) DEFAULT '0',
`entryId` tinyint(1) DEFAULT '1' COMMENT '区分调拨单 进和出',
`transTypeName` varchar(25) DEFAULT '',
`srcOrderEntryId` int(11) DEFAULT '0',
`srcOrderId` int(11) DEFAULT '0',
`srcOrderNo` varchar(25) DEFAULT '',
`billType` varchar(20) DEFAULT '',
`checked` tinyint(1) DEFAULT '0' COMMENT '0 1',
`checkName` varchar(30) DEFAULT '',
`salesId` smallint(6) DEFAULT '0',
`isDelete` tinyint(1) DEFAULT '0' COMMENT '1删除 0正常',
PRIMARY KEY (`id`),
KEY `type` (`transType`),
KEY `billdate` (`billDate`),
KEY `invId` (`invId`) USING BTREE,
KEY `transType` (`transType`),
KEY `iid` (`iid`),
KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
--
-- 转存表中的数据 `ci_invoice_info`
--
INSERT INTO `ci_invoice_info` (`id`, `iid`, `buId`, `billNo`, `transType`, `amount`, `billDate`, `description`, `invId`, `price`, `deduction`, `discountRate`, `qty`, `locationId`, `tax`, `taxRate`, `taxAmount`, `unitId`, `skuId`, `entryId`, `transTypeName`, `srcOrderEntryId`, `srcOrderId`, `srcOrderNo`, `billType`, `checked`, `checkName`, `salesId`, `isDelete`) VALUES
(2, 1, 4, 'CG201608301048053', 150501, 100000, '2016-08-30', '测试', 1, 20000, 0, 0, 5, 1, 0, 0, 0, -1, -1, 1, '购货', 0, 0, '', 'PUR', 0, '', 0, 0),
(3, 3, 4, 'CG201608311208338', 150502, -40000, '2016-08-31', '', 1, 20000, 0, 0, -2, 1, 0, 0, 0, 0, -1, 1, '退货', 0, 0, '', 'PUR', 0, '', 0, 0);
-- --------------------------------------------------------
--
-- 表的结构 `ci_invoice_type`
--
CREATE TABLE IF NOT EXISTS `ci_invoice_type` (
`id` smallint(6) NOT NULL AUTO_INCREMENT,
`name` varchar(50) DEFAULT '' COMMENT '名称',
`inout` tinyint(1) DEFAULT '1' COMMENT '1 入库 -1出库',
`status` tinyint(1) DEFAULT '1',
`type` varchar(10) DEFAULT '',
`default` tinyint(1) DEFAULT '0',
`number` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
--
-- 转存表中的数据 `ci_invoice_type`
--
INSERT INTO `ci_invoice_type` (`id`, `name`, `inout`, `status`, `type`, `default`, `number`) VALUES
(1, '其他入库', 1, 1, 'in', 1, 150706),
(2, '盘盈', 1, 1, 'in', 0, 150701),
(3, '其他出库', -1, 1, 'out', 1, 150806),
(4, '盘亏', -1, 1, 'out', 0, 150801);
-- --------------------------------------------------------
--
-- 表的结构 `ci_invps`
--
CREATE TABLE IF NOT EXISTS `ci_invps` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`buId` smallint(6) DEFAULT '0' COMMENT '供应商ID',
`billNo` varchar(25) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '' COMMENT '单据编号',
`uid` smallint(6) DEFAULT '0',
`userName` varchar(50) DEFAULT '' COMMENT '制单人',
`transType` int(11) DEFAULT '0' COMMENT '150501购货 150502退货 150601销售 150602退销 150706其他入库',
`totalAmount` double DEFAULT '0' COMMENT '购货总金额',
`amount` double DEFAULT '0' COMMENT '折扣后金额',
`rpAmount` double DEFAULT '0' COMMENT '本次付款',
`billDate` date DEFAULT NULL COMMENT '单据日期',
`description` varchar(100) DEFAULT '' COMMENT '备注',
`arrears` double DEFAULT '0' COMMENT '本次欠款',
`disRate` double DEFAULT '0' COMMENT '折扣率',
`disAmount` double DEFAULT '0' COMMENT '折扣金额',
`totalQty` double DEFAULT '0' COMMENT '总数量',
`totalArrears` double DEFAULT '0',
`billStatus` tinyint(1) DEFAULT '0' COMMENT '订单状态 0未入库 1 2全部入库',
`checkName` varchar(50) DEFAULT '' COMMENT '采购单审核人',
`totalTax` double DEFAULT '0',
`totalTaxAmount` double DEFAULT '0',
`checked` tinyint(1) DEFAULT '0' COMMENT '采购单状态',
`accId` tinyint(4) DEFAULT '0' COMMENT '结算账户ID',
`billType` varchar(20) DEFAULT '' COMMENT 'PO采购订单 OI其他入库 PUR采购入库 BAL初期余额',
`modifyTime` datetime DEFAULT NULL COMMENT '更新时间',
`hxStateCode` tinyint(4) DEFAULT '0' COMMENT '0未付款 1部分付款 2全部付款',
`transTypeName` varchar(20) DEFAULT '',
`totalDiscount` double DEFAULT '0',
`salesId` smallint(6) DEFAULT '0' COMMENT '销售人员ID',
`customerFree` double DEFAULT '0' COMMENT '客户承担费用',
`hxAmount` double DEFAULT '0' COMMENT '本次核销金额',
`hasCheck` double DEFAULT '0' COMMENT '已核销',
`notCheck` double DEFAULT '0' COMMENT '未核销',
`nowCheck` double DEFAULT '0' COMMENT '本次核销',
`payment` double DEFAULT '0' COMMENT '本次预收款',
`discount` double DEFAULT '0' COMMENT '整单折扣',
`isDelete` tinyint(1) DEFAULT '0' COMMENT '1删除 0正常',
`deliveryDate` date DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `accId` (`accId`),
KEY `buId` (`buId`),
KEY `salesId` (`salesId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- 表的结构 `ci_invps_info`
--
CREATE TABLE IF NOT EXISTS `ci_invps_info` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`iid` int(11) DEFAULT '0' COMMENT '关联ID',
`buId` smallint(6) DEFAULT '0' COMMENT '供应商ID',
`billNo` varchar(25) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '' COMMENT '单据编号',
`transType` int(11) DEFAULT '0' COMMENT '150501采购 150502退货',
`amount` double DEFAULT '0' COMMENT '购货金额',
`billDate` date DEFAULT NULL COMMENT '单据日期',
`description` varchar(50) DEFAULT '' COMMENT '备注',
`invId` int(11) DEFAULT '0' COMMENT '商品ID',
`price` double DEFAULT '0' COMMENT '单价',
`deduction` double DEFAULT '0' COMMENT '折扣额',
`discountRate` double DEFAULT '0' COMMENT '折扣率',
`qty` double DEFAULT '0' COMMENT '数量',
`locationId` smallint(6) DEFAULT '0',
`tax` double DEFAULT '0',
`taxRate` double DEFAULT '0',
`taxAmount` double DEFAULT '0',
`unitId` smallint(6) DEFAULT '0',
`skuId` int(11) DEFAULT '0',
`entryId` tinyint(1) DEFAULT '1' COMMENT '区分调拨单 进和出',
`transTypeName` varchar(25) DEFAULT '',
`srcOrderEntryId` int(11) DEFAULT '0',
`srcOrderId` int(11) DEFAULT '0',
`srcOrderNo` varchar(25) DEFAULT '',
`billType` varchar(20) DEFAULT '',
`checked` tinyint(1) DEFAULT '0' COMMENT '0 1',
`checkName` varchar(30) DEFAULT '',
`salesId` smallint(6) DEFAULT '0',
`isDelete` tinyint(1) DEFAULT '0' COMMENT '1删除 0正常',
PRIMARY KEY (`id`),
KEY `type` (`transType`),
KEY `billdate` (`billDate`),
KEY `invId` (`invId`) USING BTREE,
KEY `transType` (`transType`),
KEY `iid` (`iid`),
KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- 表的结构 `ci_log`
--
CREATE TABLE IF NOT EXISTS `ci_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`userId` smallint(6) DEFAULT '0' COMMENT '用户ID',
`ip` varchar(25) DEFAULT '',
`name` varchar(25) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '' COMMENT '姓名',
`log` text COMMENT '日志内容',
`type` tinyint(1) DEFAULT '1' COMMENT ' ',
`loginName` varchar(50) DEFAULT '' COMMENT '用户名',
`modifyTime` datetime DEFAULT NULL COMMENT '写入日期',
`operateTypeName` varchar(50) DEFAULT '',
`adddate` date DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `userId` (`userId`),
KEY `adddate` (`adddate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=211 ;
--
-- 转存表中的数据 `ci_log`
--
INSERT INTO `ci_log` (`id`, `userId`, `ip`, `name`, `log`, `type`, `loginName`, `modifyTime`, `operateTypeName`, `adddate`) VALUES
(1, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-09-15 09:31:48', '', '2015-09-15'),
(2, 1, '127.0.0.1', '小阳', '备份与恢复,备份文件名:201509150931597.sql', 1, 'admin', '2015-09-15 09:31:59', '', '2015-09-15'),
(3, 1, '127.0.0.1', '小阳', '备份与恢复,删除文件名:201508191603041.sql', 1, 'admin', '2015-09-15 09:32:03', '', '2015-09-15'),
(4, 1, '127.0.0.1', '小阳', '备份与恢复,删除文件名:201508190955474.sql', 1, 'admin', '2015-09-15 09:32:04', '', '2015-09-15'),
(5, 1, '127.0.0.1', '小阳', '备份与恢复,删除文件名:201509150931597.sql', 1, 'admin', '2015-09-15 09:32:06', '', '2015-09-15'),
(6, 1, '127.0.0.1', '小阳', '备份与恢复,备份文件名:201509150932070.sql', 1, 'admin', '2015-09-15 09:32:07', '', '2015-09-15'),
(7, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-09-17 10:06:21', '', '2015-09-17'),
(8, 1, '127.0.0.1', '小阳', '新增商品类别:1111', 1, 'admin', '2015-09-17 10:30:51', '', '2015-09-17'),
(9, 1, '127.0.0.1', '小阳', '新增仓库:11', 1, 'admin', '2015-09-17 10:31:09', '', '2015-09-17'),
(10, 1, '127.0.0.1', '小阳', '新增单位:分', 1, 'admin', '2015-09-17 10:31:14', '', '2015-09-17'),
(11, 1, '127.0.0.1', '小阳', '新增单位:1312', 1, 'admin', '2015-09-17 10:38:49', '', '2015-09-17'),
(12, 1, '127.0.0.1', '小阳', '新增单位:123', 1, 'admin', '2015-09-17 10:39:55', '', '2015-09-17'),
(13, 1, '127.0.0.1', '小阳', '新增商品:小不点', 1, 'admin', '2015-09-17 10:45:32', '', '2015-09-17'),
(14, 1, '127.0.0.1', '小阳', '修改商品:ID=1名称:小不点', 1, 'admin', '2015-09-17 10:54:11', '', '2015-09-17'),
(15, 1, '127.0.0.1', '小阳', '修改商品:ID=1名称:小不点', 1, 'admin', '2015-09-17 11:01:29', '', '2015-09-17'),
(16, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-09-24 14:16:15', '', '2015-09-24'),
(17, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-09-28 09:27:57', '', '2015-09-28'),
(18, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-09-29 10:25:30', '', '2015-09-29'),
(19, 1, '127.0.0.1', '小阳', '新增购货 单据编号:CG201509291033157', 1, 'admin', '2015-09-29 10:33:15', '', '2015-09-29'),
(20, 1, '127.0.0.1', '小阳', '修改购货单 单据编号:CG201509291033157', 1, 'admin', '2015-09-29 10:37:24', '', '2015-09-29'),
(21, 1, '127.0.0.1', '小阳', '修改购货单 单据编号:CG201509291033157', 1, 'admin', '2015-09-29 10:37:38', '', '2015-09-29'),
(22, 1, '127.0.0.1', '小阳', '新增销货 单据编号:XS201509291048510', 1, 'admin', '2015-09-29 10:48:51', '', '2015-09-29'),
(23, 1, '127.0.0.1', '小阳', '修改销货 单据编号:XS201509291048510', 1, 'admin', '2015-09-29 10:49:02', '', '2015-09-29'),
(24, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-10-08 13:15:54', '', '2015-10-08'),
(25, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-10-08 16:43:39', '', '2015-10-08'),
(26, 1, '127.0.0.1', '小阳', '删除单位:ID=1 名称:分', 1, 'admin', '2015-10-08 16:44:21', '', '2015-10-08'),
(27, 1, '127.0.0.1', '小阳', '新增单位:分', 1, 'admin', '2015-10-08 16:44:25', '', '2015-10-08'),
(28, 1, '127.0.0.1', '小阳', '新增员工:编号001 名称111', 1, 'admin', '2015-10-08 16:44:34', '', '2015-10-08'),
(29, 1, '127.0.0.1', '小阳', '删除员工:ID=1 名称:111', 1, 'admin', '2015-10-08 16:44:40', '', '2015-10-08'),
(30, 1, '127.0.0.1', '小阳', '新增员工:编号001 名称111', 1, 'admin', '2015-10-08 16:44:45', '', '2015-10-08'),
(31, 1, '127.0.0.1', '小阳', '新增结算方式:001', 1, 'admin', '2015-10-08 16:44:59', '', '2015-10-08'),
(32, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-10-08 17:55:05', '', '2015-10-08'),
(33, 1, '127.0.0.1', '小阳', '采购明细表导出:pu_detail_20151008175652.xls', 1, 'admin', '2015-10-08 17:56:52', '', '2015-10-08'),
(34, 1, '127.0.0.1', '小阳', '删除客户类别:ID=2 名称:001', 1, 'admin', '2015-10-08 18:05:20', '', '2015-10-08'),
(35, 1, '127.0.0.1', '小阳', '新增结算方式:001', 1, 'admin', '2015-10-08 18:05:29', '', '2015-10-08'),
(36, 1, '127.0.0.1', '小阳', '新增结算方式:002', 1, 'admin', '2015-10-08 18:05:31', '', '2015-10-08'),
(37, 1, '127.0.0.1', '小阳', '新增客户类别:001', 1, 'admin', '2015-10-08 18:06:23', '', '2015-10-08'),
(38, 1, '127.0.0.1', '小阳', '新增供应商类别:001', 1, 'admin', '2015-10-08 18:06:28', '', '2015-10-08'),
(39, 1, '127.0.0.1', '小阳', '新增商品类别:001', 1, 'admin', '2015-10-08 18:06:34', '', '2015-10-08'),
(40, 1, '127.0.0.1', '小阳', '新增支出类别:001', 1, 'admin', '2015-10-08 18:06:39', '', '2015-10-08'),
(41, 1, '127.0.0.1', '小阳', '新增收入类别:001', 1, 'admin', '2015-10-08 18:06:43', '', '2015-10-08'),
(42, 1, '127.0.0.1', '小阳', '新增供应商:康志', 1, 'admin', '2015-10-08 18:07:06', '', '2015-10-08'),
(43, 1, '127.0.0.1', '小阳', '删除供应商:ID=1 名称:康志', 1, 'admin', '2015-10-08 18:07:14', '', '2015-10-08'),
(44, 1, '127.0.0.1', '小阳', '新增供应商:001', 1, 'admin', '2015-10-08 18:07:38', '', '2015-10-08'),
(45, 1, '127.0.0.1', '小阳', '修改供应商:0011', 1, 'admin', '2015-10-08 18:09:17', '', '2015-10-08'),
(46, 1, '127.0.0.1', '小阳', '修改供应商:0011', 1, 'admin', '2015-10-08 18:09:18', '', '2015-10-08'),
(47, 1, '127.0.0.1', '小阳', '修改供应商:0011', 1, 'admin', '2015-10-08 18:09:22', '', '2015-10-08'),
(48, 1, '127.0.0.1', '小阳', '修改供应商:0011', 1, 'admin', '2015-10-08 18:09:49', '', '2015-10-08'),
(49, 1, '127.0.0.1', '小阳', '修改商品:ID=1名称:小不点', 1, 'admin', '2015-10-08 18:10:04', '', '2015-10-08'),
(50, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-08 18:10:50', '', '2015-10-08'),
(51, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-10-10 08:56:57', '', '2015-10-10'),
(52, 1, '127.0.0.1', '小阳', '新增商品:25112', 1, 'admin', '2015-10-10 08:57:27', '', '2015-10-10'),
(53, 1, '127.0.0.1', '小阳', '新增商品:123', 1, 'admin', '2015-10-10 09:42:33', '', '2015-10-10'),
(54, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-10-11 10:14:18', '', '2015-10-11'),
(55, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-10-21 09:57:50', '', '2015-10-21'),
(56, 1, '127.0.0.1', '小阳', '新增客户:111', 1, 'admin', '2015-10-21 10:00:25', '', '2015-10-21'),
(57, 1, '127.0.0.1', '小阳', '新增购货 单据编号:CG201510211000285', 1, 'admin', '2015-10-21 10:00:28', '', '2015-10-21'),
(58, 1, '127.0.0.1', '小阳', '新增销货 单据编号:XS201510211000450', 1, 'admin', '2015-10-21 10:00:45', '', '2015-10-21'),
(59, 1, '127.0.0.1', '小阳', '修改购货单 单据编号:CG201510211000285', 1, 'admin', '2015-10-21 10:11:15', '', '2015-10-21'),
(60, 1, '127.0.0.1', '小阳', '新增其他出库 单据编号:QTCK201510211027058', 1, 'admin', '2015-10-21 10:27:05', '', '2015-10-21'),
(61, 1, '127.0.0.1', '小阳', '修改其他出库 单据编号:QTCK201510211027058', 1, 'admin', '2015-10-21 10:27:16', '', '2015-10-21'),
(62, 1, '127.0.0.1', '小阳', '修改其他出库 单据编号:QTCK201510211027058', 1, 'admin', '2015-10-21 10:27:40', '', '2015-10-21'),
(63, 1, '127.0.0.1', '小阳', '修改其他出库 单据编号:QTCK201510211027058', 1, 'admin', '2015-10-21 10:28:33', '', '2015-10-21'),
(64, 1, '127.0.0.1', '小阳', '新增购货 单据编号:CG201510211032557', 1, 'admin', '2015-10-21 10:32:55', '', '2015-10-21'),
(65, 1, '127.0.0.1', '小阳', '修改其他出库 单据编号:QTCK201510211027058', 1, 'admin', '2015-10-21 10:33:10', '', '2015-10-21'),
(66, 1, '127.0.0.1', '小阳', '商品收发汇总表导出:deliver_summary_20151021104252.xls', 1, 'admin', '2015-10-21 10:42:52', '', '2015-10-21'),
(67, 1, '127.0.0.1', '小阳', '商品收发汇总表导出:deliver_summary_20151021105459.xls', 1, 'admin', '2015-10-21 10:54:59', '', '2015-10-21'),
(68, 1, '127.0.0.1', '小阳', '商品收发汇总表导出:deliver_summary_20151021105631.xls', 1, 'admin', '2015-10-21 10:56:31', '', '2015-10-21'),
(69, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-10-25 16:11:10', '', '2015-10-25'),
(70, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 16:11:38', '', '2015-10-25'),
(71, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 16:14:42', '', '2015-10-25'),
(72, 1, '127.0.0.1', '小阳', '导出客户:customer_20151025161541.xls', 1, 'admin', '2015-10-25 16:15:41', '', '2015-10-25'),
(73, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 16:16:02', '', '2015-10-25'),
(74, 1, '127.0.0.1', '小阳', '导出客户:customer_20151025161605.xls', 1, 'admin', '2015-10-25 16:16:05', '', '2015-10-25'),
(75, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 16:16:13', '', '2015-10-25'),
(76, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 16:18:19', '', '2015-10-25'),
(77, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 16:18:24', '', '2015-10-25'),
(78, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 16:20:30', '', '2015-10-25'),
(79, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 16:20:33', '', '2015-10-25'),
(80, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 16:21:25', '', '2015-10-25'),
(81, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 16:21:38', '', '2015-10-25'),
(82, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 16:50:15', '', '2015-10-25'),
(83, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 16:50:20', '', '2015-10-25'),
(84, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 16:56:29', '', '2015-10-25'),
(85, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 17:00:37', '', '2015-10-25'),
(86, 1, '127.0.0.1', '小阳', '切换皮肤:green', 1, 'admin', '2015-10-25 17:10:19', '', '2015-10-25'),
(87, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 17:10:41', '', '2015-10-25'),
(88, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 17:11:06', '', '2015-10-25'),
(89, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 17:27:31', '', '2015-10-25'),
(90, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 17:27:41', '', '2015-10-25'),
(91, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 17:28:09', '', '2015-10-25'),
(92, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 17:29:09', '', '2015-10-25'),
(93, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 17:29:44', '', '2015-10-25'),
(94, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 17:30:01', '', '2015-10-25'),
(95, 1, '127.0.0.1', '小阳', '修改供应商:00111', 1, 'admin', '2015-10-25 17:30:09', '', '2015-10-25'),
(96, 1, '127.0.0.1', '小阳', '切换皮肤:green', 1, 'admin', '2015-11-06 09:59:25', '', '2015-11-06'),
(97, 1, '127.0.0.1', '小阳', '新增用户:qq123456', 1, 'admin', '2015-11-06 10:01:38', '', '2015-11-06'),
(98, 1, '127.0.0.1', '小阳', '更新权限:qq123456', 1, 'admin', '2015-11-06 10:01:42', '', '2015-11-06'),
(99, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-11-06 10:18:29', '', '2015-11-06'),
(100, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-11-06 11:31:03', '', '2015-11-06'),
(101, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-11-06 11:31:48', '', '2015-11-06'),
(102, 1, '127.0.0.1', '小阳', '新增销货 单据编号:XSDD201511070854553', 1, 'admin', '2015-11-07 08:54:55', '', '2015-11-07'),
(103, 1, '127.0.0.1', '小阳', '销货单编号:XSDD201511070854553的单据已被审核!', 1, 'admin', '2015-11-07 08:57:40', '', '2015-11-07'),
(104, 1, '127.0.0.1', '小阳', '销货订单:XSDD201511070854553的单据已被反审核!', 1, 'admin', '2015-11-07 08:57:41', '', '2015-11-07'),
(105, 1, '127.0.0.1', '小阳', '新增购货 单据编号:CG201511070859066', 1, 'admin', '2015-11-07 08:59:06', '', '2015-11-07'),
(106, 1, '127.0.0.1', '小阳', '新增销货 单据编号:XS201511070859106', 1, 'admin', '2015-11-07 08:59:10', '', '2015-11-07'),
(107, 1, '127.0.0.1', '小阳', '销货单编号:XS201511070859106的单据已被审核!', 1, 'admin', '2015-11-07 09:20:47', '', '2015-11-07'),
(108, 1, '127.0.0.1', '小阳', '销货单:XS201511070859106的单据已被反审核!', 1, 'admin', '2015-11-07 09:20:48', '', '2015-11-07'),
(109, 1, '127.0.0.1', '小阳', '销货单编号:XS201511070859106的单据已被审核!', 1, 'admin', '2015-11-07 09:20:50', '', '2015-11-07'),
(110, 1, '127.0.0.1', '小阳', '销货单:XS201511070859106的单据已被反审核!', 1, 'admin', '2015-11-07 09:20:50', '', '2015-11-07'),
(111, 1, '127.0.0.1', '小阳', '销货单编号:XS201511070859106的单据已被审核!', 1, 'admin', '2015-11-07 09:20:51', '', '2015-11-07'),
(112, 1, '127.0.0.1', '小阳', '销货单:XS201511070859106的单据已被反审核!', 1, 'admin', '2015-11-07 09:20:52', '', '2015-11-07'),
(113, 1, '127.0.0.1', '小阳', '更新权限:qq123456', 1, 'admin', '2015-11-07 09:31:43', '', '2015-11-07'),
(114, NULL, '127.0.0.1', NULL, '登陆成功 用户名:qq123456', 1, NULL, '2015-11-07 09:32:25', '', '2015-11-07'),
(115, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-11-07 17:27:54', '', '2015-11-07'),
(116, 1, '127.0.0.1', '小阳', '登陆成功 用户名:admin', 1, 'admin', '2015-11-07 17:42:50', '', '2015-11-07'),
(117, 1, '127.0.0.1', '小阳', '登陆成功 用户名:admin', 1, 'admin', '2015-11-07 17:42:56', '', '2015-11-07'),
(118, 1, '127.0.0.1', '小阳', '登陆成功 用户名:admin', 1, 'admin', '2015-11-07 17:44:43', '', '2015-11-07'),
(119, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-11-07 17:45:47', '', '2015-11-07'),
(120, NULL, '127.0.0.1', NULL, '登陆成功 用户名:qq123456', 1, NULL, '2015-11-07 17:46:03', '', '2015-11-07'),
(121, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-11-07 17:54:28', '', '2015-11-07'),
(122, 1, '127.0.0.1', '小阳', '更新权限:qq123456', 1, 'admin', '2015-11-07 17:55:44', '', '2015-11-07'),
(123, NULL, '127.0.0.1', NULL, '登陆成功 用户名:qq123456', 1, NULL, '2015-11-07 17:56:15', '', '2015-11-07'),
(124, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2015-11-10 10:23:02', '', '2015-11-10'),
(125, 1, '127.0.0.1', '小阳', '新增单位:23', 1, 'admin', '2015-11-18 16:00:13', '', '2015-11-18'),
(126, 1, '127.0.0.1', '小阳', '新增商品:123', 1, 'admin', '2015-11-18 16:00:48', '', '2015-11-18'),
(127, 1, '127.0.0.1', '小阳', '删除商品:ID=4 名称:123', 1, 'admin', '2015-11-18 16:03:08', '', '2015-11-18'),
(128, 1, '127.0.0.1', '小阳', '新增商品:123', 1, 'admin', '2015-11-18 16:05:38', '', '2015-11-18'),
(129, 1, '127.0.0.1', '小阳', '删除商品:ID=5 名称:123', 1, 'admin', '2015-11-18 16:05:46', '', '2015-11-18'),
(130, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-05-19 23:52:57', '', '2016-05-19'),
(131, 1, '127.0.0.1', '小阳', '系统设置成功', 1, 'admin', '2016-05-19 23:57:03', '', '2016-05-19'),
(132, 1, '127.0.0.1', '小阳', '密码修改成功 UID:1 真实姓名改为:新睿社区', 1, 'admin', '2016-05-19 23:57:36', '', '2016-05-19'),
(133, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-27 23:06:56', '', '2016-08-27'),
(134, 1, '127.0.0.1', '新睿社区', '系统设置成功', 1, 'admin', '2016-08-27 23:11:27', '', '2016-08-27'),
(135, 1, '127.0.0.1', '新睿社区', '更新仓库:1#仓库', 1, 'admin', '2016-08-27 23:13:09', '', '2016-08-27'),
(136, 1, '127.0.0.1', '新睿社区', '删除购货订单 单据编号:CG201511070859066', 1, 'admin', '2016-08-27 23:16:33', '', '2016-08-27'),
(137, 1, '127.0.0.1', '新睿社区', '删除购货订单 单据编号:CG201510211032557', 1, 'admin', '2016-08-27 23:16:35', '', '2016-08-27'),
(138, 1, '127.0.0.1', '新睿社区', '删除购货订单 单据编号:CG201510211000285', 1, 'admin', '2016-08-27 23:16:38', '', '2016-08-27'),
(139, 1, '127.0.0.1', '新睿社区', '删除购货订单 单据编号:CG201509291033157', 1, 'admin', '2016-08-27 23:16:41', '', '2016-08-27'),
(140, 1, '127.0.0.1', '新睿社区', '删除购货订单 单据编号:XS201511070859106', 1, 'admin', '2016-08-27 23:17:01', '', '2016-08-27'),
(141, 1, '127.0.0.1', '新睿社区', '删除购货订单 单据编号:XS201510211000450', 1, 'admin', '2016-08-27 23:17:04', '', '2016-08-27'),
(142, 1, '127.0.0.1', '新睿社区', '删除购货订单 单据编号:XS201509291048510', 1, 'admin', '2016-08-27 23:17:06', '', '2016-08-27'),
(143, 1, '127.0.0.1', '新睿社区', '删除单据编号:QTCK201510211027058', 1, 'admin', '2016-08-27 23:18:23', '', '2016-08-27'),
(144, 1, '127.0.0.1', '新睿社区', '删除商品:ID=2 名称:25112', 1, 'admin', '2016-08-27 23:18:47', '', '2016-08-27'),
(145, 1, '127.0.0.1', '新睿社区', '删除商品:ID=3 名称:123', 1, 'admin', '2016-08-27 23:18:50', '', '2016-08-27'),
(146, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-28 20:22:28', '', '2016-08-28'),
(147, 1, '127.0.0.1', '新睿社区', '新增仓库:2#仓库', 1, 'admin', '2016-08-28 20:47:34', '', '2016-08-28'),
(148, 1, '127.0.0.1', '新睿社区', '删除客户:ID=3 名称:111', 1, 'admin', '2016-08-28 20:48:14', '', '2016-08-28'),
(149, 1, '127.0.0.1', '新睿社区', '密码修改成功 UID:1 真实姓名改为:管理员', 1, 'admin', '2016-08-28 21:55:57', '', '2016-08-28'),
(150, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-28 21:56:13', '', '2016-08-28'),
(151, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-29 09:17:49', '', '2016-08-29'),
(152, 1, '127.0.0.1', '管理员', '更新员工:编号001 名称统计员A', 1, 'admin', '2016-08-29 09:46:49', '', '2016-08-29'),
(153, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-29 09:48:45', '', '2016-08-29'),
(154, NULL, '127.0.0.1', NULL, '登陆成功 用户名:testuser', 1, NULL, '2016-08-29 09:52:36', '', '2016-08-29'),
(155, 2, '127.0.0.1', '张三', '密码修改成功 UID:2 真实姓名改为:张三', 1, 'testuser', '2016-08-29 09:53:18', '', '2016-08-29'),
(156, 2, '127.0.0.1', '张三', '密码修改成功 UID:2 真实姓名改为:张三', 1, 'testuser', '2016-08-29 09:53:44', '', '2016-08-29'),
(157, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-29 09:54:15', '', '2016-08-29'),
(158, 1, '127.0.0.1', '管理员', '更新权限:testuser', 1, 'admin', '2016-08-29 09:55:06', '', '2016-08-29'),
(159, 1, '127.0.0.1', '管理员', '导出往来单位欠款表:contact_debt_20160829102742.xls', 1, 'admin', '2016-08-29 10:27:42', '', '2016-08-29'),
(160, 1, '127.0.0.1', '管理员', '启用:ID:2', 1, 'admin', '2016-08-29 10:31:35', '', '2016-08-29'),
(161, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-29 10:35:44', '', '2016-08-29'),
(162, 1, '127.0.0.1', '管理员', '删除供应商:ID=2 名称:00111', 1, 'admin', '2016-08-29 10:38:35', '', '2016-08-29'),
(163, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-29 16:25:20', '', '2016-08-29'),
(164, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-29 17:53:13', '', '2016-08-29'),
(165, 1, '127.0.0.1', '管理员', '新增客户:供应商A', 1, 'admin', '2016-08-29 17:54:08', '', '2016-08-29'),
(166, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-30 08:41:16', '', '2016-08-30'),
(167, 1, '127.0.0.1', '管理员', '修改类别:ID=1 名称:国产车', 1, 'admin', '2016-08-30 08:43:06', '', '2016-08-30'),
(168, 1, '127.0.0.1', '管理员', '修改类别:ID=7 名称:比亚迪', 1, 'admin', '2016-08-30 08:43:25', '', '2016-08-30'),
(169, 1, '127.0.0.1', '管理员', '新增单位:台', 1, 'admin', '2016-08-30 08:44:42', '', '2016-08-30'),
(170, 1, '127.0.0.1', '管理员', '修改商品:ID=1名称:F3', 1, 'admin', '2016-08-30 08:45:19', '', '2016-08-30'),
(171, 1, '127.0.0.1', '管理员', '修改供应商类别:A类供应商', 1, 'admin', '2016-08-30 08:49:18', '', '2016-08-30'),
(172, 1, '127.0.0.1', '管理员', '修改客户类别:普通客户', 1, 'admin', '2016-08-30 08:49:31', '', '2016-08-30'),
(173, 1, '127.0.0.1', '管理员', '新增客户类别:VIP客户', 1, 'admin', '2016-08-30 08:49:39', '', '2016-08-30'),
(174, 1, '127.0.0.1', '管理员', '修改支出类别:普通支出', 1, 'admin', '2016-08-30 08:49:50', '', '2016-08-30'),
(175, 1, '127.0.0.1', '管理员', '修改收入类别:普通收入', 1, 'admin', '2016-08-30 08:50:00', '', '2016-08-30'),
(176, 1, '127.0.0.1', '管理员', '登陆成功 用户名:admin', 1, 'admin', '2016-08-30 08:50:43', '', '2016-08-30'),
(177, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-30 08:52:35', '', '2016-08-30'),
(178, 1, '127.0.0.1', '管理员', '更新单位:1312', 1, 'admin', '2016-08-30 08:52:49', '', '2016-08-30'),
(179, 1, '127.0.0.1', '管理员', '更新单位:1312dd', 1, 'admin', '2016-08-30 08:52:55', '', '2016-08-30'),
(180, 1, '127.0.0.1', '管理员', '更新单位:台', 1, 'admin', '2016-08-30 08:54:08', '', '2016-08-30'),
(181, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-30 08:57:44', '', '2016-08-30'),
(182, 1, '127.0.0.1', '管理员', '修改客户:供应商A', 1, 'admin', '2016-08-30 08:58:09', '', '2016-08-30'),
(183, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-30 09:22:44', '', '2016-08-30'),
(184, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-30 09:23:58', '', '2016-08-30'),
(185, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-30 09:25:10', '', '2016-08-30'),
(186, 1, '127.0.0.1', '管理员', '新增购货 单据编号:CG201608301048053', 1, 'admin', '2016-08-30 10:48:06', '', '2016-08-30'),
(187, 1, '127.0.0.1', '管理员', '导出盘点单据:pdReport_20160830114340.xls', 1, 'admin', '2016-08-30 11:43:40', '', '2016-08-30'),
(188, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-30 13:24:29', '', '2016-08-30'),
(189, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-30 14:33:44', '', '2016-08-30'),
(190, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-30 16:53:13', '', '2016-08-30'),
(191, 1, '127.0.0.1', '管理员', '导出盘点单据:pdReport_20160830171809.xls', 1, 'admin', '2016-08-30 17:18:09', '', '2016-08-30'),
(192, 1, '127.0.0.1', '管理员', '采购明细表(按商品)导出:pu_summary_20160830172730.xls', 1, 'admin', '2016-08-30 17:27:30', '', '2016-08-30'),
(193, 1, '127.0.0.1', '管理员', '仓库禁用:ID=2 名称:2#仓库', 1, 'admin', '2016-08-30 17:32:07', '', '2016-08-30'),
(194, 1, '127.0.0.1', '管理员', '仓库启用:ID=2 名称:2#仓库', 1, 'admin', '2016-08-30 17:32:10', '', '2016-08-30'),
(195, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-08-31 08:43:09', '', '2016-08-31'),
(196, 1, '127.0.0.1', '管理员', '新增账户:C01结算帐户1', 1, 'admin', '2016-08-31 12:00:14', '', '2016-08-31'),
(197, 1, '127.0.0.1', '管理员', '新增付款单 单据编号:FKD201608311201048', 1, 'admin', '2016-08-31 12:01:04', '', '2016-08-31'),
(198, 1, '127.0.0.1', '管理员', '修改购货单 单据编号:CG201608301048053', 1, 'admin', '2016-08-31 12:02:40', '', '2016-08-31'),
(199, 1, '127.0.0.1', '管理员', '修改收款单 单据编号:FKD201608311201048', 1, 'admin', '2016-08-31 12:03:57', '', '2016-08-31'),
(200, 1, '127.0.0.1', '管理员', '新增购货 单据编号:CG201608311208338', 1, 'admin', '2016-08-31 12:08:33', '', '2016-08-31'),
(201, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-09-01 11:51:59', '', '2016-09-01'),
(202, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-09-03 08:41:58', '', '2016-09-03'),
(203, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-09-05 10:51:24', '', '2016-09-05'),
(204, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-09-06 08:44:58', '', '2016-09-06'),
(205, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-09-07 08:51:48', '', '2016-09-07'),
(206, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-09-09 16:41:04', '', '2016-09-09'),
(207, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-09-10 09:57:11', '', '2016-09-10'),
(208, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-09-12 15:56:01', '', '2016-09-12'),
(209, NULL, '127.0.0.1', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-09-13 09:20:35', '', '2016-09-13'),
(210, NULL, '10.23.163.56', NULL, '登陆成功 用户名:admin', 1, NULL, '2016-09-29 14:24:16', '', '2016-09-29');
-- --------------------------------------------------------
--
-- 表的结构 `ci_menu`
--
CREATE TABLE IF NOT EXISTS `ci_menu` (
`id` smallint(6) NOT NULL AUTO_INCREMENT COMMENT '导航栏目',
`name` varchar(50) COLLATE utf8_unicode_ci DEFAULT '' COMMENT '栏目名称',
`parentId` smallint(5) DEFAULT '0' COMMENT '上级栏目ID',
`path` varchar(100) COLLATE utf8_unicode_ci DEFAULT '' COMMENT '栏目路径',
`level` tinyint(2) DEFAULT '1' COMMENT '层次',
`ordnum` smallint(6) DEFAULT '0' COMMENT '排序',
`module` varchar(50) COLLATE utf8_unicode_ci DEFAULT '',
`status` tinyint(1) DEFAULT '1' COMMENT '状态',
`typeNumber` varchar(25) COLLATE utf8_unicode_ci DEFAULT '',
`detail` tinyint(1) DEFAULT '1',
`sortIndex` smallint(6) DEFAULT '0',
`isDelete` tinyint(1) DEFAULT '0',
`remark` varchar(255) COLLATE utf8_unicode_ci DEFAULT '',
PRIMARY KEY (`id`),
KEY `id` (`id`),
KEY `parentId` (`parentId`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=203 ;
--
-- 转存表中的数据 `ci_menu`
--
INSERT INTO `ci_menu` (`id`, `name`, `parentId`, `path`, `level`, `ordnum`, `module`, `status`, `typeNumber`, `detail`, `sortIndex`, `isDelete`, `remark`) VALUES
(1, '购货单', 0, '1', 1, 99, 'PU_QUERY', 1, 'trade', 1, 0, 0, ''),
(2, '新增', 1, '1,2', 2, 99, 'PU_ADD', 1, 'trade', 1, 0, 0, ''),
(3, '修改', 1, '1,3', 2, 99, 'PU_UPDATE', 1, 'trade', 1, 0, 0, ''),
(4, '删除', 1, '1,4', 2, 99, 'PU_DELETE', 1, 'trade', 1, 0, 0, ''),
(5, '导出', 1, '1,5', 2, 99, 'PU_EXPORT', 1, 'trade', 1, 0, 0, ''),
(6, '销货单', 0, '6', 1, 99, 'SA_QUERY', 1, 'trade', 1, 0, 0, ''),
(7, '新增', 6, '6,7', 2, 99, 'SA_ADD', 1, 'trade', 1, 0, 0, ''),
(8, '修改', 6, '6,8', 2, 99, 'SA_UPDATE', 1, 'trade', 1, 0, 0, ''),
(9, '删除', 6, '6,9', 2, 99, 'SA_DELETE', 1, 'trade', 1, 0, 0, ''),
(10, '导出', 6, '6,10', 2, 99, 'SA_EXPORT', 1, 'trade', 1, 0, 0, ''),
(11, '盘点', 0, '11', 1, 99, 'PD_GENPD', 1, 'trade', 1, 0, 0, ''),
(12, '生成盘点记录', 11, '11,12', 2, 99, 'PD_GENPD', 1, 'trade', 1, 0, 0, ''),
(13, '导出', 11, '11,13', 2, 99, 'PD_EXPORT', 1, 'trade', 1, 0, 0, ''),
(14, '其他入库单', 0, '14', 1, 99, 'IO_QUERY', 1, 'trade', 1, 0, 0, ''),
(15, '新增', 14, '14,15', 2, 99, 'IO_ADD', 1, 'trade', 1, 0, 0, ''),
(16, '修改', 14, '14,16', 2, 99, 'IO_UPDATE', 1, 'trade', 1, 0, 0, ''),
(17, '删除', 14, '14,17', 2, 99, 'IO_DELETE', 1, 'trade', 1, 0, 0, ''),
(18, '其他出库单', 0, '18', 1, 99, 'OO_QUERY', 1, 'trade', 1, 0, 0, ''),
(19, '新增', 18, '18,19', 2, 99, 'OO_ADD', 1, 'trade', 1, 0, 0, ''),
(20, '修改', 18, '18,20', 2, 99, 'OO_UPDATE', 1, 'trade', 1, 0, 0, ''),
(21, '删除', 18, '18,21', 2, 99, 'OO_DELETE', 1, 'trade', 1, 0, 0, ''),
(22, '采购明细表', 0, '22', 1, 99, 'PUREOORTDETAIL_QUERY', 1, 'trade', 1, 0, 0, ''),
(23, '导出', 22, '22,23', 2, 99, 'PUREOORTDETAIL_QUERY', 1, 'trade', 1, 0, 0, ''),
(24, '打印', 22, '22,24', 2, 99, '', 0, 'trade', 1, 0, 0, ''),
(25, '采购汇总表(按商品)', 0, '25', 1, 99, 'PUREPORTINV_QUERY', 1, 'trade', 1, 0, 0, ''),
(26, '导出', 25, '25,26', 2, 99, 'PUREPORTINV_QUERY', 1, 'trade', 1, 0, 0, ''),
(27, '打印', 25, '25,27', 2, 99, '', 0, 'trade', 1, 0, 0, ''),
(28, '采购汇总表(按供应商)', 0, '28', 1, 99, 'PUREPORTPUR_QUERY', 1, 'trade', 1, 0, 0, ''),
(29, '导出', 28, '28,29', 2, 99, 'PUREPORTPUR_QUERY', 1, 'trade', 1, 0, 0, ''),
(30, '打印', 28, '28,30', 2, 99, '', 0, 'trade', 1, 0, 0, ''),
(31, '销售明细表', 0, '31', 1, 99, 'SAREPORTDETAIL_QUERY', 1, 'trade', 1, 0, 0, ''),
(32, '导出', 31, '31,32', 2, 99, 'SAREPORTDETAIL_QUERY', 1, 'trade', 1, 0, 0, ''),
(33, '打印', 31, '31,33', 2, 99, '', 0, 'trade', 1, 0, 0, ''),
(34, '销售汇总表(按商品)', 0, '34', 1, 99, 'SAREPORTINV_QUERY', 1, 'trade', 1, 0, 0, ''),
(35, '导出', 34, '34,35', 2, 99, 'SAREPORTINV_QUERY', 1, 'trade', 1, 0, 0, ''),
(36, '打印', 34, '34,36', 2, 99, '', 0, 'trade', 1, 0, 0, ''),
(37, '销售汇总表(按客户)', 0, '37', 1, 99, 'SAREPORTBU_QUERY', 1, 'trade', 1, 0, 0, ''),
(38, '导出', 37, '37,38', 2, 99, 'SAREPORTBU_QUERY', 1, 'trade', 1, 0, 0, ''),
(39, '打印', 37, '37,39', 2, 99, '', 0, 'trade', 1, 0, 0, ''),
(40, '商品库存余额表', 0, '40', 1, 99, 'InvBalanceReport_QUERY', 1, 'trade', 1, 0, 0, ''),
(41, '导出', 40, '40,41', 2, 99, 'InvBalanceReport_QUERY', 1, 'trade', 1, 0, 0, ''),
(42, '打印', 40, '40,42', 2, 99, '', 0, 'trade', 1, 0, 0, ''),
(43, '商品收发明细表', 0, '43', 1, 99, 'DeliverDetailReport_QUERY', 1, 'trade', 1, 0, 0, ''),
(44, '导出', 43, '43,44', 2, 99, 'DeliverDetailReport_QUERY', 1, 'trade', 1, 0, 0, ''),
(45, '打印', 43, '43,45', 2, 99, '', 0, 'trade', 1, 0, 0, ''),
(46, '商品收发汇总表', 0, '46', 1, 99, 'DeliverSummaryReport_QUERY', 1, 'trade', 1, 0, 0, ''),
(47, '导出', 46, '46,47', 2, 99, 'DeliverSummaryReport_QUERY', 1, 'trade', 1, 0, 0, ''),
(48, '打印', 46, '46,48', 2, 99, '', 0, 'trade', 1, 0, 0, ''),
(49, '往来单位欠款表', 0, '49', 1, 99, 'ContactDebtReport_QUERY', 1, 'trade', 1, 0, 0, ''),
(50, '导出', 49, '49,50', 2, 99, 'ContactDebtReport_QUERY', 1, 'trade', 1, 0, 0, ''),
(51, '打印', 49, '49,51', 2, 99, '', 0, 'trade', 1, 0, 0, ''),
(52, '应付账款明细表', 0, '52', 1, 99, 'PAYMENTDETAIL_QUERY', 1, 'trade', 1, 0, 0, ''),
(53, '导出', 52, '52,53', 2, 99, 'PAYMENTDETAIL_QUERY', 1, 'trade', 1, 0, 0, ''),
(54, '打印', 52, '52,54', 2, 99, '', 0, 'trade', 1, 0, 0, ''),
(55, '应收账款明细表', 0, '55', 1, 99, 'RECEIPTDETAIL_QUERY', 1, 'trade', 1, 0, 0, ''),
(56, '导出', 55, '55,56', 2, 99, 'RECEIPTDETAIL_QUERY', 1, 'trade', 1, 0, 0, ''),
(57, '打印', 55, '55,57', 2, 99, '', 0, 'trade', 1, 0, 0, ''),
(58, '客户管理', 0, '58', 1, 99, 'BU_QUERY', 1, 'trade', 1, 0, 0, ''),
(59, '新增', 58, '58,59', 2, 99, 'BU_ADD', 1, 'trade', 1, 0, 0, ''),
(60, '修改', 58, '58,60', 2, 99, 'BU_UPDATE', 1, 'trade', 1, 0, 0, ''),
(61, '删除', 58, '58,61', 2, 99, 'BU_DELETE', 1, 'trade', 1, 0, 0, ''),
(62, '导出', 58, '58,62', 2, 99, 'BU_EXPORT', 1, 'trade', 1, 0, 0, ''),
(63, '供应商管理', 0, '63', 1, 99, 'PUR_QUERY', 1, 'trade', 1, 0, 0, ''),
(64, '新增', 63, '63,64', 2, 99, 'PUR_ADD', 1, 'trade', 1, 0, 0, ''),
(65, '修改', 63, '63,65', 2, 99, 'PUR_UPDATE', 1, 'trade', 1, 0, 0, ''),
(66, '删除', 63, '63,66', 2, 99, 'PUR_DELETE', 1, 'trade', 1, 0, 0, ''),
(67, '导出', 63, '63,67', 2, 99, 'PUR_EXPORT', 1, 'trade', 1, 0, 0, ''),
(68, '商品管理', 0, '68', 1, 99, 'INVENTORY_QUERY', 1, 'trade', 1, 0, 0, ''),
(69, '新增', 68, '68,69', 2, 99, 'INVENTORY_ADD', 1, 'trade', 1, 0, 0, ''),
(70, '修改', 68, '68,70', 2, 99, 'INVENTORY_UPDATE', 1, 'trade', 1, 0, 0, ''),
(71, '删除', 68, '68,71', 2, 99, 'INVENTORY_DELETE', 1, 'trade', 1, 0, 0, ''),
(72, '导出', 68, '68,72', 2, 99, 'INVENTORY_EXPORT', 1, 'trade', 1, 0, 0, ''),
(73, '客户类别', 0, '73', 1, 99, 'BUTYPE_QUERY', 1, 'trade', 1, 0, 0, ''),
(74, '新增', 73, '73,74', 2, 99, 'BUTYPE_ADD', 1, 'trade', 1, 0, 0, ''),
(75, '修改', 73, '73,75', 2, 99, 'BUTYPE_UPDATE', 1, 'trade', 1, 0, 0, ''),
(76, '删除', 73, '73,76', 2, 99, 'BUTYPE_DELETE', 1, 'trade', 1, 0, 0, ''),
(77, '计量单位', 0, '77', 1, 99, 'UNIT_QUERY', 1, 'trade', 1, 0, 0, ''),
(78, '新增', 77, '77,78', 2, 99, 'UNIT_ADD', 1, 'trade', 1, 0, 0, ''),
(79, '修改', 77, '77,79', 2, 99, 'UNIT_UPDATE', 1, 'trade', 1, 0, 0, ''),
(80, '删除', 77, '77,80', 2, 99, 'UNIT_DELETE', 1, 'trade', 1, 0, 0, ''),
(81, '系统参数', 0, '81', 1, 99, '', 1, 'trade', 1, 0, 0, ''),
(82, '权限设置', 0, '82', 1, 99, '', 1, 'trade', 1, 0, 0, ''),
(83, '操作日志', 0, '83', 1, 99, 'OPERATE_QUERY', 1, 'trade', 1, 0, 0, ''),
(84, '数据备份', 0, '84', 1, 99, '', 0, 'trade', 1, 0, 0, ''),
(85, '打印', 1, '1,85', 2, 99, 'PU_PRINT', 1, 'trade', 1, 0, 0, ''),
(86, '审核', 1, '1,86', 2, 0, 'PU_CHECK', 1, 'trade', 1, 0, 0, ''),
(87, '反审核', 1, '1,87', 2, 0, 'PU_UNCHECK', 1, 'trade', 1, 0, 0, ''),
(88, '打印', 6, '6,88', 2, 0, 'SA_PRINT', 1, 'trade', 1, 0, 0, ''),
(89, '审核', 6, '6,89', 2, 0, 'SA_CHECK', 1, 'trade', 1, 0, 0, ''),
(90, '反审核', 6, '6,90', 2, 0, 'SA_UNCHECK', 1, 'trade', 1, 0, 0, ''),
(91, '禁用', 58, '58,91', 2, 0, 'INVLOCTION_UPDATE', 1, 'trade', 1, 0, 0, ''),
(92, '启用', 58, '58,92', 2, 0, 'INVLOCTION_UPDATE', 1, 'trade', 1, 0, 0, ''),
(93, '禁用', 63, '63,93', 2, 0, 'INVLOCTION_UPDATE', 1, 'trade', 1, 0, 0, ''),
(94, '启用', 63, '63,94', 2, 0, 'INVLOCTION_UPDATE', 1, 'trade', 1, 0, 0, ''),
(95, '禁用', 68, '68,95', 2, 0, 'INVLOCTION_UPDATE', 1, 'trade', 1, 0, 0, ''),
(96, '启用', 68, '68,96', 2, 0, 'INVLOCTION_UPDATE', 1, 'trade', 1, 0, 0, ''),
(97, '职员管理', 0, '97', 1, 0, '', 1, 'trade', 1, 0, 0, ''),
(98, '账号管理', 0, '98', 1, 0, 'SettAcct_QUERY', 1, 'trade', 1, 0, 0, ''),
(99, '导入', 11, '11,99', 2, 0, '', 1, 'trade', 1, 0, 0, ''),
(100, '审核', 14, '14,100', 2, 0, 'IO_CHECK', 1, 'trade', 1, 0, 0, ''),
(101, '反审核', 14, '14,101', 2, 0, 'IO_UNCHECK', 1, 'trade', 1, 0, 0, ''),
(102, '导出', 14, '14,102', 2, 0, 'IO_EXPORT', 1, 'trade', 1, 0, 0, ''),
(103, '审核', 18, '18,103', 2, 0, 'OO_CHECK', 1, 'trade', 1, 0, 0, ''),
(104, '反审核', 18, '18,104', 2, 0, 'OO_UNCHECK', 1, 'trade', 1, 0, 0, ''),
(105, '导出', 18, '18,105', 2, 0, 'OO_EXPORT', 1, 'trade', 1, 0, 0, ''),
(106, '现金银行报表', 0, '106', 1, 0, 'SettAcctReport_QUERY', 1, 'trade', 1, 0, 0, ''),
(107, '打印', 106, '106,107', 2, 0, '', 1, 'trade', 1, 0, 0, ''),
(108, '导出', 106, '106,108', 2, 0, '', 1, 'trade', 1, 0, 0, ''),
(109, '客户对账单', 0, '109', 1, 0, 'CUSTOMERBALANCE_QUERY', 1, 'trade', 1, 0, 0, ''),
(110, '打印', 109, '109,110', 2, 0, '', 1, 'trade', 1, 0, 0, ''),
(111, '导出', 109, '109,111', 2, 0, '', 1, 'trade', 1, 0, 0, ''),
(112, '供应商对账单', 0, '112', 1, 0, 'SUPPLIERBALANCE_QUERY', 1, 'trade', 1, 0, 0, ''),
(113, '打印', 112, '112,113', 2, 0, '', 1, 'trade', 1, 0, 0, ''),
(114, '导出', 112, '112,114', 2, 0, '', 1, 'trade', 1, 0, 0, ''),
(115, '其他收支明细表', 0, '115', 1, 0, 'ORIDETAIL_QUERY', 1, 'trade', 1, 0, 0, ''),
(116, '打印', 115, '115,116', 2, 0, '', 1, 'trade', 1, 0, 0, ''),
(117, '导出', 115, '115,117', 2, 0, '', 1, 'trade', 1, 0, 0, ''),
(118, '新增', 97, '97,118', 2, 0, 'INVLOCTION_ADD', 1, 'trade', 1, 0, 0, ''),
(119, '修改', 97, '97,119', 2, 0, 'INVLOCTION_UPDATE', 1, 'trade', 1, 0, 0, ''),
(120, '删除', 97, '97,120', 2, 0, 'INVLOCTION_DELETE', 1, 'trade', 1, 0, 0, ''),
(121, '新增', 98, '98,121', 2, 0, 'SettAcct_ADD', 1, 'trade', 1, 0, 0, ''),
(122, '修改', 98, '98,122', 2, 0, 'SettAcct_UPDATE', 1, 'trade', 1, 0, 0, ''),
(123, '删除', 98, '98,123', 2, 0, 'SettAcct_DELETE', 1, 'trade', 1, 0, 0, ''),
(124, '收款单', 0, '124', 1, 0, 'RECEIPT_QUERY', 1, 'trade', 1, 0, 0, ''),
(125, '新增', 124, '124,125', 2, 0, 'RECEIPT_ADD', 1, 'trade', 1, 0, 0, ''),
(126, '修改', 124, '124,126', 2, 0, 'RECEIPT_UPDATE', 1, 'trade', 1, 0, 0, ''),
(127, '删除', 124, '124,127', 2, 0, 'RECEIPT_DELETE', 1, 'trade', 1, 0, 0, ''),
(128, '导出', 124, '124,128', 2, 0, 'RECEIPT_EXPORT', 1, 'trade', 1, 0, 0, ''),
(129, '付款单', 0, '129', 1, 0, 'PAYMENT_QUERY', 1, 'trade', 1, 0, 0, ''),
(130, '新增', 129, '129,130', 2, 0, 'PAYMENT_ADD', 1, 'trade', 1, 0, 0, ''),
(131, '修改', 129, '129,131', 2, 0, 'PAYMENT_UPDATE', 1, 'trade', 1, 0, 0, ''),
(132, '删除', 129, '129,132', 2, 0, 'PAYMENT_DELETE', 1, 'trade', 1, 0, 0, ''),
(133, '导出', 129, '129,133', 2, 0, 'PAYMENT_EXPORT', 1, 'trade', 1, 0, 0, ''),
(134, '其他收入单', 0, '134', 1, 0, 'QTSR_QUERY', 1, 'trade', 1, 0, 0, ''),
(135, '新增', 134, '134,135', 2, 0, 'QTSR_ADD', 1, 'trade', 1, 0, 0, ''),
(136, '修改', 134, '134,136', 2, 0, 'QTSR_UPDATE', 1, 'trade', 1, 0, 0, ''),
(137, '删除', 134, '134,137', 2, 0, 'QTSR_DELETE', 1, 'trade', 1, 0, 0, ''),
(138, '导出', 134, '134,138', 2, 0, 'QTSR_EXPORT', 1, 'trade', 1, 0, 0, ''),
(139, '其他支出单', 0, '139', 1, 0, 'QTZC_QUERY', 1, 'trade', 1, 0, 0, ''),
(140, '新增', 139, '139,140', 2, 0, 'QTZC_ADD', 1, 'trade', 1, 0, 0, ''),
(141, '修改', 139, '139,141', 2, 0, 'QTZC_UPDATE', 1, 'trade', 1, 0, 0, ''),
(142, '删除', 139, '139,142', 2, 0, 'QTZC_DELETE', 1, 'trade', 1, 0, 0, ''),
(143, '导出', 139, '139,143', 2, 0, 'QTZC_EXPORT', 1, 'trade', 1, 0, 0, ''),
(144, '调拨单', 0, '144', 1, 0, 'TF_QUERY', 1, 'trade', 1, 0, 0, ''),
(145, '新增', 144, '144,145', 2, 0, 'TF_ADD', 1, 'trade', 1, 0, 0, ''),
(146, '修改', 144, '144,146', 2, 0, 'TF_UPDATE', 1, 'trade', 1, 0, 0, ''),
(147, '删除', 144, '144,147', 2, 0, 'TF_DELETE', 1, 'trade', 1, 0, 0, ''),
(148, '导出', 144, '144,148', 2, 0, 'TF_EXPORT', 1, 'trade', 1, 0, 0, ''),