فهرست منبع

添加buildVenderMapProcessor

FanXiaoyu 6 سال پیش
والد
کامیت
e50c483c10
1فایلهای تغییر یافته به همراه22 افزوده شده و 0 حذف شده
  1. 22 0
      src/main/java/com/sagacloud/route/processors/VenderMapProcessor.java

+ 22 - 0
src/main/java/com/sagacloud/route/processors/VenderMapProcessor.java

@@ -0,0 +1,22 @@
+package com.sagacloud.route.processors;
+
+import org.apache.camel.Exchange;
+import org.apache.camel.Processor;
+
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Set;
+
+/**
+ * Created by Xiaoyu on 2018/7/13
+ */
+public class VenderMapProcessor implements Processor {
+    @Override
+    public void process(Exchange exchange) throws Exception {
+        //第一层为Manufacturer、Brand、Specification、Supplier、SupplierContractID、Insurer、InsuranceNum、Maintainer
+        Map<String,Map> nameMap = new HashMap<>();
+        Map<String,String> idMap = new HashMap<>();//厂商id->厂商id,型号id->厂商id
+        Set<String> venderSet = new HashSet<>();
+    }
+}