package com.aucma.common.constant;

/**
 * @Description:工单常量定义
 * @ProjectName:HwMes
 * @Author:xins
 * @Date:2024-03-11 10:42
 * @Version:1.0
 */
public class WfConstants {

    public static final Long WF_BILLS_FAULT_INSTANCE_PROCESS_ID = 102L;//故障报修工单流程ID

    public static final Long WF_BILLS_FAULT_INSTANCE_PROCESS_ACTIVITY_FIRST_ID = 1021L;//故障报修工单流程节点第一步ID
    public static final Long WF_BILLS_FAULT_INSTANCE_PROCESS_ACTIVITY_SECOND_ID = 1022L;//故障报修工单流程节点第二步ID


    public static final Long WF_QUALITY_ABNORMAL_PROCESS_ID = 301L;//不合格处置工单流程ID

    /** 质检工单报修流程节点*/
    public static final Long WF_QUALITY_INSTANCE_ACTIVITY_FIRST_ID = 3011L;
    public static final Long WF_QUALITY_INSTANCE_ACTIVITY_SECOND_ID = 3012L;

    /**质检工单实例状态*/
    public static final String WF_INSTANCE_STATUS_TO_START = "0";//未启动
    public static final String WF_INSTANCE_STATUS_START = "1";//已启动
    public static final String WF_INSTANCE_STATUS_FINISH = "3";//已结束

    /**质检工单实例节点状态*/
    public static final String WF_PROCESS_HANDLE_STATUS_FINISH = "0";//已结束


    /**质检文件关联类型*/
    public static final String QMS_FILE_TARGET_TYPE_QUALITY_INSTANCE_ACTIVITY = "1";//质检工单实例节点

    /**采购申请流程ID*/
    public static final Long WF_PURCHASE_REQUISITION_PROCESS_ID = 401L;
    /**流程节点：采购申请流程创建*/
    public static final Long WF_PURCHASE_ACTIVITY_CREATE_ID = 4011L;
    /**流程节点：采购申请流程采购审核*/
    public static final Long WF_PURCHASE_ACTIVITY_PROCUREMENT_AUDIT_ID = 4012L;
    /**流程节点：采购申请流程技术修改*/
    public static final Long WF_PURCHASE_ACTIVITY_TECHNICAL_MODIFY_ID = 4013L;
    /**流程节点：采购申请流程ERP修改*/
    public static final Long WF_PURCHASE_ACTIVITY_ERP_MODIFY_ID = 4014L;
    /**流程节点：采购申请流程完成*/
    public static final Long WF_PURCHASE_ACTIVITY_FINISH_ID = 4015L;

    /**采购申请流程：通知标识(0否 1是)*/
    public static final String PA_NOTICE_FLAG_YES = "1";
    /**采购申请流程：通知标识(0否 1是)*/
    public static final String PA_NOTICE_FLAG_NO = "0";
    /**采购申请流程：异常标识(0否 1是)*/
    public static final String PA_ANOMALY_FLAG_YES = "1";
    /**采购申请流程：异常标识(0否 1是)*/
    public static final String PA_ANOMALY_FLAG_NO = "0";
    /**采购申请流程：更新标识(0否 1是)*/
    public static final String PA_UPDATE_FLAG_YES = "1";
    /**采购申请流程：更新标识(0否 1是)*/
    public static final String PA_UPDATE_FLAG_NO = "0";
    /**采购申请流程：导入标识(0否 1是)*/
    public static final String PA_IMPORT_FLAG_YES = "1";
    /**采购申请流程：导入标识(0否 1是)*/
    public static final String PA_IMPORT_FLAG_NO = "0";


}
