forked from github/dataease
fix: 升级 jsqlparser
This commit is contained in:
parent
56008051ea
commit
c189301915
@ -99,6 +99,17 @@
|
||||
<groupId>com.github.pagehelper</groupId>
|
||||
<artifactId>pagehelper</artifactId>
|
||||
<version>5.3.1</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>jsqlparser</artifactId>
|
||||
<groupId>com.github.jsqlparser</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.jsqlparser</groupId>
|
||||
<artifactId>jsqlparser</artifactId>
|
||||
<version>4.6</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.shiro</groupId>
|
||||
@ -331,6 +342,12 @@
|
||||
<artifactId>ashot</artifactId>
|
||||
<version>1.5.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.dataease</groupId>
|
||||
<artifactId>dataease-plugin-common</artifactId>
|
||||
<version>1.18.11</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
|
||||
</dependencies>
|
||||
|
@ -2865,9 +2865,8 @@ public class DataSetTableService {
|
||||
|
||||
visitBinaryExpression(likeExpression,
|
||||
(likeExpression.isNot() ? " NOT" : "") + (likeExpression.isCaseInsensitive() ? " ILIKE " : " LIKE "));
|
||||
String escape = likeExpression.getEscape();
|
||||
if (escape != null) {
|
||||
buffer.append(" ESCAPE '").append(escape).append('\'');
|
||||
if (likeExpression.getEscape() != null) {
|
||||
buffer.append(" ESCAPE '").append(likeExpression.getEscape()).append('\'');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user