用能代码提交
This commit is contained in:
@@ -122,7 +122,7 @@ public class StatisticDataRunController {
|
||||
hashMap.put(insertObj.get(j).get("LineId").toString(), insertObj.get(j));
|
||||
}
|
||||
hashMap.forEach((key, val) -> {
|
||||
Long t = (Long) val.get("time") * 1000 - 28800000;
|
||||
Long t = (Long) val.get("time") * 1000;
|
||||
String tt = Instant.ofEpochMilli((Long) val.get("time") * 1000).toString();
|
||||
String sqlQs = "delete from power_data_add_Real where time< '" + tt + "' and LineId ='" + key + "'";
|
||||
influxDbUtils.deleteMeasurementData(sqlQs);
|
||||
|
||||
Reference in New Issue
Block a user