Merge pull request #1968 from GodzillaHua/master

解析oracle的sql有order by语句时, 分页结果sql中, join语句丢失on的条件(oracle)
This commit is contained in:
高铁
2017-09-14 10:26:42 +08:00
committed by GitHub
2 changed files with 37 additions and 0 deletions
@@ -245,6 +245,10 @@ public class SQLJoinTableSource extends SQLTableSourceImpl implements SQLReplace
x.setRight(right.clone());
}
if(condition != null){
x.setCondition(condition);
}
for (SQLExpr item : using) {
SQLExpr item2 = item.clone();
item2.setParent(x);