package com.sifang.modules.supply.order.constant;

/**
 * @author hongzq
 */
public class ApplyOrderConstants {
    /**
     * 已删除
     */
    public static final String DELETED = "0";

    /**
     * 待业务员审批
     */
    public static final String WAIT_YW_AUDIT = "1";

    /**
     * 待工程部审批
     */
    public static final String WAIT_GC_AUDIT = "2";

    /**
     * 待运管部审批
     */
    public static final String WAIT_YG_AUDIT = "3";

    /**
     * 审批未通过
     */
    public static final String AUDIT_FAIL = "4";

    /**
     * 待匹配
     */
    public static final String WAIT_MATCH = "5";

    /**
     * 已拆单
     */
    public static final String ALREADY_SPLIT = "7";

    /**
     * 已并单
     */
    public static final String ALREADY_MERGE = "8";

    /**
     * 已下单
     */
    public static final String ALREADY_ORDER = "9";

    /**
     * 已删除
     */
    public static final short OPT_DELETED = 0;

    /**
     * 创建
     */
    public static final short OPT_CREATE = 1;

    /**
     * 编辑
     */
    public static final short OPT_EDIT = 2;

    /**
     * 审批通过
     */
    public static final short OPT_AUDIT_PASS = 3;

    /**
     * 审批不通过
     */
    public static final short OPT_AUDIT_NOT_PASS = 4;

    /**
     * 下单
     */
    public static final short OPT_PLACE_ORDER = 5;

    /**
     * 拆单
     */
    public static final short OPT_SPLIT_ORDER = 6;

    /**
     * 拆单
     */
    public static final short OPT_MERGE_ORDER = 7;

    /**
     *warranty_type 保修类型：1.保内 2.保外
     */
    public static final String WARRANTY_TYPE_ONE="1";
    public static final String WARRANTY_TYPE_TWO="2";

    /**
     * service_type 服务类型: 安装/维修/咨询
     */
    public static final String SERVICE_TYPE_AZ="安装";
    public static final String SERVICE_TYPE_WX="维修";
    public static final String SERVICE_TYPE_ZX="咨询";

    /**
     * fitting_flag 配件标记，0无备件 1待发备件 2已发备件
     */
    public static final String FITTING_FLAG_NO ="0";
    public static final String FITTING_FLAG_WAIT = "1";
    public static final String FITTING_FLAG_WAY = "2";

    /**
     * status 单平台操作状态：1.待派工 2.服务中 3.待回访 4.待结算 5.已完成 6.无效工单 7.取消工单，默认1
     */
    public static final String ORDER_STATUS_DIS="1";
    public static final String ORDER_STATUS_SERVICE="2";
    public static final String ORDER_STATUS_CALL="3";
    public static final String ORDER_STATUS_SETTLE="4";
    public static final String ORDER_STATUS_FINISH="5";
    public static final String ORDER_STATUS_INVALID="6";
    public static final String ORDER_STATUS_CANCEL="7";


    /**
     * site_status 工单服务商操作状态:0尚未指派给服务商 1待服务商接单 2服务商已拒单 3待服务商派工 4待工程师接单 5待上门 6服务中 7已完工 8派工取消 9无效工单
     */
    public static final String SITE_STATUS_ZERO="0";
    public static final String SITE_STATUS_GET="1";
    public static final String SITE_STATUS_REFUSE="2";
    public static final String SITE_STATUS_DIS="3";
    public static final String SITE_STATUS_RECEIVE="4";
    public static final String SITE_STATUS_DOOR="5";
    public static final String SITE_STATUS_SERVICE="6";
    public static final String SITE_STATUS_FINISH="7";
    public static final String SITE_STATUS_INVALID="9";

    /**
     *dispatch 派工状态：0.待接单 1.已接单 2.已拒单 3.维修已完工 4.已转派 5.派工取消
     */
    public static final String DISPATCH_STATUS_DJD="0";
    public static final String DISPATCH_STATUS_YJD="1";
    public static final String DISPATCH_STATUS_REFUSE="2";
    public static final String DISPATCH_STATUS_FINISH="3";
    public static final String DISPATCH_STATUS_CHANGE="4";

    /**
     * promise_flag 标记本次派工是否预约：0未预约 1已预约。默认0
     */
    public static final String FLAG_ZERO="0";
    public static final String FLAG_ONE="1";

    /**
     * completion_result 完工结果：0.正常完工 1.服务商确认无效
     */
    public static final String RESULT_ZERO="0";

    /**
     *result  回访结果：列表写死 1.已回访 2.仍需上门 , 3 无人接听 ，4回访不通过 5多次回访
     */
    public static final String RESULT_OK="1";
    public static final String RESULT_BAD="2";
    public static final String RESULT_NO_MAN="3";
    public static final String RESULT_NO_REFUSE="4";
    public static final String RESULT_NO_MANY="5";

    /**
     * feedback_type 反馈类型：0 过程反馈 1服务完成反馈 2服务无法完成反馈
     */
    public static final String FEEDBACK_PROCESS="0";
    public static final String FEEDBACK_FINISH="1";

    /**
     * jz_flag 请款结账标记：(0未结账 1已结账 2处理中)
     */
    public static final String JZ_FLAG_NO="0";
    public static final String JZ_FLAG_OK="1";
    public static final String JZ_FLAG_IN="2";
}
