Просмотр исходного кода

查询功图数据的sql修改

gxt лет назад: 2
Родитель
Сommit
f2b4cf5312

+ 1 - 1
src/main/java/com/gct/tools/etlcamelhuge/routeconfig/CamelJDBCCofRealTimeConfiguration.java

@@ -80,7 +80,7 @@ public class CamelJDBCCofRealTimeConfiguration  {
80 80
                             exchange.getIn().setHeader("well_id",body.get("well_id"));
81 81
                             exchange.getIn().setHeader("sgt_last_time",body.get("sgt_last_time"));
82 82
                         })
83
-                        .setBody(simple("select distinct well_name,dyna_create_time,check_date,displacement,disp_load,stroke,frequency,susp_max_load,susp_min_load from public.pc_fd_pumpjack_dyna_dia_t where   well_name='${header.well_id}' and  dyna_create_time >= '${header.sgt_last_time}' and dzt in (1,2) limit 50 "))
83
+                        .setBody(simple("select distinct well_name,dyna_create_time,check_date,displacement,disp_load,stroke,frequency,susp_max_load,susp_min_load from public.pc_fd_pumpjack_dyna_dia_t where   well_name='${header.well_id}' and  dyna_create_time >= '${header.sgt_last_time}' limit 50 "))
84 84
                         .to("jdbc:gtsj")
85 85
                         .process(exchange -> {
86 86
                             sendMsgRunTime = 0;