|
@@ -0,0 +1,110 @@
|
|
|
+package com.example.xiaoshiweixinback.business.common.base;
|
|
|
+
|
|
|
+import java.util.HashMap;
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
+public class Constants {
|
|
|
+
|
|
|
+ public static final String API_XIAO_SHI_WXBACK = "/api/xiaoshi/weixinback";
|
|
|
+ public static final String ADMIN_USERNAME = "admin";
|
|
|
+
|
|
|
+ public static final Integer PATENT_CLASS_NUMBER_IPC = 1;
|
|
|
+ public static final Integer PATENT_CLASS_NUMBER_CPC = 2;
|
|
|
+ public static final Integer PATENT_CLASS_NUMBER_UPC = 3;
|
|
|
+ public static final Integer PATENT_CLASS_NUMBER_LOC = 4;
|
|
|
+ public static final Integer MAX_IMPORT_TASK_COUNT=5;
|
|
|
+ public static final Integer IMPORT_PATENT_TO=1;
|
|
|
+ /**
|
|
|
+ * 分隔符-竖线
|
|
|
+ */
|
|
|
+ public static final String SEPARATOR_VERTICAL_BAR = " | ";
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 系统字段类型-查询检索
|
|
|
+ */
|
|
|
+ public static final String SYSTEM_FIELD_QUERY = "query";
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 系统字段类型-专利导出
|
|
|
+ */
|
|
|
+ public static final String SYSTEM_FIELD_EXPORT = "export";
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 系统字段类型-专利列表
|
|
|
+ */
|
|
|
+ public static final String SYSTEM_FIELD_PATENT_LIST = "list";
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 系统字段类型-专题库字段
|
|
|
+ */
|
|
|
+ public static final String SYSTEM_FIELD_PROJECT = "project";
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 专题库导入专利任务名称
|
|
|
+ */
|
|
|
+ public static final Integer TASK_IMPORT_PATENT = 1;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 专利说明书导入任务名称
|
|
|
+ */
|
|
|
+ public static final Integer TASK_IMPORT_PATENT_INSTRUCTION = 3;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 专利导出任务名称
|
|
|
+ */
|
|
|
+ public static final Integer TASK_EXPORT_PATENT = 2;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 日期位移值
|
|
|
+ */
|
|
|
+ public static final Map<String, Integer> DATE_OFFSET = new HashMap<String, Integer>() {{
|
|
|
+ put("月", -1);
|
|
|
+ put("季", -3);
|
|
|
+ put("半年", -6);
|
|
|
+ put("年", -12);
|
|
|
+ put("2年", -24);
|
|
|
+ put("3年", -36);
|
|
|
+ put("5年", -60);
|
|
|
+ }};
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 专利类型
|
|
|
+ */
|
|
|
+ public static final String PATENT_TYPE = "PATENT_TYPE";
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 机构类型
|
|
|
+ */
|
|
|
+ public static final String ORGAN_TYPE = "ORGAN_TYPE";
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 许可人/被许可人
|
|
|
+ */
|
|
|
+ public static final String LICENSOR_TYPE = "LICENSOR_TYPE";
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 简单法律状态
|
|
|
+ */
|
|
|
+ public static final String PATENT_SIMPLE_STATUS = "PATENT_SIMPLE_STATUS";
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 国家
|
|
|
+ */
|
|
|
+ public static final String COUNTRIES = "COUNTRIES";
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 法律状态
|
|
|
+ */
|
|
|
+ public static final String PATENT_STATUS = "PATENT_STATUS";
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 企业应用场景
|
|
|
+ */
|
|
|
+ public static final String ENTERPRISE_APPLICATION_SCENARIO = "ENTERPRISE_APPLICATION_SCENARIO";
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 调查类型
|
|
|
+ */
|
|
|
+ public static final String INVESTIGATION_TYPE = "INVESTIGATION_TYPE";
|
|
|
+
|
|
|
+}
|