package com.nanometer.smartlab.util;
|
|
import org.springframework.context.annotation.Scope;
|
import org.springframework.stereotype.Component;
|
|
/**
|
* Created by johnny on 15/9/8.
|
*/
|
@Component
|
@Scope("singleton")
|
public class Constants {
|
|
public static final String TIME_PATTERN_YYYY_MM_DD = "yyyy-MM-dd";
|
public static final String TIME_PATTERN_YYYY_MM_DD_HH_MM = "yyyy-MM-dd HH:mm";
|
public static final String TIME_PATTERN_YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss";
|
|
public static final String REDIRECT = "?faces-redirect=true";
|
|
public static final int ACTION_ADD = 1;
|
public static final int ACTION_EDIT = 2;
|
|
// -----Header相关 start-----
|
public static final String HEADER_KEY_ID_CARD = "idcard";
|
// -----Header相关 end-----
|
|
// -----Session相关 start-----
|
public static final String SESSION_USER = "session_user";
|
// -----Session相关 end-----
|
|
// -----页面名称(以xhtml文件名为准)start-----
|
public static final String PAGE_INDEX = "index";
|
public static final String PAGE_LOGIN = "login";
|
public static final String PAGE_APPLY_MNG = "apply_mng";
|
public static final String PAGE_APPLY_MNG_NEW = "apply_mng_new";
|
public static final String PAGE_WAREHOUSE_STOCK_MNG = "warehouse_stock_mng";
|
public static final String PAGE_WAREHOUSE_REAGENT_USE_NEW = "warehouse_reagent_use";
|
|
public static final String PAGE_WAREHOUSE_REAGENT_USE_NEW_PERSON = "warehouse_reagent_use_person";
|
|
public static final String PAGE_REQUIRE_MNG = "require_mng";
|
public static final String PAGE_REQUIRE_MNG_NEW = "require_mng_new";
|
public static final String PAGE_ORDER_MNG = "order_mng";
|
public static final String PAGE_ORDER_MNG_RUKU = "order_mng_ruku";
|
public static final String PAGE_ORDER_MNG_EDIT = "order_mng_edit";
|
public static final String PAGE_ORDER_MNG_CHANEGE_CODE = "order_mng_chanege_code";
|
public static final String PAGE_LABARATORY_STORE = "laboratory_store";
|
public static final String PAGE_LABARATORY_STOCK_MNG = "laboratory_stock_mng";
|
public static final String PAGE_SUPPLIER_ORDER_MNG = "supplier_order_mng";
|
public static final String PAGE_CONFIRM_ORDER_MNG = "confirm_order_mng";
|
public static final String PAGE_VIEW_ORDER_MNG = "view_order_mng";
|
public static final String PAGE_CANCEL_ORDER_MNG = "cancel_order_mng";
|
public static final String PAGE_WAREHOUSE_REAGENT_DIRECT_STORE = "warehouse_reagent_direct_store";
|
public static final String PAGE_ORDER_INPUT_WAREHOUSE = "order_input_warehouse";
|
|
// -----页面名称(以xhtml文件名为准)end-----
|
|
public static final String BASE_META_GROUP_USER_DEPARTMENT = "user_department";
|
public static final String BASE_META_GROUP_USER_COMPANY = "user_company";
|
public static final String BASE_META_GROUP_REAGENT_TYPE = "reagent_type";
|
public static final String BASE_META_GROUP_REAGENT_CHARACTER = "reagent_character";
|
|
public static final String BASE_META_GROUP_PRODUCT_HOME = "product_name";
|
public static final String BASE_META_GROUP_CONTROL_PRODUCTS = "control_products";
|
public static final String BASE_META_GROUP_REAGENT_FORMAT = "reagent_format";
|
public static final String BASE_META_GROUP_REAGENT_UNIT = "reagent_unit";
|
public static final String BASE_META_GROUP_LABORATORY_TYPE = "laboratory_type";
|
public static final String BASE_META_GROUP_WAREHOUSE_TYPE = "warehouse_type";
|
public static final String BASE_META_GROUP_CONTAINER_TYPE = "container_type";
|
public static final String BASE_META_GROUP_CONTAINER_STRUCTURE = "container_structure";
|
public static final String BASE_META_GROUP_APPLY_OBJECTIVE = "apply_objective";
|
public static final String BASE_META_GROUP_PROJECT_NUM = "project_num";
|
public static final String BASE_META_GROUP_CONTRILLER_TYPE = "controller_type";
|
public static final String SEQ_APPLY_CODE = "apply_code_seq";
|
public static final String SEQ_ORDER_CODE = "order_code_seq";
|
public static final String OPERATE_STATUS = "operate_status";
|
|
public int getACTION_ADD() {
|
return ACTION_ADD;
|
}
|
public int getACTION_EDIT() {
|
return ACTION_EDIT;
|
}
|
|
public String getBASE_META_GROUP_CONTRILLER_TYPE() {
|
return BASE_META_GROUP_CONTRILLER_TYPE;
|
}
|
public String getBASE_META_GROUP_USER_DEPARTMENT() {
|
return BASE_META_GROUP_USER_DEPARTMENT;
|
}
|
public String getBASE_META_GROUP_USER_COMPANY() {
|
return BASE_META_GROUP_USER_COMPANY;
|
}
|
public String getBASE_META_GROUP_REAGENT_TYPE() { return BASE_META_GROUP_REAGENT_TYPE; }
|
public String getBASE_META_GROUP_REAGENT_CHARACTER() { return BASE_META_GROUP_REAGENT_CHARACTER; }
|
public String getBASE_META_GROUP_CONTROL_PRODUCTS() { return BASE_META_GROUP_CONTROL_PRODUCTS; } //是否是管制品下拉列表
|
public String getBASE_META_GROUP_PRODUCT_HOME() { return BASE_META_GROUP_PRODUCT_HOME; }
|
public String getBASE_META_GROUP_REAGENT_FORMAT() { return BASE_META_GROUP_REAGENT_FORMAT; }
|
public String getBASE_META_GROUP_REAGENT_UNIT() { return BASE_META_GROUP_REAGENT_UNIT; }
|
public String getBASE_META_GROUP_LABORATORY_TYPE() { return BASE_META_GROUP_LABORATORY_TYPE; }
|
public String getBASE_META_GROUP_WAREHOUSE_TYPE() { return BASE_META_GROUP_WAREHOUSE_TYPE; }
|
public String getBASE_META_GROUP_CONTAINER_TYPE() { return BASE_META_GROUP_CONTAINER_TYPE; }
|
public String getBASE_META_GROUP_CONTAINER_STRUCTURE() { return BASE_META_GROUP_CONTAINER_STRUCTURE; }
|
public String getBASE_META_GROUP_APPLY_OBJECTIVE() {
|
return BASE_META_GROUP_APPLY_OBJECTIVE;
|
}
|
public String getBASE_META_GROUP_PROJECT_NUM() {
|
return BASE_META_GROUP_PROJECT_NUM;
|
}
|
public String getOPERATE_STATUS() { return OPERATE_STATUS; }
|
}
|