Update Join.java

This commit is contained in:
TommyLemon 2022-10-17 21:33:07 +08:00 committed by GitHub
parent 7e75671ca1
commit 94a0d558c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,12 +105,12 @@ public class Join {
this.outerConfig = outerConfig;
}
public boolean isOne2One() {
return ! isOne2Many();
}
public boolean isOne2Many() {
return count != 1 || (path != null && path.contains("[]")); // TODO 必须保证一对一时不会传包含 [] path
}
public boolean isOne2One() {
return ! isOne2Many();
}
public boolean isOne2Many() {
return count != 1 || (path != null && path.contains("[]")); // TODO 必须保证一对一时不会传包含 [] path
}
public boolean isAppJoin() {
return "@".equals(getJoinType());