Blame view

src/main/java/com/huaheng/common/constant/QuantityConstant.java 19.3 KB
pengcheng authored
1
2
3
4
5
6
package com.huaheng.common.constant;

/**
 * 数字自定义常量
 */
public class QuantityConstant {
7
8
9

    //入库单状态
pengcheng authored
10
    /**
11
12
     * 新建
     */
pengcheng authored
13
14
    public static final Integer RECEIPT_HEADER_BUILD = 0;
15
16
17
    /**
     * 等待审核
     */
18
    public static final Integer RECEIPT_HEADER_VERIFYING = 5;
pengcheng authored
19
20
21
22
    /**
     * 驳回
     */
23
    public static final Integer RECEIPT_HEADER_REJECTED = 10;
pengcheng authored
24
25
26
27
    /**
     * 作废
     */
pengcheng authored
28
29
    public static final Integer RECEIPT_HEADER_OBSOLETE = 20;
30
31
32
33
    /**
     * 通过
     */
    public static final Integer RECEIPT_HEADER_APPROVE = 50;
34
35
36
37
    /**
     * 订单池
     */
pengcheng authored
38
39
    public static final Integer RECEIPT_HEADER_POOL = 100;
40
41
42
    /**
     * 入库预约
     */
pengcheng authored
43
44
    public static final Integer RECEIPT_HEADER_RESERVATION = 120;
45
46
47
    /**
     * 入库到货
     */
pengcheng authored
48
49
    public static final Integer RECEIPT_HEADER_ARRIVAL = 150;
50
51
52
    /**
     * 入库质检
     */
pengcheng authored
53
54
    public static final Integer RECEIPT_HEADER_CHECK = 180;
55
56
57
    /**
     * 收货
     */
pengcheng authored
58
59
    public static final Integer RECEIPT_HEADER_RECEIVING = 200;
60
61
62
    /**
     * 定位
     */
pengcheng authored
63
64
    public static final Integer RECEIPT_HEADER_POSITION = 240;
65
66
67
    /**
     * 等待上架
     */
pengcheng authored
68
69
    public static final Integer RECEIPT_HEADER_WAIT = 280;
70
71
72
    /**
     * 上架
     */
pengcheng authored
73
74
    public static final Integer RECEIPT_HEADER_SHELF = 300;
75
76
77
    /**
     * 过账
     */
pengcheng authored
78
79
    public static final Integer RECEIPT_HEADER_POSTING = 800;
80
81
82
    /**
     * 回传
     */
pengcheng authored
83
84
    public static final Integer RECEIPT_HEADER_RETURN = 900;
85
    // 出库单状态
pengcheng authored
86
87
88
89
    /**
     * 新建
     */
pengcheng authored
90
91
    public static final Integer SHIPMENT_HEADER_BUILD = 0;
92
93
94
    /**
     * 订单池
     */
pengcheng authored
95
96
    public static final Integer SHIPMENT_HEADER_POOL = 100;
97
98
99
    /**
     * 出库预约
     */
pengcheng authored
100
101
    public static final Integer SHIPMENT_HEADER_RESERVATION = 120;
102
103
104
    /**
     * 订单分析
     */
pengcheng authored
105
106
    public static final Integer SHIPMENT_HEADER_ANALYSIS = 150;
107
108
109
    /**
     * 波次
     */
pengcheng authored
110
111
    public static final Integer SHIPMENT_HEADER_WAVE = 200;
112
113
114
    /**
     * 出库组盘
     */
pengcheng authored
115
116
    public static final Integer SHIPMENT_HEADER_GROUPDISK = 300;
117
118
119
    /**
     * 拣货完成
     */
pengcheng authored
120
121
    public static final Integer SHIPMENT_HEADER_COMPLETED = 500;
122
123
124
    /**
     * 发运
     */
pengcheng authored
125
126
    public static final Integer SHIPMENT_HEADER_SHIPPING = 800;
127
128
129
    /**
     * 回传
     */
pengcheng authored
130
131
    public static final Integer SHIPMENT_HEADER_RETURN = 900;
132
    // 单据上传状态
pengcheng authored
133
134
135
136
    /**
     * 未上传
     */
pengcheng authored
137
138
    public static final Integer UPLOAD_NOT = 0;
139
140
141
    /**
     * 上传失败
     */
pengcheng authored
142
143
    public static final Integer UPLOAD_FAILED = 10;
144
145
146
    /**
     * 上架完成
     */
pengcheng authored
147
148
    public static final Integer UPLOAD_SUCCESS = 20;
149
    // 入库组盘状态
pengcheng authored
150
151
152
153
    /**
     * 新建
     */
pengcheng authored
154
155
    public static final Integer RECEIPT_CONTAINER_BUILD = 0;
156
157
158
159
    /**
     * 生成任务
     */
    public static final Integer RECEIPT_CONTAINER_TASK = 10;
pengcheng authored
160
161
162
163
    /**
     * 上架完成
     */
pengcheng authored
164
165
    public static final Integer RECEIPT_CONTAINER_FINISHED = 20;
166
167
168
    /**
     * 复核完成
     */
pengcheng authored
169
170
    public static final Integer RECEIPT_CONTAINER_REVIEWSUCCESS = 30;
171
    // 出库组盘状态
pengcheng authored
172
173
174
175
    /**
     * 新建
     */
pengcheng authored
176
177
    public static final Integer SHIPMENT_CONTAINER_BUILD = 0;
178
179
180
181
    /**
     * 生成任务
     */
    public static final Integer SHIPMENT_CONTAINER_TASK = 10;
pengcheng authored
182
183
184
185
    /**
     * 拣货完成
     */
pengcheng authored
186
187
    public static final Integer SHIPMENT_CONTAINER_FINISHED = 20;
188
189
190
    /**
     * 复核完成
     */
pengcheng authored
191
192
193
    public static final Integer SHIPMENT_CONTAINER_REVIEWSUCCESS = 30;
194
    // 任务类型
pengcheng authored
195
196
197
198
    /**
     * 整盘入库
     */
游杰 authored
199
    public static final int TASK_TYPE_WHOLERECEIPT = 100;
pengcheng authored
200
201
202
203
    /**
     * 补充入库
     */
游杰 authored
204
    public static final int TASK_TYPE_SUPPLEMENTRECEIPT = 200;
pengcheng authored
205
206
207
208
    /**
     * 整盘出库
     */
游杰 authored
209
    public static final int TASK_TYPE_WHOLESHIPMENT = 300;
pengcheng authored
210
211
212
213
    /**
     * 分拣出库
     */
游杰 authored
214
    public static final int TASK_TYPE_SORTINGSHIPMENT = 400;
pengcheng authored
215
216
217
218
    /**
     * 空容器入库
     */
游杰 authored
219
    public static final int TASK_TYPE_EMPTYRECEIPT = 500;
pengcheng authored
220
221
222
223
    /**
     * 空容器出库
     */
游杰 authored
224
    public static final int TASK_TYPE_EMPTYSHIPMENT = 600;
pengcheng authored
225
226
227
228
    /**
     * 盘点
     */
游杰 authored
229
    public static final int TASK_TYPE_CYCLECOUNT = 700;
pengcheng authored
230
231
232
233
    /**
     * 移库
     */
游杰 authored
234
    public static final int TASK_TYPE_TRANSFER = 800;
pengcheng authored
235
236
237
238
    /**
     * 出库查看
     */
游杰 authored
239
    public static final int TASK_TYPE_VIEW = 900;
pengcheng authored
240
241
242
243
    /**
     * 过站
     */
游杰 authored
244
245
    public static final int TASK_TYPE_OVER_STATION = 1000;
246
247
248
    /**
     * 空托盘组入库
     */
游杰 authored
249
250
    public static final int TASK_TYPE_MANY_EMPTYRECEIPT = 1100;
251
252
253
    /**
     * 空托盘组出库
     */
游杰 authored
254
255
    public static final int TASK_TYPE_MANY_EMPTYSHIPMENT = 1200;
pengcheng authored
256
257
    // 任务状态
pengcheng authored
258
259
260
261
    /**
     * 生成任务
     */
游杰 authored
262
    public static final int TASK_STATUS_BUILD = 1;
pengcheng authored
263
264
265
266
    /**
     * 下达任务
     */
游杰 authored
267
    public static final int TASK_STATUS_RELEASE = 10;
pengcheng authored
268
269
270
271
    /**
     * 开始执行
     */
游杰 authored
272
    public static final int TASK_STATUS_RUNNING = 20;
pengcheng authored
273
274
275
276
    /**
     * 到达拣选站台
     */
游杰 authored
277
278
    public static final int TASK_STATUS_ARRIVED_STATION = 50;
279
280
281
    /**
     * 任务完成
     */
游杰 authored
282
    public static final int TASK_STATUS_COMPLETED = 100;
pengcheng authored
283
284
285
    // 波次状态
pengcheng authored
286
287
288
289
    /**
     * 未执行
     */
pengcheng authored
290
    public static final Integer WAVE_STATUS_BUILD = 10;
pengcheng authored
291
292
293
294
    /**
     * 执行中
     */
pengcheng authored
295
    public static final Integer WAVE_STATUS_START = 20;
pengcheng authored
296
297
298
299
    /**
     * 结束
     */
pengcheng authored
300
    public static final Integer WAVE_STATUS_END = 30;
pengcheng authored
301
302
303
304
    /**
     * 执行失败
     */
pengcheng authored
305
    public static final Integer WAVE_STATUS_ERROR = 40;
pengcheng authored
306
307
308
309
    /**
     * 波次新建
     */
pengcheng authored
310
    public static final Integer WAVE_STEP_BUILD = 0;
pengcheng authored
311
312
313
314
    /**
     * 剔除订单
     */
pengcheng authored
315
    public static final Integer WAVE_STEP_CULL = 5;
pengcheng authored
316
317
318
319
    /**
     * 波次执行
     */
pengcheng authored
320
321
    public static final Integer WAVE_STEP_START = 10;
322
323
324
    /**
     * 波次释放
     */
pengcheng authored
325
326
    public static final Integer WAVE_STEP_FREED = 130;
327
328
329
    /**
     * 波次完成
     */
pengcheng authored
330
    public static final Integer WAVE_STEP_END = 100;
pengcheng authored
331
332
333
334
    /**
     * 波次失败
     */
pengcheng authored
335
    public static final Integer WAVE_STEP_ERROR = 120;
pengcheng authored
336
337
338
    // 质检状态
pengcheng authored
339
340
341
342
    /**
     * 新建
     */
pengcheng authored
343
344
    public static final Integer CHECK_STATUS_BUILD = 0;
345
346
347
    /**
     * 质检中
     */
pengcheng authored
348
349
    public static final Integer CHECK_STATUS_IN = 10;
350
351
352
    /**
     * 质检完成
     */
pengcheng authored
353
354
355
    public static final Integer CHECK_STATUS_COMPLETED = 20;
356
    // 盘点状态
pengcheng authored
357
358
359
360
    /**
     * 新建
     */
pengcheng authored
361
362
    public static final Integer CYCLECOUNT_STATUS_BUILD = 1;
363
364
365
    /**
     * 盘点任务生成
     */
pengcheng authored
366
367
    public static final Integer CYCLECOUNT_STATUS_BUILDTASK = 5;
368
369
370
    /**
     * 执行中
     */
pengcheng authored
371
372
    public static final Integer CYCLECOUNT_STATUS_EXECUTING = 10;
373
374
375
    /**
     * 已登记
     */
376
    public static final Integer CYCLECOUNT_STATUS_REGISTERED = 15;
pengcheng authored
377
378
379
380
    /**
     * 审核
     */
pengcheng authored
381
382
    public static final Integer CYCLECOUNT_STATUS_REVIEW = 30;
383
384
385
    /**
     * 关闭
     */
pengcheng authored
386
387
    public static final Integer CYCLECOUNT_STATUS_CLOSE = 99;
388
389
390
    /**
     * 盘点完成
     */
pengcheng authored
391
392
    public static final Integer CYCLECOUNT_STATUS_COMPLETED = 100;
393
394
395
    /**
     * 盘点有差异
     */
396
397
    public static final Integer CYCLECOUNT_STATUS_DIFFERENCE = 105;
398
399
400
    /**
     * 已生成调整单
     */
401
402
    public static final Integer CYCLECOUNT_STATUS_GENERATEADJUST = 110;
pengcheng authored
403
404
    // 库存交易类型
pengcheng authored
405
406
407
408
    /**
     * 入库
     */
pengcheng authored
409
410
    public static final Integer INVENTORY_TRANSACTION_RECEIPT = 10;
411
412
413
    /**
     * 出库
     */
pengcheng authored
414
415
    public static final Integer INVENTORY_TRANSACTION_SHIPMENT = 20;
416
417
418
    /**
     * 调整入
     */
pengcheng authored
419
420
    public static final Integer INVENTORY_TRANSACTION_ADJUSTINTO = 30;
421
422
423
    /**
     * 调整出
     */
pengcheng authored
424
425
    public static final Integer INVENTORY_TRANSACTION_ADJUSTOUT = 40;
426
427
428
    /**
     * 调整属性
     */
pengcheng authored
429
430
    public static final Integer INVENTORY_TRANSACTION_ADJUSTPROPERTIES = 50;
431
432
433
    /**
     * 盘点
     */
pengcheng authored
434
435
    public static final Integer INVENTORY_TRANSACTION_CYCLECOUNT = 60;
436
437
438
    /**
     * 移库入
     */
pengcheng authored
439
440
    public static final Integer INVENTORY_TRANSACTION_TRANSFERINTO = 70;
441
442
443
    /**
     * 移库出
     */
pengcheng authored
444
445
    public static final Integer INVENTORY_TRANSACTION_TRANSFEROUT = 80;
446
447
448
449
450
    /**
     * 报废出库
     */
    public static final Integer INVENTORY_TRANSACTION_SCRAP = 90;
pengcheng authored
451
452
    // 调整单状态
pengcheng authored
453
454
455
456
    /**
     * 未批准
     */
pengcheng authored
457
458
    public static final Integer ADJUST_STATUS_NOAPPROVED = 0;
459
460
461
    /**
     * 已批准
     */
pengcheng authored
462
463
    public static final Integer ADJUST_STATUS_APPROVED = 1;
464
465
466
    /**
     * 待调整
     */
pengcheng authored
467
468
    public static final Integer ADJUST_STATUS_WAIT = 2;
469
470
471
    /**
     * 已调整
     */
pengcheng authored
472
473
474
    public static final Integer ADJUST_STATUS_STOP = 3;
475
    // 任务内部类型
pengcheng authored
476
477
478
479
    /**
     * 上架任务
     */
游杰 authored
480
    public static final Integer TASK_INTENERTYPE_RECEIPT = 100;
pengcheng authored
481
482
483
484
    /**
     * 拣货任务
     */
游杰 authored
485
    public static final Integer TASK_INTENERTYPE_SHIPMENT = 200;
pengcheng authored
486
487
488
489
    /**
     * 工作任务
     */
游杰 authored
490
    public static final Integer TASK_INTENERTYPE_WORK = 300;
pengcheng authored
491
492
493
494
    /**
     * 盘点任务
     */
游杰 authored
495
    public static final Integer TASK_INTENERTYPE_CYCLECOUNT = 400;
pengcheng authored
496
pengyongcheng authored
497
498
499
500
501
    /**
     * 换站任务
     */
    public static final Integer TASK_INTENERTYPE_OVERSTATION = 1000;
pengyongcheng authored
502
503
504
505
506
    /**
     * 人工装配任务
     */
    public static final Integer TASK_INTENERTYPE_ASSEMBLE = 1100;
pengcheng authored
507
508
    // 质检单类型
pengcheng authored
509
510
511
512
    /**
     * 入库质检
     */
pengcheng authored
513
514
    public static final Integer CHECK_TYPE_RECEIPT = 100;
515
516
517
    /**
     * 在库全检
     */
pengcheng authored
518
519
    public static final Integer CHECK_TYPE_FULL = 200;
520
521
522
    /**
     * 在库抽检
     */
pengcheng authored
523
524
    public static final Integer CHECK_TYPE_SELECT = 300;
525
526
527
    /**
     * 空货架
     */
pengcheng authored
528
    public static final Integer POINTS_EMPTY = 0;
pengcheng authored
529
530
531
532
    /**
     * 非空货架
     */
pengcheng authored
533
    public static final Integer POINTS_SOME = 1;
游杰 authored
534
535
536
537
538
    // 双伸位,内外侧库位(深浅库位)
    /**
     * 外侧库位(深库位)
     */
游杰 authored
539
    public static final int ROW_OUT = 1;
540
541
542
543

    /**
     * 内库位(浅库位)
     */
游杰 authored
544
    public static final int ROW_IN = 0;
游杰 authored
545
546
547
548
    /**
     * WCS任务下发
     */
549
    public static final String ADDRESS_WCS_TASK_ASSIGN = "WCS_TASK_ASSIGN";
550
551
552
553

    /**
     * WCS任务取消
     */
554
    public static final String ADDRESS_WCS_TASK_CANCEL = "WCS_TASK_CANCEL";
555
556
557
558

    /**
     * WCS任务信息查询
     */
559
    public static final String ADDRESS_WCS_TASK_INFO = "WCS_TASK_INFO";
560
561
562
563

    /**
     * WCS设置任务优先级
     */
564
    public static final String ADDRESS_WCS_TASK_PRIORITY_CHANGE = "WCS_TASK_PRIORITY_CHANGE";
565
566
567
568

    /**
     * WCS站台信息查询
     */
569
    public static final String ADDRESS_WCS_STATION_INFOS = "WCS_STATION_INFOS";
570
571
572
573

    /**
     * WCS获取可用巷道
     */
574
    public static final String ADDRESS_WCS_AVAILABLE_ROADWAY = "WCS_AVAILABLE_ROADWAY";
575
576
577
578

    /**
     * 拆盘机地址
     */
游杰 authored
579
    public static final String ADDRESS_WCS_MANY_EMPTY_CONTAINER = "WCS_MANY_EMPTY_CONTAINER";
580
581
582
583
584
585
    // 系统简称

    /**
     * ERP
     */
586
    public static final String PLATFORM_ERP = "ERP";
587
588
589
590

    /**
     * WMS
     */
591
    public static final String PLATFORM_WMS = "WMS";
592
593

    /**
pengyongcheng authored
594
595
596
597
598
     * WCS
     */
    public static final String PLATFORM_WCS = "WCS";

    /**
599
600
     * MES
     */
601
    public static final String PLATFORM_MES = "MES";
602
603
604
605
606
607

    // 物料质量

    /**
     * 良品
     */
游杰 authored
608
    public static final String GOOD = "good";
609
610
611
612
613

    // 常见字符串常量
    /**
     * 空字符 ""
     */
614
    public static final String EMPTY_STRING = "";
615
616
617
618

    /**
     * 英文逗号 ,
     */
619
    public static final String COMMA_STRING = ",";
游杰 authored
620
621
622
623
624
625
    // 站台类型

    /**
     * 入库站台
     */
626
    public static final int STATION_IN = 1;
627
628
629
630

    /**
     * 出库站台
     */
631
    public static final int STATION_OUT = 2;
632
633
634
635

    /**
     * 分拣站台
     */
636
    public static final int STATION_PICK = 3;
637
638
639
640

    /**
     * 可分拣、可出站台
     */
641
    public static final int STATION_PICK_AND_OUT = 4;
642
643
644
645
    // 传爆管的特殊 入库/出库口
    public static final String STATION_ST0448 = "ST0448";
646
647
648
    // 传爆管缓存位出库目标料点
    public static final String STATION_ST0447 = "ST0447";
pengyongcheng authored
649
650
651
    // 传爆管人工装配口
    public static final String STATION_ST0000 = "ST0000";
652
653
654
    // 传爆管三层库位六个库位:
    // 站台第三个字符为1的靠近提升机,优先出库
    // 站台第三个字符为1的远离提升机,优先入库
655
656
    public static final String STATION_XT0446 = "XT0446";
    public static final String STATION_XT1446 = "XT1446";
657
658
659
660
661
    public static final String STATION_ST0444 = "ST0444";
    public static final String STATION_ST1444 = "ST1444";
    public static final String STATION_ST0443 = "ST0443";
    public static final String STATION_ST1443 = "ST1443";
662
663
664
665
666
    // 容器状态

    /**
     * 空闲
     */
游杰 authored
667
    public static final String STATUS_CONTAINER_EMPTY = "empty";
668
669
670
671

    /**
     * 锁定
     */
672
    public static final String STATUS_CONTAINER_LOCK = "lock";
673
674
675
676

    /**
     * 有货
     */
游杰 authored
677
    public static final String STATUS_CONTAINER_SOME = "some";
678
679
680
681

    /**
     * 满货
     */
682
    public static final String STATUS_CONTAINER_FULL = "full";
683
684
685
686

    /**
     * 空托盘组
     */
游杰 authored
687
    public static final String STATUS_CONTAINER_MANY = "many";
688
689
690
691
692
693
694
    // 库位状态

    /**
     * 空闲
     */
游杰 authored
695
    public static final String STATUS_LOCATION_EMPTY = "empty";
696
697
698
699

    /**
     * 锁定
     */
游杰 authored
700
    public static final String STATUS_LOCATION_LOCK = "lock";
游杰 authored
701
702
703
704
705
706
    // 参数设置

    /**
     * 出库任务规则
     */
707
    public static final String RULE_SHIPMENT_TASK = "shipmentTaskRule";
708
709
710
711

    /**
     * 分配库位原则
     */
游杰 authored
712
    public static final String RULE_TASK_LOCATION = "taskLocationRule";
713
714
715
716

    /**
     * 连接WCS
     */
717
    public static final String RULE_CONNECT_WCS = "connectWcs";
周峰 authored
718
    public static final String CALL_BACK_TIMES = "callBackTimes";
719
720
721
722

    /**
     * 单双伸位处理
     */
游杰 authored
723
    public static final String RULE_ALLOCATION = "allocationRule";
724
725
726
727

    /**
     * 双伸位预留库位
     */
728
    public static final String DOUBLE_FORK_RESERVE_LOCATION = "doubleForkReserveLocation";
游杰 authored
729
730
731
732
733
    // 双伸位
    /**
     * 双伸位
     */
游杰 authored
734
    public static final int DOUBLE_FORK = 1;
735
736
737
738

    /**
     * 单伸位
     */
游杰 authored
739
    public static final int SINGLE_FORK = 0;
游杰 authored
740
741
742
743
744
745
    // 参数配置任务是否设置目标库位

    /**
     * 设置目标库位
     */
游杰 authored
746
    public static final int RULE_TASK_SET_LOCATION = 1;
747
748
749
750

    /**
     * 不目标库位
     */
游杰 authored
751
    public static final int RULE_TASK_NOT_LOCATION = 0;
752
753
754
755

    public static final int RULE_TASK_PICK_SHIPMENT = 1;
    public static final int RULE_TASK_WHOLE_SHIPMENT = 0;
756
    // 参数配置是否连接WCS
757
758
    public static final int RULE_WCS_CONNECT = 1;
    public static final int RULE_WCS_DISCONNECT = 0;
759
游杰 authored
760
761
    public static final int NOT_MATERIAL_AREAS = 0;
762
763
764
    public static final int RYTASK_STATUS_RUN = 0;
    public static final int RYTASK_STATUS_STOP = 1;
765
766
767
    public static final int DOUBLE_IN = 1;
    public static final int NORMAL_IN = 0;
pengyongcheng authored
768
769
770
771
772
773
774
    // 出库单类型

    /**
     * 出库单类型:报废出库单
     */
    public static final String SHIPMENT_BILL_TYPE_SCRAP = "DOW";
775
    /**
776
777
778
779
780
     * 出库单类型:报废出库单
     */
    public static final String SHIPMENT_BILL_TYPE_SPECIAL = "TS";

    /**
781
782
783
784
     * 出库单类型:工单领料单
     */
    public static final String SHIPMENT_BILL_TYPE_OTF = "OTF";
785
786
787
788
789
    // 是否重入

    /**
     * 重入
     */
790
    public static final int EMPTY_OUT = 1;
791
792
793
794

    /**
     * 正常
     */
795
    public static final int NORMAL_OUT = 0;
796
797
798
799

    /**
     * 空出已处理,不能重复处理
     */
800
    public static final int EMPTY_OUT_PROSESS = 2;
801
802
803
804
805
806
    // 默认参数值

    /**
     * 仓库编码
     */
肖超群 authored
807
    public static final String DEFAULT_WAREHOUSE = "CS0001";
808
809
810
811

    /**
     * 货主编码
     */
812
    public static final String DEFAULT_COMPANY_CODE = "BHF";
813
814
815
816
817

    /**
     * 物料分区
     */
    public static final String DEFAULT_AREA = "1";
818
819
    public static String ryTask_warehouse_code;
820
821
822
823
    /**
     * 是否为原材料,入库组盘
     */
824
    public static final Boolean IS_MATERIAL = true;
825
826
    /**
pengyongcheng authored
827
     * MES 回传
828
     */
pengyongcheng authored
829
    public static final String ADDRESS_MES = "MES_BACK";
830
831
832
833

    /**
     * MES指定任务完成 返回 1
     */
834
    public static final Integer MES_TASK_COMPLETE = 1;
835
836
837
838
    /**
     * 任务完成已回传
     */
839
    public static final Integer MES_TASK_BACK = 1;
840
841
842
843

    /**
     * 任务完成未回传
     */
844
845
    public static final Integer MES_TASK_NOT_BACK = 0;
846
847
848
849
    // 领料单状态
    /**
     * 删除领料单
     */
850
    public static final Integer MES_SHIPMENT_BILL_REMOVE = 5;
851
852

    // 入库单类型
853
854
855
    /**
     * 原材料入库类型
     **/
856
    public static final String RECEIPT_TYPE_RAW = "RAW";
857
858
859
    /**
     * 余料回库类型
     **/
860
    public static final String RECEIPT_TYPE_BACK = "BACK";
861
    /**
862
863
864
865
866
867
868
869
870
871
872
873
     * 自检余料退回类型
     **/
    public static final String RECEIPT_TYPE_BACK_SELF = "BACK_SELF";
    /**
     * 所检余料退回类型
     **/
    public static final String RECEIPT_TYPE_BACK_OFFICE = "BACK_OFFICE";
    /**
     * 军检余料退回类型
     **/
    public static final String RECEIPT_TYPE_BACK_ARMY = "BACK_ARMY";
    /**
874
875
     * 半成品入库类型
     **/
周峰 authored
876
    public static final String RECEIPT_TYPE_SEMI = "SEMI";
877
878
879
880
    /**
     * 虚拟入库类型
     **/
    public static final String RECEIPT_TYPE_VIRTUAL = "RXN";
pengyongcheng authored
881
882
883
884
    /**
     * 调拨入库单
     */
    public static final String RECEIPT_TYPE_ALLOT = "ALLOT";
885
886
887
888
889
890

    // 出库单类型
    /**
     * 虚拟出库单
     */
    public static final String SHIPMENT_TYPE_VIRTUAL = "SXN";
891
892
893
894
895
896
    /**
     * 缓存库清库调拨单
     */
    public static final String SHIPMENT_TYPE_BACK_VIRTUAL = "BACKXN";
897
898
899
900
901
    /**
     * 抽样质检出库单
     */
    public static final String SHIPMENT_TYPE_QC = "QC";
902
903
904
905
    // 可用状态
    /**
     * 可用状态: 可用
     */
906
    public static final Boolean STATUS_ENABLE = true;
907
908
909
    /**
     * 可用状态:不可用
     */
910
    public static final Boolean STATUS_DISABLE = false;
911
912

    // 盛具类型
913
914
915
    /**
     * 通用盛具类型
     */
916
    public static final String VEHICLE_TYPE_COMMON = "CJ10000";
917
918
919
920
921
922
923
924
925
926

    // 库存状态
    /**
     * 合格品
     */
    public static final String INVENTORY_STATUS_OK = "1";
    /**
     * 不合格品
     */
    public static final String INVENTORY_STATUS_NG = "0";
927
928
929
930
931
932
933
    // 库位类型
    /**
     * 虚拟库位
     */
    public static final String LOCATION_TYPE_VIRTUAL = "XNKW";
934
935
936
937
    // 载具类型
    /**
     * 虚拟载具
     */
938
939
940
941
942
943
944
945
946
947
948
949
950
    public static final String CONTAINER_TYPE_VIRTUAL = "XNZJ";

    // 盛具类型
    /**
     * 虚拟盛具
     */
    public static final String VEHICLE_TYPE_VIRTUAL = "XNCJ";

    // 库区类型
    /**
     * 虚拟库区
     */
    public static final String ZONE_TYPE_VIRTUAL = "KC05";
pengyongcheng authored
951
952
953
954
955

    /**
     * 传爆管立库库区
     */
    public static final String ZONE_TYPE_CBGSOLID = "KC06";
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

    // 抽样类型
    /**
     * 自检
     */
    public static final Integer SAMPLE_TYPE_SELF = 1;

    /**
     * 所检
     */
    public static final Integer SAMPLE_TYPE_OFFICE = 2;

    /**
     * 军检
     */
    public static final Integer SAMPLE_TYPE_ARMY = 3;


    // 抽样状态
    /**
     * 未抽样
     */
    public static final Integer SAMPLE_STATUS_NO = 2;

    /**
     * 已抽样
     */
    public static final Integer SAMPLE_STATUS_YES = 3;

    /**
     * 抽样完成
     */
    public static final Integer SAMPLE_STATUS_FINISH = 6;
989
}