Skip to content

Commit

Permalink
An error in handling "like" conditions in the "Condition Editor" has
Browse files Browse the repository at this point in the history
been fixed.
  • Loading branch information
Wisser committed Oct 19, 2023
1 parent 7ab41c5 commit 0ebff8f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ private void doParseCondition() {
if ("!=".equals(op)) {
operator = Operator.NotEqual;
} else {
operator = Stream.of(Operator.values()).filter(o -> o.sql.equals(op)).findFirst().get();
operator = Stream.of(Operator.values()).filter(o -> o.sql.equals(op.toLowerCase())).findFirst().get();
}
sqlValue = matcher.group(6);
int opPos = matcher.start(5);
Expand Down Expand Up @@ -754,7 +754,7 @@ private void doParseCondition() {
}
});
} catch (Exception e) {
e.printStackTrace();
LogUtil.warn(e);
throw e;
}
}
Expand Down

0 comments on commit 0ebff8f

Please sign in to comment.