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.
263 lines
6.9 KiB
Java
263 lines
6.9 KiB
Java
package com.glxp.api.constant;
|
|
|
|
public class Constant {
|
|
|
|
public static String SYSTEM_CUSTOMER_ID = "110";
|
|
|
|
public static final String INV_PRE_IN_CODE = "1000001";//默认预验收仓库号
|
|
public static final String INV_PRE_CODE = "1000002";//默认寄售仓库号
|
|
|
|
|
|
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 = "ZS"; //出入库单据
|
|
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 CG_ORDER = "CG"; //采购订单
|
|
public static final String SH_ORDER = "SH"; //送货单
|
|
public static final String DH_ORDER = "DH"; //到货
|
|
public static final String TH_ORDER = "TH"; //退货
|
|
|
|
|
|
/**
|
|
* 盘点单据前缀
|
|
*/
|
|
public static final String COUNT_ORDER = "MP";
|
|
|
|
/**
|
|
* 养护记录前缀
|
|
*/
|
|
public static final String MA_ORDER = "MA";
|
|
|
|
/**
|
|
* 设备领用记录前缀
|
|
*/
|
|
public static final String DEVICE_RECEIVE_ORDER = "DRO";
|
|
|
|
/**
|
|
* 设备养护记录前缀
|
|
*/
|
|
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_SCAN_CODEE = "scan_code";
|
|
|
|
/**
|
|
* 单据--新增扫码单据标识
|
|
*/
|
|
public static final String ORDER_STATUS_NEW_BIZ = "new_biz";
|
|
|
|
/**
|
|
* 单据-草稿标识
|
|
*/
|
|
public static final String ORDER_STATUS_DRAFT = "draft";
|
|
|
|
/**
|
|
* 单据-处理异常标识
|
|
*/
|
|
public static final String ORDER_STATUS_PROCESSED_ERROR = "processedError";
|
|
|
|
/**
|
|
* 单据-新增单据标识(包括草稿和异常单据)
|
|
*/
|
|
public static final String ORDER_STATUS_NEW_ORDER = "newOrder";
|
|
|
|
|
|
/**
|
|
* 单据-未校验标识
|
|
*/
|
|
public static final String ORDER_STATUS_UN_CHECK = "unCheck";
|
|
|
|
/**
|
|
* 单据-未校验/待校验标识
|
|
*/
|
|
public static final String ORDER_STATUS_UN_ALLOCATE = "unAllocate";
|
|
|
|
|
|
/**
|
|
* 单据-校验异常标识
|
|
*/
|
|
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";
|
|
|
|
/**
|
|
* 待审核
|
|
*/
|
|
public static final String ORDER_STATUS_WAIT_AUDITED = "waitAudited";
|
|
|
|
/**
|
|
* 单据-供应商已审核
|
|
*/
|
|
public static final String ORDER_STATUS_SUP_SEARCH = "supSearch";
|
|
|
|
|
|
public static final String ORDER_STATUS_INVOICE = "supInvoice";
|
|
|
|
public static final String ORDER_STATUS_INCODE = "supInCode";
|
|
|
|
/**前端页面查询相关单据类型标识*/
|
|
|
|
|
|
/**
|
|
* 送货管理界面: supDelivery
|
|
* 审核送货单 supDelAudit
|
|
* 查询出入库单 supInout
|
|
* 到货单管理界面: supArrival
|
|
* 退货单管理界面: supReturned
|
|
* 采购入库单界面: supPurchase
|
|
* 发票登记界面: supInvoice
|
|
* 出入库明细账 norDetail
|
|
* 寄售出入库明细账 preDetail
|
|
* 预验收出入库明细账 preInDetail
|
|
*/
|
|
|
|
public static final String ORDER_ACTION_NOR_DETAIL = "norDetail";
|
|
public static final String ORDER_ACTION_PRE_DETAIL = "preDetail";
|
|
public static final String ORDER_ACTION_PREIN_DETAIL = "preInDetail";
|
|
public static final String ORDER_ACTION_SUP_DELIVERY = "supDelivery";
|
|
public static final String ORDER_ACTION_SUP_INVOICE = "supInvoice";
|
|
public static final String ORDER_ACTION_SUP_DELAUDIT = "supDelAudit";
|
|
public static final String ORDER_ACTION_SUP_INOUT = "supInout";
|
|
public static final String ORDER_ACTION_SUP_PREIN = "preInOrder";
|
|
|
|
|
|
}
|