We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c041000 + 3ed76c3 commit 1f0af2dCopy full SHA for 1f0af2d
APIJSONORM/src/main/java/apijson/orm/AbstractSQLExecutor.java
@@ -23,6 +23,7 @@
23
import java.util.ArrayList;
24
import java.util.Arrays;
25
import java.util.Collection;
26
+import java.util.Collections;
27
import java.util.HashMap;
28
import java.util.List;
29
import java.util.Map;
@@ -519,6 +520,7 @@ else if (config.isClickHouse() && (sqlTable.startsWith("`") || sqlTable.startsWi
519
520
if (viceConfig != null) { //FIXME 只有和主表关联才能用 item,否则应该从 childMap 查其它副表数据
521
List<On> onList = curJoin.getOnList();
522
if (onList != null) {
523
+ Collections.reverse(onList);
524
for (On on : onList) {
525
if (on != null) {
526
String ok = on.getOriginKey();
0 commit comments