Jelajahi Sumber

定时任务

Jxing 6 tahun lalu
induk
melakukan
911f45542c

+ 1 - 2
src/main/java/com/sagacloud/route/Route.java

@@ -150,8 +150,7 @@ public class Route extends ExceptionHandlerBaseRoute {
                 .to("direct:buildVenderMap");
 
         // 需要输入  body是Pj1101080001, getProperty("propertyData") 是 DPSelectPropertyResult类型,
-        // getProperty("idMap") 是 Map<String, String>类型,  说明: 所有DPID  --> venderId
-        // getProperty("nameMap") 是 Map<String, Map<String, String>>类型  说明: 信息点Name --> (厂商库该信息点的值  --> 所属厂商)
+        // getProperty("map") 是 Map<String, Map<String, String>>类型  说明: 信息点Name --> (厂商库该信息点的值  --> 所属厂商)
         from("direct:getPropertyStatisticsByProject").process(new StatisticsProcessor())
                 .to(String.join("", InitEnvRoute.venders, "/auxiliary/property/create_by_project"));
 

+ 0 - 1
src/main/java/com/sagacloud/route/processors/PeriodTask/OnTimeTaskProcessor.java

@@ -31,7 +31,6 @@ public class OnTimeTaskProcessor implements Processor {
                 nextTimeStamps.add(timeStamp);
                 break;
             }
-            System.out.println("时间戳:" + timeStamp);
         }
         if(!isTime)
             exchange.setProperty(Exchange.ROUTE_STOP, Boolean.TRUE);