Browse Source

alter stroke strategy+1

lloyd 3 years ago
parent
commit
d5ad706de6

+ 2 - 2
src/main/java/com/gct/tools/etlcamelhuge/routeconfig/CamelJDBCConfiguration.java

@@ -364,9 +364,9 @@ public class CamelJDBCConfiguration /*extends RouteBuilder */ {
364
                             w += new BigDecimal(Math.round(Double.parseDouble(s[i]) * 100)).stripTrailingZeros().toPlainString() + ",";
364
                             w += new BigDecimal(Math.round(Double.parseDouble(s[i]) * 100)).stripTrailingZeros().toPlainString() + ",";
365
                         }
365
                         }
366
                         Double[][] doubles = SGTUtil.encodeToDoubleArray(w);
366
                         Double[][] doubles = SGTUtil.encodeToDoubleArray(w);
367
-                        for (int i = 0;i<doubles.length;i++){
367
+                      /*  for (int i = 0;i<doubles.length;i++){
368
                             doubles[i][0] = doubles[i][0] / 10;
368
                             doubles[i][0] = doubles[i][0] / 10;
369
-                        }
369
+                        }*/
370
                         aRow.put("sgt", SGTUtil.encodeToString(doubles));
370
                         aRow.put("sgt", SGTUtil.encodeToString(doubles));
371
                         aRow.put("susp_max_load",susp_max_load);
371
                         aRow.put("susp_max_load",susp_max_load);
372
                         aRow.put("susp_min_load",susp_min_load);
372
                         aRow.put("susp_min_load",susp_min_load);