Skip to content

Commit 1eebd7b

Browse files
committed
Server:新增撤回 ^ SIDE JOIN 修改的说明
1 parent bd96636 commit 1eebd7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

APIJSON-Java-Server/APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,6 +1387,7 @@ else if ("!".equals(ce.getKey())) {
13871387
newWs += AND;
13881388
}
13891389

1390+
//MySQL 因为 NULL 值处理问题,(A & ! B) | (B & ! A) 与 ! (A & B) 返回结果不一样,后者往往更多
13901391
if ("^".equals(j.getJoinType())) { // (A & ! B) | (B & ! A)
13911392
newWs += " ( ( " + ws + ( StringUtil.isEmpty(ws, true) ? "" : AND + NOT ) + " ( " + js + " ) ) "
13921393
+ OR

0 commit comments

Comments
 (0)