You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
192 lines
4.5 KiB
Java
192 lines
4.5 KiB
Java
package com.glxp.api.constant;
|
|
|
|
public class Constant {
|
|
|
|
public static String SYSTEM_CUSTOMER_ID = "110";
|
|
public static String MUTI = "MUTI";
|
|
|
|
public static final String SERIAL_CACHE_PREFIX = "serial_";
|
|
public static final String SERIAL_CACHE_PREFIX_ST = "serialst_";
|
|
public static final String SERIAL_CACHE_SYNC_UDI = "syncUdi";
|
|
|
|
public static final String SCAN_ORDER = "MS";
|
|
public static final String BUS_ORDER = "MY";
|
|
public static final String LIN_YONG = "ML";
|
|
public static final String SG_ORDER = "SG";
|
|
public static final String JH_ORDER = "JH";
|
|
public static final String NBM_ORDER = "NBM";
|
|
|
|
|
|
/**
|
|
* 盘点单据前缀
|
|
*/
|
|
public static final String COUNT_ORDER = "MP";
|
|
|
|
/**
|
|
* 养护记录前缀
|
|
*/
|
|
public static final String MA_ORDER = "MA";
|
|
|
|
/**
|
|
* 设备领用记录前缀
|
|
*/
|
|
public static final String DEVICE_COLLECT_ORDER = "DCO";
|
|
|
|
/**
|
|
* 设备养护记录前缀
|
|
*/
|
|
public static final String DEVICE_MA_ORDER = "DMA";
|
|
|
|
public static final String dlThrProducts = "THR_DOWNLOAD_PRODUCTS";
|
|
public static final String dlThrInvProducts = "THR_DOWNLOAD_INV_PRODUCTS";
|
|
public static final String dlThrOrders = "THR_DOWNLOAD_ORDERS";
|
|
public static final String dlThrCorps = "THR_DOWNLOAD_CORPS";
|
|
public static final String SPS_SYNC_DOWNLOAD_INFO = "SPS_SYNC_DOWNLOAD_INFO";
|
|
|
|
|
|
public static String SPTM_TO_DI = "sptm_to_di";
|
|
|
|
public static String DELAY_SYNC_TIME = "DELAY_SYNC_TIME";
|
|
public static String LAST_THIRD_UPLOAD_TIME = "LAST_THIRD_UPLOAD_TIME"; //最后一次上传第三方单据时间
|
|
|
|
public static final int DB_CHECK_ED = 1; //已校驗
|
|
public static final int DB_CHECK_UN = 0; //未校驗
|
|
public static final int CHECK_EXIT = 1; //校驗成功,存在
|
|
public static final int CHECK_REPEAT = 2; //重複校驗
|
|
public static final int CHECK_NULL = 3; //校驗失敗,不存在
|
|
|
|
|
|
/**
|
|
* www主域
|
|
*/
|
|
public static String WWW = "www.";
|
|
|
|
/**
|
|
* http请求
|
|
*/
|
|
public static String HTTP = "http://";
|
|
|
|
/**
|
|
* https请求
|
|
*/
|
|
public static String HTTPS = "https://";
|
|
|
|
|
|
/**
|
|
* 菜单类型(目录)
|
|
*/
|
|
public static String TYPE_DIR = "M";
|
|
|
|
/**
|
|
* 菜单类型(菜单)
|
|
*/
|
|
public static String TYPE_MENU = "C";
|
|
|
|
/**
|
|
* 菜单类型(按钮)
|
|
*/
|
|
public static String TYPE_BUTTON = "F";
|
|
|
|
/**
|
|
* Layout组件标识
|
|
*/
|
|
public static String LAYOUT = "Layout";
|
|
|
|
/**
|
|
* 是否菜单外链(是)
|
|
*/
|
|
public static String YES_FRAME = "0";
|
|
|
|
/**
|
|
* 是否菜单外链(否)
|
|
*/
|
|
public static String NO_FRAME = "1";
|
|
|
|
|
|
/**
|
|
* ParentView组件标识
|
|
*/
|
|
public static String PARENT_VIEW = "ParentView";
|
|
|
|
/**
|
|
* InnerLink组件标识
|
|
*/
|
|
public static String INNER_LINK = "InnerLink";
|
|
|
|
|
|
public static final String ADMIN_ID = "1";
|
|
|
|
public static final String UNIQUE = "0";
|
|
public static final String NOT_UNIQUE = "1";
|
|
public static final String YES = "Y";
|
|
|
|
|
|
public static final String UTF8 = "UTF-8";
|
|
|
|
public static final String GBK = "GBK";
|
|
|
|
/**
|
|
* 通用失败标识
|
|
*/
|
|
public static final String FAIL = "1";
|
|
/**
|
|
* 通用成功标识
|
|
*/
|
|
public static final String SUCCESS = "0";
|
|
|
|
/**
|
|
* 登录成功
|
|
*/
|
|
public static final String LOGIN_SUCCESS = "Success";
|
|
|
|
/**
|
|
* 注销
|
|
*/
|
|
public static final String LOGOUT = "Logout";
|
|
|
|
/**
|
|
* 注册
|
|
*/
|
|
public static final String REGISTER = "Register";
|
|
|
|
/**
|
|
* 登录失败
|
|
*/
|
|
public static final String LOGIN_FAIL = "Error";
|
|
|
|
|
|
|
|
//-------------前端页面查询单据列表标识类型------------------
|
|
/**
|
|
* 单据-草稿标识
|
|
*/
|
|
public static final String ORDER_STATUS_DRAFT = "draft";
|
|
|
|
/**
|
|
* 单据-处理异常标识
|
|
*/
|
|
public static final String ORDER_STATUS_PROCESSED_ERROR = "processedError";
|
|
|
|
/**
|
|
* 单据-未校验标识
|
|
*/
|
|
public static final String ORDER_STATUS_UN_CHECK = "unCheck";
|
|
|
|
/**
|
|
* 单据-校验异常标识
|
|
*/
|
|
public static final String ORDER_STATUS_CHECKED_ERROR = "checkedError";
|
|
|
|
/**
|
|
* 单据-已校验标识
|
|
*/
|
|
public static final String ORDER_STATUS_CHECK_SUCCESS = "checkSuccess";
|
|
|
|
/**
|
|
* 单据-已审核标识
|
|
*/
|
|
public static final String ORDER_STATUS_AUDITED = "audited";
|
|
|
|
|
|
}
|