Update Join.java
This commit is contained in:
parent
7e75671ca1
commit
94a0d558c0
@ -105,12 +105,12 @@ public class Join {
|
|||||||
this.outerConfig = outerConfig;
|
this.outerConfig = outerConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isOne2One() {
|
public boolean isOne2One() {
|
||||||
return ! isOne2Many();
|
return ! isOne2Many();
|
||||||
}
|
}
|
||||||
public boolean isOne2Many() {
|
public boolean isOne2Many() {
|
||||||
return count != 1 || (path != null && path.contains("[]")); // TODO 必须保证一对一时不会传包含 [] 的 path
|
return count != 1 || (path != null && path.contains("[]")); // TODO 必须保证一对一时不会传包含 [] 的 path
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isAppJoin() {
|
public boolean isAppJoin() {
|
||||||
return "@".equals(getJoinType());
|
return "@".equals(getJoinType());
|
||||||
|
Loading…
Reference in New Issue
Block a user