瀏覽代碼

添加buildVenderMap

FanXiaoyu 6 年之前
父節點
當前提交
f75a27b35f
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/main/java/com/sagacloud/route/Route.java

+ 4 - 0
src/main/java/com/sagacloud/route/Route.java

@@ -8,6 +8,7 @@ import com.sagacloud.route.processors.Maintainance.FilterPropertyProcessor;
 import com.sagacloud.route.processors.Maintainance.QueryPropertyProcesspr;
 import com.sagacloud.route.processors.Manufacturer.MaunfacturerFilter;
 import com.sagacloud.route.processors.Manufacturer.GetVenderBySpecProcessor;
+import com.sagacloud.route.processors.VenderMapProcessor;
 import com.sagacloud.route.processors.supplier.SupplierFilter;
 import com.sagacloud.utils.Const;
 import org.apache.commons.io.IOUtils;
@@ -116,6 +117,9 @@ public class Route extends ExceptionHandlerBaseRoute {
                 .route()
                 .to("direct:getPropertiesByPj");
 
+        from("direct:buildVenderMap")
+                .to(Const.venders+"/auxiliary/vender/query_detail")
+                .process(new VenderMapProcessor());
     }