Skip to content

Commit 3a45780

Browse files
committed
调整有问题的方法命名
1 parent 976c77c commit 3a45780

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4705,13 +4705,20 @@ else if (isClickHouse()) {
47054705
return sql;
47064706
}
47074707

4708-
protected void onJoinNotRelation(String sql, String quote, Join j, String jt, List<On> onList, On on) {
4708+
protected void onJoinNotRelation(String sql, String quote, Join join, String table, List<On> onList, On on) {
47094709
throw new UnsupportedOperationException("JOIN 已禁用 '!' 非逻辑连接符 !性能很差、需求极少,如要取消禁用可在后端重写相关方法!");
47104710
}
4711-
protected void onJoinComplextRelation(String sql, String quote, Join j, String jt, List<On> onList, On on) {
4711+
protected void onJoinComplexRelation(String sql, String quote, Join join, String table, List<On> onList, On on) {
47124712
throw new UnsupportedOperationException("JOIN 已禁用 $, ~, {}, <>, >, <, >=, <= 等复杂关联 !性能很差、需求极少,默认只允许 = 等价关联,如要取消禁用可在后端重写相关方法!");
47134713
}
47144714

4715+
/**已废弃,最早 6.2.0 移除,请改用 onJoinComplexRelation
4716+
*/
4717+
@Deprecated
4718+
protected void onJoinComplextRelation(String sql, String quote, Join j, String jt, List<On> onList, On on) {
4719+
onJoinComplexRelation(sql, quote, j, jt, onList, on);
4720+
}
4721+
47154722
protected void onGetJoinString(Join j) throws UnsupportedOperationException {
47164723
}
47174724
protected void onGetCrossJoinString(Join j) throws UnsupportedOperationException {

0 commit comments

Comments
 (0)