add command IN and NOT_IN for a filter to the dashboard(fix error)

This commit is contained in:
Ivan Panakhno 2021-09-06 17:31:41 +03:00
parent 7add33f3c8
commit b95b821694

View File

@ -564,13 +564,11 @@ public class EntityKeyMapping {
case IN:
value = value.replaceAll("'","").replaceAll("\"", "");
values = List.of(value.trim().split("\\s*,\\s*"));
System.out.println(value);
stringOperationQuery = String.format("%s in (:%s))", operationField, paramName);
break;
case NOT_IN:
value = value.replaceAll("'","").replaceAll("\"", "");
values = List.of(value.trim().split("\\s*,\\s*"));
System.out.println(value);
stringOperationQuery = String.format("%s not in (:%s))", operationField, paramName);
}
switch (stringFilterPredicate.getOperation()) {