mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
1.1.5-SNAPSHOT
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>druid</artifactId>
|
||||
<version>1.1.4</version>
|
||||
<version>1.1.5-SNAPSHOT</version>
|
||||
|
||||
<packaging>jar</packaging>
|
||||
<name>druid</name>
|
||||
|
||||
@@ -19,7 +19,7 @@ public final class VERSION {
|
||||
|
||||
public final static int MajorVersion = 1;
|
||||
public final static int MinorVersion = 1;
|
||||
public final static int RevisionVersion = 4;
|
||||
public final static int RevisionVersion = 5;
|
||||
|
||||
public static String getVersionNumber() {
|
||||
return VERSION.MajorVersion + "." + VERSION.MinorVersion + "." + VERSION.RevisionVersion;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user