|
@@ -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<>();
|
|
|
+ }
|
|
|
+}
|