fix #2127 remove _m suffix check
This commit is contained in:
parent
191c416f6f
commit
8081d0a03c
1 changed files with 1 additions and 13 deletions
|
@ -147,19 +147,7 @@ public interface FessTransformer {
|
|||
target = evaluateValue(template, paramMap);
|
||||
}
|
||||
if (key != null && target != null) {
|
||||
if (target.getClass().isArray()) {
|
||||
if (key.endsWith("_m")) {
|
||||
putResultDataBody(dataMap, key, target);
|
||||
} else {
|
||||
putResultDataBody(dataMap, key, Arrays.toString((Object[]) target));
|
||||
}
|
||||
} else {
|
||||
if (key.endsWith("_m")) {
|
||||
putResultDataBody(dataMap, key, new Object[] { target });
|
||||
} else {
|
||||
putResultDataBody(dataMap, key, target);
|
||||
}
|
||||
}
|
||||
putResultDataBody(dataMap, key, target);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue