fix: pG的select语句带orderby时候,解析出来的SQLOrderBy的parent都是null

This commit is contained in:
lichangjiang
2020-08-28 09:22:48 +08:00
parent 90a163e0f3
commit 370f9ac06e
@@ -109,6 +109,9 @@ public class PGSelectQueryBlock extends SQLSelectQueryBlock implements PGSQLObje
}
public void setOrderBy(SQLOrderBy orderBy) {
if (orderBy != null) {
orderBy.setParent(this);
}
this.orderBy = orderBy;
}