Commit 3ed76c3
huangcanjia
fix: 修复多字段参与join时,没有命中缓存而出现的1+N查询性能问题
在缓存副表数据到ChildMap时,反向遍历onList集合,避免除了idKey,userKey之外的字段在putWhere时,跟前端传参指定的顺序相反,导致没有命中缓存。
- 将onList反转
issue Tencent#4021 parent 8329421 commit 3ed76c3
File tree
1 file changed
+2
-0
lines changed- APIJSONORM/src/main/java/apijson/orm
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
519 | 520 | | |
520 | 521 | | |
521 | 522 | | |
| 523 | + | |
522 | 524 | | |
523 | 525 | | |
524 | 526 | | |
| |||
0 commit comments