Skip to content

Commit 94a0d55

Browse files
authored
Update Join.java
1 parent 7e75671 commit 94a0d55

File tree

1 file changed

+6
-6
lines changed
  • APIJSONORM/src/main/java/apijson/orm

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@ public void setOuterConfig(SQLConfig outerConfig) {
105105
this.outerConfig = outerConfig;
106106
}
107107

108-
public boolean isOne2One() {
109-
return ! isOne2Many();
110-
}
111-
public boolean isOne2Many() {
112-
return count != 1 || (path != null && path.contains("[]")); // TODO 必须保证一对一时不会传包含 [] 的 path
113-
}
108+
public boolean isOne2One() {
109+
return ! isOne2Many();
110+
}
111+
public boolean isOne2Many() {
112+
return count != 1 || (path != null && path.contains("[]")); // TODO 必须保证一对一时不会传包含 [] 的 path
113+
}
114114

115115
public boolean isAppJoin() {
116116
return "@".equals(getJoinType());

0 commit comments

Comments
 (0)