Skip to content

Commit 99bdb65

Browse files
Add files via upload
1 parent 906d14c commit 99bdb65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2786,7 +2786,7 @@ protected String parseCombineExpression(RequestMethod method, String quote, Stri
27862786
boolean isBlankOrRightParenthesis = c == ' ' || c == ')';
27872787
if (isOver || isBlankOrRightParenthesis) {
27882788
boolean isEmpty = StringUtil.isEmpty(key, true);
2789-
if (combineKeyNotNull == true && isEmpty && last != ')') {
2789+
if (combineKeyNotNull && isEmpty && last != ')') {
27902790
throw new IllegalArgumentException(errPrefix + " 中字符 '" + (isOver ? s : s.substring(i))
27912791
+ "' 不合法!" + (c == ' ' ? "空格 ' ' " : "右括号 ')'") + " 左边缺少条件 key !逻辑连接符 & | 左右必须各一个相邻空格!"
27922792
+ "空格不能多也不能少!不允许首尾有空格,也不允许连续空格!左括号 ( 的右边 和 右括号 ) 的左边 都不允许有相邻空格!");

0 commit comments

Comments
 (0)