package com.huimv.manage.util;

/**
 * @Project : huimv.shiwan
 * @Package : com.huimv.biosafety.uface.controller
 * @Description : TODO
 * @Version : 1.0
 * @Author : ZhuoNing
 * @Create : 2020-12-25
 **/
public final class Const {
    //Constants
    public static final Integer CODE_OK = 10000;
    public static final String SAVE_NEW_MESSION = "保存新任务成功.";
    public static final String SAVE_OK = "保存成功。";
    public static final String OPERATE_OK = "操作成功。";
    public static final String INFO_EDIT_OK = "编辑成功。";

    public static final Integer CODE_APPLY_NO_NEW = 10001;
    public static final String APPLY_NO_NEW = "目前暂无新任务.";

    public static final Integer CODE_APPLY_PARSE = 10002;
    public static final String APPLY_PARSE_ERROR = "解析任务号报文出错.";

    public static final Integer CODE_UPDATE_STATE_FAIL = 10003;
    public static final String UPDATE_STATE_FAIL = "更新状态失败.";

    public static final Integer CODE_NO_RECORD = 10004;
    public static final String NO_RECORD = "记录不存在.";

    public static final Integer CODE_PACKAGE_EXIST = 10005;
    public static final String PACKAGE_EXIST = "批次ID已经存在";

    public static final String SAVE_NEW_PACKAGE = "保存新批次成功.";
    public static final Integer CODE_UPDATE_PACKAGE_STATE_DOWN_FAIL = 10006;
    public static final String UPDATE_PACKAGE_DOWN_STATE_FAIL = "设置指定批次为已下载状态失败.";

    public static final Integer CODE_NO_NEW_EARMARK = 10007;
    public static final String NO_NEW_EARMARK = "暂时没有新的耳标号下载.";

    public static final Integer CODE_UPDATE_EARMARK_DOWN_STATE_FAIL = 10008;
    public static final String UPDATE_EARMARK_DOWN_STATE_FAIL = "设置指定耳标号为已下载状态失败.";

    public static final String EXPORT_EARMARK_EXCEL = "耳标号二维码打码数据.xlsx";
    public static final Integer CODE_PARAM_EXIST = 10009;
    public static final String INFO_PARAM_EXIST = "参数id的数值存在重名.";
}
