Authored by qinchao

bug

... ... @@ -128,11 +128,11 @@ public class SingleTask implements Runnable {
for (List<Object> objects : values) {
Map<String, Object> map = new HashMap<>();
for (int i = 0; i < fields.length; i++) {
map.put(fields[i], objects.get(i + 1));
map.put(StringUtils.trim(fields[i]), objects.get(i + 1));
}
if(tags != null){
for (int i = 0; i < tags.length; i++) {
map.put(tags[i], series.getTags().get(tags[i]));
map.put(StringUtils.trim(tags[i]), series.getTags().get(StringUtils.trim(tags[i])));
}
}
valueResultList.add(map);
... ...