1.1.5-SNAPSHOT

This commit is contained in:
wenshao
2017-10-03 19:50:18 +08:00
parent dfc46fa1d8
commit 4100f0bbf4
3 changed files with 11 additions and 2 deletions
@@ -574,6 +574,15 @@ public class SQLSelectQueryBlock extends SQLObjectImpl implements SQLSelectQuery
return from.findColumn(hash);
}
public void addCondition(String conditionSql) {
if (conditionSql == null || conditionSql.length() == 0) {
return;
}
SQLExpr condition = SQLUtils.toSQLExpr(conditionSql, dbType);
addCondition(condition);
}
public void addCondition(SQLExpr expr) {
if (expr == null) {
return;