|
|
@@ -0,0 +1,93 @@
|
|
|
+package com.uas.search.utils;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 单据搜索时以键值对的形式传递参数,所需要用到的键
|
|
|
+ *
|
|
|
+ * @author sunyj
|
|
|
+ * @since 2016年10月18日 下午8:33:05
|
|
|
+ */
|
|
|
+public class OrderSearchConstants {
|
|
|
+ /**
|
|
|
+ * 单据搜索时,若限定时间范围,可以键值对的形式传递参数,该键代表最小(远)时间
|
|
|
+ */
|
|
|
+ public static final String MIN_TIME_KEY = "mintime";
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 单据搜索时,若限定时间范围,可以键值对的形式传递参数,该键代表最大(近)时间
|
|
|
+ */
|
|
|
+ public static final String MAX_TIME_KEY = "maxtime";
|
|
|
+
|
|
|
+ // 商城销售订单索引字段的key
|
|
|
+ /**
|
|
|
+ * 对应销售单号(数据库or_id字段),因易与id命名混淆,其他类、lucenne建索引时该字段难以区分,特以此命名
|
|
|
+ */
|
|
|
+ public static final String ORDER_CODE_FIELD = "or_code";
|
|
|
+ public static final String ORDER_BUYERUU_FIELD = "or_buyeruu";
|
|
|
+ public static final String ORDER_BUYERNAME_FIELD = "or_buyername";
|
|
|
+ public static final String ORDER_BUYERENUU_FIELD = "or_buyerenuu";
|
|
|
+ public static final String ORDER_BUYERENNAME_FIELD = "or_buyerenname";
|
|
|
+ public static final String ORDER_SELLERENUU_FIELD = "or_sellerenuu";
|
|
|
+ public static final String ORDER_SELLERENNAME_FIELD = "or_sellerenname";
|
|
|
+
|
|
|
+ // 商城销售订单明细索引字段的key
|
|
|
+ /**
|
|
|
+ * 对应商城销售订单明细编号(数据库detail_id字段),因易与id命名混淆,其他类、lucenne建索引时该字段难以区分,特以此命名
|
|
|
+ */
|
|
|
+ public static final String ORDER_DETAIL_CODE_FIELD = "od_code";
|
|
|
+ public static final String ORDER_DETAIL_COMPONENTCODE_FIELD = "od_cmpcode";
|
|
|
+ public static final String ORDER_DETAIL_KINDNAME_FIELD = "od_kiname";
|
|
|
+ public static final String ORDER_DETAIL_BRANDNAME_FIELD = "od_brname";
|
|
|
+
|
|
|
+ // 商城销售订单的发货单索引字段的key
|
|
|
+ /**
|
|
|
+ * 对应销售单发货单号(数据库in_id字段),因易与id命名混淆,其他类、lucenne建索引时该字段难以区分,特以此命名
|
|
|
+ */
|
|
|
+ public static final String ORDER_INVOICE_CODE_FIELD = "oi_code";
|
|
|
+ public static final String ORDER_INVOICE_BUYERUU_FIELD = "oi_buyeruu";
|
|
|
+ public static final String ORDER_INVOICE_BUYERNAME_FIELD = "oi_buyername";
|
|
|
+ public static final String ORDER_INVOICE_BUYERENUU_FIELD = "oi_buyerenuu";
|
|
|
+ public static final String ORDER_INVOICE_BUYERENNAME_FIELD = "oi_buyerenname";
|
|
|
+
|
|
|
+ // 商城销售订单的发货单明细索引字段的key
|
|
|
+ /**
|
|
|
+ * 对应商城销售订单的发货单明细编号(数据库detail_id字段),因易与id命名混淆,其他类、lucenne建索引时该字段难以区分,特以此命名
|
|
|
+ */
|
|
|
+ public static final String ORDER_INVOICE_DETAIL_CODE_FIELD = "oid_code";
|
|
|
+ public static final String ORDER_INVOICE_DETAIL_COMPONENTCODE_FIELD = "oid_cmpcode";
|
|
|
+ public static final String ORDER_INVOICE_DETAIL_KINDNAME_FIELD = "oid_kiname";
|
|
|
+ public static final String ORDER_INVOICE_DETAIL_BRANDNAME_FIELD = "oid_brname";
|
|
|
+
|
|
|
+ // 商城采购订单索引字段的key
|
|
|
+ /**
|
|
|
+ * 对应采购单号(数据库pu_id字段),因易与id命名混淆,其他类、lucenne建索引时该字段难以区分,特以此命名
|
|
|
+ */
|
|
|
+ public static final String PURCHASE_CODE_FIELD = "pu_code";
|
|
|
+ public static final String PURCHASE_SELLERENUU_FIELD = "pu_sellerenuu";
|
|
|
+ public static final String PURCHASE_SELLERENNAME_FIELD = "pu_sellerenname";
|
|
|
+
|
|
|
+ // 商城采购订单明细索引字段的key
|
|
|
+ /**
|
|
|
+ * 对应商城采购订单明细编号(数据库detail_id字段),因易与id命名混淆,其他类、lucenne建索引时该字段难以区分,特以此命名
|
|
|
+ */
|
|
|
+ public static final String PURCHASE_DETAIL_CODE_FIELD = "pd_code";
|
|
|
+ public static final String PURCHASE_DETAIL_COMPONENTCODE_FIELD = "pd_cmpcode";
|
|
|
+ public static final String PURCHASE_DETAIL_KINDNAME_FIELD = "pd_kiname";
|
|
|
+ public static final String PURCHASE_DETAIL_BRANDNAME_FIELD = "pd_brname";
|
|
|
+
|
|
|
+ // 商城采购订单的发货单索引字段的key
|
|
|
+ /**
|
|
|
+ * 对应采购单发货单号(数据库in_id字段),因易与id命名混淆,其他类、lucenne建索引时该字段难以区分,特以此命名
|
|
|
+ */
|
|
|
+ public static final String PURCHASE_INVOICE_CODE_FIELD = "pi_code";
|
|
|
+ public static final String PURCHASE_INVOICE_SELLERENUU_FIELD = "pi_sellerenuu";
|
|
|
+ public static final String PURCHASE_INVOICE_SELLERENNAME_FIELD = "pi_sellerenname";
|
|
|
+
|
|
|
+ // 商城采购订单的发货单明细索引字段的key
|
|
|
+ /**
|
|
|
+ * 对应商城采购订单的发货单明细编号(数据库detail_id字段),因易与id命名混淆,其他类、lucenne建索引时该字段难以区分,特以此命名
|
|
|
+ */
|
|
|
+ public static final String PURCHASE_INVOICE_DETAIL_CODE_FIELD = "pid_code";
|
|
|
+ public static final String PURCHASE_INVOICE_DETAIL_COMPONENTCODE_FIELD = "pid_cmpcode";
|
|
|
+ public static final String PURCHASE_INVOICE_DETAIL_KINDNAME_FIELD = "pid_kiname";
|
|
|
+ public static final String PURCHASE_INVOICE_DETAIL_BRANDNAME_FIELD = "pid_brname";
|
|
|
+}
|