Blame view

src/main/java/com/huaheng/common/constant/QuantityConstant.java 8.32 KB
pengcheng authored
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.huaheng.common.constant;

/**
 * 数字自定义常量
 *
 * @author  ricard
 */
public class QuantityConstant {
    /**
     * 1、入库单状态
     * 2、出库单状态
     * 3、单据上传状态
     * 4、入库组盘状态
     * 5、出库组盘状态
     * 6、任务类型
     * 7、任务状态
     * 8、波次状态
     * 9、质检状态
     * 10、盘点状态
DESKTOP-AO0VKC8\mahua authored
20
     * 11INVENTORY_TRANSACTION_RECEIPT
pengcheng authored
21
22
23
24
25
26
27
28
29
30
31
     * 12、调整单状态
     * 13、任务内部类型
     * 14、质检单类型
     */

    //1、入库单状态

    //新建
    public static final Integer RECEIPT_HEADER_BUILD = 0;

    //等待审核
32
    public static final Integer RECEIPT_HEADER_VERIFYING = 5;
pengcheng authored
33
34

    //驳回
35
    public static final Integer RECEIPT_HEADER_REJECTED = 10;
pengcheng authored
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

    //作废
    public static final Integer RECEIPT_HEADER_OBSOLETE = 20;

    //订单池
    public static final Integer RECEIPT_HEADER_POOL = 100;

    //入库预约
    public static final Integer RECEIPT_HEADER_RESERVATION = 120;

    //入库到货
    public static final Integer RECEIPT_HEADER_ARRIVAL = 150;

    //入库质检
    public static final Integer RECEIPT_HEADER_CHECK = 180;

    //收货
    public static final Integer RECEIPT_HEADER_RECEIVING = 200;

    //定位
    public static final Integer RECEIPT_HEADER_POSITION = 240;

    //等待上架
    public static final Integer RECEIPT_HEADER_WAIT = 280;
61
    /** 上架 */
pengcheng authored
62
63
    public static final Integer RECEIPT_HEADER_SHELF = 300;
DESKTOP-AO0VKC8\mahua authored
64
    /** 过账*/
pengcheng authored
65
66
    public static final Integer RECEIPT_HEADER_POSTING = 800;
DESKTOP-AO0VKC8\mahua authored
67
    /** 回传 */
pengcheng authored
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
    public static final Integer RECEIPT_HEADER_RETURN = 900;





    //2、出库单状态

    //新建
    public static final Integer SHIPMENT_HEADER_BUILD = 0;

    //订单池
    public static final Integer SHIPMENT_HEADER_POOL = 100;

    //出库预约
    public static final Integer SHIPMENT_HEADER_RESERVATION = 120;

    //订单分析
    public static final Integer SHIPMENT_HEADER_ANALYSIS = 150;

    //波次
    public static final Integer SHIPMENT_HEADER_WAVE = 200;

    //出库组盘
    public static final Integer SHIPMENT_HEADER_GROUPDISK = 300;

    //拣货完成
    public static final Integer SHIPMENT_HEADER_COMPLETED = 500;

    //发运
    public static final Integer SHIPMENT_HEADER_SHIPPING = 800;

    //回传
    public static final Integer SHIPMENT_HEADER_RETURN = 900;




    //3、单据上传状态

    //未上传
    public static final Integer UPLOAD_NOT = 0;

    //上传失败
    public static final Integer UPLOAD_FAILED = 10;

    //上架完成
    public static final Integer UPLOAD_SUCCESS = 20;




    //4、入库组盘状态

    //新建
    public static final Integer RECEIPT_CONTAINER_BUILD = 0;
125
    /** 生成任务 */
pengcheng authored
126
127
    public static final Integer RECEIPT_CONTAINER_TASK= 10;
128
    /**上架完成 */
pengcheng authored
129
130
    public static final Integer RECEIPT_CONTAINER_FINISHED = 20;
131
    /** 复核完成*/
pengcheng authored
132
133
134
135
136
137
    public static final Integer RECEIPT_CONTAINER_REVIEWSUCCESS = 30;



    //5、出库组盘状态
138
    /** 新建 */
pengcheng authored
139
140
    public static final Integer SHIPMENT_CONTAINER_BUILD = 0;
141
    /** 生成任务 */
pengcheng authored
142
143
    public static final Integer SHIPMENT_CONTAINER_TASK= 10;
144
    /** 拣货完成 */
pengcheng authored
145
146
    public static final Integer SHIPMENT_CONTAINER_FINISHED = 20;
147
    /** 复核完成 */
pengcheng authored
148
149
150
151
152
153
    public static final Integer SHIPMENT_CONTAINER_REVIEWSUCCESS = 30;



    //6、任务类型
154
    /** 整盘入库 */
pengcheng authored
155
156
    public static final Integer TASK_TYPE_WHOLERECEIPT = 100;
157
    /** 补充入库 */
pengcheng authored
158
159
    public static final Integer TASK_TYPE_SUPPLEMENTRECEIPT = 200;
160
    /** 整盘出库 */
pengcheng authored
161
162
    public static final Integer TASK_TYPE_WHOLESHIPMENT = 300;
163
    /** 分拣出库 */
pengcheng authored
164
165
    public static final Integer TASK_TYPE_SORTINGSHIPMENT = 400;
166
    /** 空容器入库 */
pengcheng authored
167
168
    public static final Integer TASK_TYPE_EMPTYRECEIPT = 500;
169
    /** 空容器出库 */
pengcheng authored
170
171
    public static final Integer TASK_TYPE_EMPTYSHIPMENT = 600;
172
    /** 盘点 */
pengcheng authored
173
174
    public static final Integer TASK_TYPE_CYCLECOUNT = 700;
175
    /** 移库 */
pengcheng authored
176
177
    public static final Integer TASK_TYPE_TRANSFER = 800;
178
    /** 出库查看 */
pengcheng authored
179
180
181
182
183
184
    public static final Integer TASK_TYPE_VIEW = 900;



    //7、任务状态
185
    /** 生成任务 */
pengcheng authored
186
187
    public static final Integer TASK_STATUS_BUILD = 1;
188
    /** 下达任务 */
pengcheng authored
189
190
    public static final Integer TASK_STATUS_RELEASE = 10;
191
    /** 开始执行 */
pengcheng authored
192
193
    public static final Integer TASK_STATUS_RUNNING = 20;
194
    /** 任务完成 */
pengcheng authored
195
196
197
198
199
    public static final Integer TASK_STATUS_COMPLETED = 100;


    //8、波次状态
pengcheng authored
200
201
    //未执行
    public static final Integer WAVE_STATUS_BUILD = 10;
pengcheng authored
202
pengcheng authored
203
204
    //执行中
    public static final Integer WAVE_STATUS_START = 20;
pengcheng authored
205
pengcheng authored
206
207
    //结束
    public static final Integer WAVE_STATUS_END = 30;
pengcheng authored
208
pengcheng authored
209
210
    //执行失败
    public static final Integer WAVE_STATUS_ERROR = 40;
pengcheng authored
211
212
pengcheng authored
213
214
    //波次新建
    public static final Integer WAVE_STEP_BUILD = 0;
pengcheng authored
215
pengcheng authored
216
217
    //剔除订单
    public static final Integer WAVE_STEP_CULL = 5;
pengcheng authored
218
pengcheng authored
219
220
221
222
223
224
225
226
    //波次执行
    public static final Integer WAVE_STEP_START = 10;

    //波次释放
    public static final Integer WAVE_STEP_FREED = 130;

    //波次完成
    public static final Integer WAVE_STEP_END = 100;
pengcheng authored
227
pengcheng authored
228
229
    //波次失败
    public static final Integer WAVE_STEP_ERROR = 120;
pengcheng authored
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




    //9、质检状态

    //新建
    public static final Integer CHECK_STATUS_BUILD = 0;

    //质检中
    public static final Integer CHECK_STATUS_IN = 10;

    //质检完成
    public static final Integer CHECK_STATUS_COMPLETED = 20;



    //10、盘点状态

    //新建
    public static final Integer CYCLECOUNT_STATUS_BUILD = 1;

    //盘点任务生成
    public static final Integer CYCLECOUNT_STATUS_BUILDTASK = 5;

    //执行中
    public static final Integer CYCLECOUNT_STATUS_EXECUTING = 10;

    //已登记
    public static final Integer CYCLECOUNT_STATUS_REGISTERED= 15;

    //审核
    public static final Integer CYCLECOUNT_STATUS_REVIEW = 30;

    //关闭
    public static final Integer CYCLECOUNT_STATUS_CLOSE = 99;

    //盘点完成
    public static final Integer CYCLECOUNT_STATUS_COMPLETED = 100;
270
271
272
    //盘点有差异
    public static final Integer CYCLECOUNT_STATUS_DIFFERENCE = 105;
pengcheng authored
273
    //已生成调整单
274
275
    public static final Integer CYCLECOUNT_STATUS_GENERATEADJUST = 110;
pengcheng authored
276
277
278
279
280



    //11、库存交易类型
DESKTOP-AO0VKC8\mahua authored
281
    /** 入库 */
pengcheng authored
282
283
    public static final Integer INVENTORY_TRANSACTION_RECEIPT = 10;
DESKTOP-AO0VKC8\mahua authored
284
    /** 出库 */
pengcheng authored
285
286
    public static final Integer INVENTORY_TRANSACTION_SHIPMENT = 20;
DESKTOP-AO0VKC8\mahua authored
287
    /** 调整入 */
pengcheng authored
288
289
    public static final Integer INVENTORY_TRANSACTION_ADJUSTINTO = 30;
DESKTOP-AO0VKC8\mahua authored
290
    /** 调整出 */
pengcheng authored
291
292
    public static final Integer INVENTORY_TRANSACTION_ADJUSTOUT = 40;
DESKTOP-AO0VKC8\mahua authored
293
    /** 调整属性 */
pengcheng authored
294
295
    public static final Integer INVENTORY_TRANSACTION_ADJUSTPROPERTIES = 50;
DESKTOP-AO0VKC8\mahua authored
296
    /** 盘点 */
pengcheng authored
297
298
    public static final Integer INVENTORY_TRANSACTION_CYCLECOUNT = 60;
DESKTOP-AO0VKC8\mahua authored
299
    /** 移库入 */
pengcheng authored
300
301
    public static final Integer INVENTORY_TRANSACTION_TRANSFERINTO = 70;
DESKTOP-AO0VKC8\mahua authored
302
    /** 移库出 */
pengcheng authored
303
304
305
    public static final Integer INVENTORY_TRANSACTION_TRANSFEROUT = 80;
306
pengcheng authored
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
    //12、调整单状态

    //未批准
    public static final Integer ADJUST_STATUS_NOAPPROVED = 0;

    //已批准
    public static final Integer ADJUST_STATUS_APPROVED = 1;

    //待调整
    public static final Integer ADJUST_STATUS_WAIT = 2;

    //已调整
    public static final Integer ADJUST_STATUS_STOP = 3;


    //13、任务内部类型
324
    /** 上架任务*/
pengcheng authored
325
326
    public static final Integer TASK_INTENERTYPE_SHELF = 100;
327
    /** 拣货任务*/
pengcheng authored
328
329
    public static final Integer TASK_INTENERTYPE_PICKING = 200;
330
    /** 补货任务*/
pengcheng authored
331
332
    public static final Integer TASK_INTENERTYPE_SUPPLEMENT = 300;
333
    /** 工作任务*/
pengcheng authored
334
335
336
337
338
    public static final Integer TASK_INTENERTYPE_WORK = 400;

    //质检任务
    public static final Integer TASK_INTENERTYPE_CHECK = 500;
339
    /** 移库任务 */
pengcheng authored
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
    public static final Integer TASK_INTENERTYPE_TRANSFER = 600;

    //盘点任务
    public static final Integer TASK_INTENERTYPE_CYCLECOUNT = 700;



    //13、质检单类型

    //入库质检
    public static final Integer CHECK_TYPE_RECEIPT = 100;

    //在库全检
    public static final Integer CHECK_TYPE_FULL = 200;

    //在库抽检
    public static final Integer CHECK_TYPE_SELECT = 300;
pengcheng authored
358
359
    //空货架
    public static final Integer POINTS_EMPTY = 0;
pengcheng authored
360
pengcheng authored
361
362
    //非空货架
    public static final Integer POINTS_SOME = 1;
pengcheng authored
363
}