方法微调

This commit is contained in:
xy
2025-12-03 16:01:33 +08:00
parent f4ff6b2f1c
commit 88bf4b215b

View File

@@ -986,8 +986,9 @@ public class InfluxQueryWrapper {
throw new RuntimeException("查询数值集合为空,请校验!"); throw new RuntimeException("查询数值集合为空,请校验!");
} }
for (Object obj : diffContent) { for (Object obj : diffContent) {
String fieldName = prefix + obj + suffix; String fieldName = prefix + obj;
this.select(fieldName,fieldName); String resultName = suffix + obj;
this.select(fieldName,resultName);
} }
return this; return this;
} }