QuantityConstant.java 8.12 KB
package com.huaheng.common.constant;

/**
 * 数字自定义常量
 *
 * @author  ricard
 */
public class QuantityConstant {
    /**
     * 1、入库单状态
     * 2、出库单状态
     * 3、单据上传状态
     * 4、入库组盘状态
     * 5、出库组盘状态
     * 6、任务类型
     * 7、任务状态
     * 8、波次状态
     * 9、质检状态
     * 10、盘点状态
     * 11、库存交易类型
     * 12、调整单状态
     * 13、任务内部类型
     * 14、质检单类型
     */

    //1、入库单状态

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

    //等待审核
    public static final Integer RECEIPT_HEADER_MODERATED = 5;

    //驳回
    public static final Integer RECEIPT_HEADER_TURNDOWN = 10;

    //作废
    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;

    //上架
    public static final Integer RECEIPT_HEADER_SHELF = 300;

    //过账
    public static final Integer RECEIPT_HEADER_POSTING = 800;

    //回传
    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;

    //生成任务
    public static final Integer RECEIPT_CONTAINER_TASK= 10;

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

    //复核完成
    public static final Integer RECEIPT_CONTAINER_REVIEWSUCCESS = 30;



    //5、出库组盘状态

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

    //生成任务
    public static final Integer SHIPMENT_CONTAINER_TASK= 10;

    //拣货完成
    public static final Integer SHIPMENT_CONTAINER_FINISHED = 20;

    //复核完成
    public static final Integer SHIPMENT_CONTAINER_REVIEWSUCCESS = 30;



    //6、任务类型

    //整盘入库
    public static final Integer TASK_TYPE_WHOLERECEIPT = 100;

    //补充入库
    public static final Integer TASK_TYPE_SUPPLEMENTRECEIPT = 200;

    //整盘出库
    public static final Integer TASK_TYPE_WHOLESHIPMENT = 300;

    //分拣出库
    public static final Integer TASK_TYPE_SORTINGSHIPMENT = 400;

    //空容器入库
    public static final Integer TASK_TYPE_EMPTYRECEIPT = 500;

    //空容器出库
    public static final Integer TASK_TYPE_EMPTYSHIPMENT = 600;

    //盘点
    public static final Integer TASK_TYPE_CYCLECOUNT = 700;

    //移库
    public static final Integer TASK_TYPE_TRANSFER = 800;

    //出库查看
    public static final Integer TASK_TYPE_VIEW = 900;



    //7、任务状态

    //生成任务
    public static final Integer TASK_STATUS_BUILD = 1;

    //下达任务
    public static final Integer TASK_STATUS_RELEASE = 10;

    //开始执行
    public static final Integer TASK_STATUS_RUNNING = 20;

    //任务完成
    public static final Integer TASK_STATUS_COMPLETED = 100;


    //8、波次状态

    //新建波次
    public static final Integer WAVE_STATUS_BUILD = 0;

    //开始波次
    public static final Integer WAVE_STATUS_START = 100;

    //剔除不符合条件订单
    public static final Integer WAVE_STATUS_EXCLUDE = 150;

    //指定分配规则
    public static final Integer WAVE_STATUS_ASSIGN = 200;

    //分配库存
    public static final Integer WAVE_STATUS_ALLOCATION = 300;

    //订单分组
    public static final Integer WAVE_STATUS_GROUPING = 400;

    //创建货箱
    public static final Integer WAVE_STATUS_CREATECONTAINER = 500;

    //生成任务
    public static final Integer WAVE_STATUS_BUILDTASK = 600;

    //结束波次
    public static final Integer WAVE_STATUS_END = 900;

    //失败
    public static final Integer WAVE_STATUS_FAILED = 999;



    //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;

    //已生成调整单
    public static final Integer CYCLECOUNT_STATUS_GENERATEADJUST = 101;



    //11、库存交易类型

    //入库
    public static final Integer INVENTORY_TRANSACTION_RECEIPT = 10;

    //出库
    public static final Integer INVENTORY_TRANSACTION_SHIPMENT = 20;

    //调整入
    public static final Integer INVENTORY_TRANSACTION_ADJUSTINTO = 30;

    //调整出
    public static final Integer INVENTORY_TRANSACTION_ADJUSTOUT = 40;

    //调整属性
    public static final Integer INVENTORY_TRANSACTION_ADJUSTPROPERTIES = 50;

    //盘点
    public static final Integer INVENTORY_TRANSACTION_CYCLECOUNT = 60;

    //移库入
    public static final Integer INVENTORY_TRANSACTION_TRANSFERINTO = 70;

    //移库出
    public static final Integer INVENTORY_TRANSACTION_TRANSFEROUT = 80;


    //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、任务内部类型

    //上架任务
    public static final Integer TASK_INTENERTYPE_SHELF = 100;

    //拣货任务
    public static final Integer TASK_INTENERTYPE_PICKING = 200;

    //补货任务
    public static final Integer TASK_INTENERTYPE_SUPPLEMENT = 300;

    //工作任务
    public static final Integer TASK_INTENERTYPE_WORK = 400;

    //质检任务
    public static final Integer TASK_INTENERTYPE_CHECK = 500;

    //移库任务
    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;

    //空货架
    public static final Integer POINTS_EMPTY = 0;

    //非空货架
    public static final Integer POINTS_SOME = 1;
}