add command IN and NOT_IN for a filter to the dashboard(fix error)
This commit is contained in:
parent
7add33f3c8
commit
b95b821694
@ -564,13 +564,11 @@ public class EntityKeyMapping {
|
|||||||
case IN:
|
case IN:
|
||||||
value = value.replaceAll("'","").replaceAll("\"", "");
|
value = value.replaceAll("'","").replaceAll("\"", "");
|
||||||
values = List.of(value.trim().split("\\s*,\\s*"));
|
values = List.of(value.trim().split("\\s*,\\s*"));
|
||||||
System.out.println(value);
|
|
||||||
stringOperationQuery = String.format("%s in (:%s))", operationField, paramName);
|
stringOperationQuery = String.format("%s in (:%s))", operationField, paramName);
|
||||||
break;
|
break;
|
||||||
case NOT_IN:
|
case NOT_IN:
|
||||||
value = value.replaceAll("'","").replaceAll("\"", "");
|
value = value.replaceAll("'","").replaceAll("\"", "");
|
||||||
values = List.of(value.trim().split("\\s*,\\s*"));
|
values = List.of(value.trim().split("\\s*,\\s*"));
|
||||||
System.out.println(value);
|
|
||||||
stringOperationQuery = String.format("%s not in (:%s))", operationField, paramName);
|
stringOperationQuery = String.format("%s not in (:%s))", operationField, paramName);
|
||||||
}
|
}
|
||||||
switch (stringFilterPredicate.getOperation()) {
|
switch (stringFilterPredicate.getOperation()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user