|
@@ -85,88 +85,88 @@ public abstract class AbstractQueryColumn implements IQueryColumn {
|
|
|
return new QueryColumnOrder(this, SqlConstant.DESC);
|
|
|
}
|
|
|
|
|
|
- public QueryCondition eq(Object object) {
|
|
|
- return new QueryCondition(this, SqlConstant.EQ, object);
|
|
|
+ public QueryCondition eq(Object obj) {
|
|
|
+ return new QueryCondition(this, SqlConstant.EQ, obj);
|
|
|
}
|
|
|
|
|
|
- public QueryCondition ne(Object object) {
|
|
|
- return new QueryCondition(this, SqlConstant.NE, object);
|
|
|
+ public QueryCondition ne(Object obj) {
|
|
|
+ return new QueryCondition(this, SqlConstant.NE, obj);
|
|
|
}
|
|
|
|
|
|
- public QueryCondition gt(Object object) {
|
|
|
- return new QueryCondition(this, SqlConstant.GT, object);
|
|
|
+ public QueryCondition gt(Object obj) {
|
|
|
+ return new QueryCondition(this, SqlConstant.GT, obj);
|
|
|
}
|
|
|
|
|
|
- public QueryCondition lt(Object object) {
|
|
|
- return new QueryCondition(this, SqlConstant.LT, object);
|
|
|
+ public QueryCondition lt(Object obj) {
|
|
|
+ return new QueryCondition(this, SqlConstant.LT, obj);
|
|
|
}
|
|
|
|
|
|
- public QueryCondition ge(Object object) {
|
|
|
- return new QueryCondition(this, SqlConstant.GE, object);
|
|
|
+ public QueryCondition ge(Object obj) {
|
|
|
+ return new QueryCondition(this, SqlConstant.GE, obj);
|
|
|
}
|
|
|
|
|
|
- public QueryCondition le(Object object) {
|
|
|
- return new QueryCondition(this, SqlConstant.LE, object);
|
|
|
+ public QueryCondition le(Object obj) {
|
|
|
+ return new QueryCondition(this, SqlConstant.LE, obj);
|
|
|
}
|
|
|
|
|
|
- public QueryCondition like(Object object) {
|
|
|
- return new QueryCondition(this, SqlConstant.LIKE, object);
|
|
|
+ public QueryCondition like(Object obj) {
|
|
|
+ return new QueryCondition(this, SqlConstant.LIKE, obj);
|
|
|
}
|
|
|
|
|
|
- public QueryCondition notLike(Object object) {
|
|
|
- return new QueryCondition(this, SqlConstant.NOT_LIKE, object);
|
|
|
+ public QueryCondition notLike(Object obj) {
|
|
|
+ return new QueryCondition(this, SqlConstant.NOT_LIKE, obj);
|
|
|
}
|
|
|
|
|
|
public QueryCondition in(Collection<?> coll) {
|
|
|
return new QueryCondition(this, SqlConstant.IN, coll);
|
|
|
}
|
|
|
|
|
|
- public QueryCondition in(Object... obj) {
|
|
|
- if (ObjectUtil.isEmpty(obj)) {
|
|
|
+ public QueryCondition in(Object... objs) {
|
|
|
+ if (ObjectUtil.isEmpty(objs)) {
|
|
|
return new QueryCondition(this, SqlConstant.IN, null);
|
|
|
}
|
|
|
- return new QueryCondition(this, SqlConstant.IN, ListUtil.toList(obj));
|
|
|
+ return new QueryCondition(this, SqlConstant.IN, ListUtil.toList(objs));
|
|
|
}
|
|
|
|
|
|
public QueryCondition notIn(Collection<?> coll) {
|
|
|
return new QueryCondition(this, SqlConstant.NOT_IN, coll);
|
|
|
}
|
|
|
|
|
|
- public QueryCondition notIn(Object... obj) {
|
|
|
- if (ObjectUtil.isEmpty(obj)) {
|
|
|
+ public QueryCondition notIn(Object... objs) {
|
|
|
+ if (ObjectUtil.isEmpty(objs)) {
|
|
|
return new QueryCondition(this, SqlConstant.NOT_IN, null);
|
|
|
}
|
|
|
- return new QueryCondition(this, SqlConstant.NOT_IN, ListUtil.toList(obj));
|
|
|
+ return new QueryCondition(this, SqlConstant.NOT_IN, ListUtil.toList(objs));
|
|
|
}
|
|
|
|
|
|
- public QueryCondition between(Object object1, Object object2) {
|
|
|
- if (ObjectUtil.isAllNotEmpty(object1, object2)) {
|
|
|
- return new QueryCondition(this, SqlConstant.BETWEEN, new Object[]{object1, object2});
|
|
|
+ public QueryCondition between(Object obj1, Object obj2) {
|
|
|
+ if (ObjectUtil.isAllNotEmpty(obj1, obj2)) {
|
|
|
+ return new QueryCondition(this, SqlConstant.BETWEEN, new Object[]{obj1, obj2});
|
|
|
}
|
|
|
return new QueryCondition(this, SqlConstant.BETWEEN, null);
|
|
|
}
|
|
|
|
|
|
- public QueryCondition notBetween(Object object1, Object object2) {
|
|
|
- if (ObjectUtil.isAllNotEmpty(object1, object2)) {
|
|
|
- return new QueryCondition(this, SqlConstant.NOT_BETWEEN, new Object[]{object1, object2});
|
|
|
+ public QueryCondition notBetween(Object obj1, Object obj2) {
|
|
|
+ if (ObjectUtil.isAllNotEmpty(obj1, obj2)) {
|
|
|
+ return new QueryCondition(this, SqlConstant.NOT_BETWEEN, new Object[]{obj1, obj2});
|
|
|
}
|
|
|
return new QueryCondition(this, SqlConstant.NOT_BETWEEN, null);
|
|
|
}
|
|
|
|
|
|
- public QueryCondition likeLeft(Object object) {
|
|
|
- return new QueryCondition(this, SqlConstant.LIKE_LEFT, object);
|
|
|
+ public QueryCondition likeLeft(Object obj) {
|
|
|
+ return new QueryCondition(this, SqlConstant.LIKE_LEFT, obj);
|
|
|
}
|
|
|
|
|
|
- public QueryCondition notLikeLeft(Object object) {
|
|
|
- return new QueryCondition(this, SqlConstant.NOT_LIKE_LEFT, object);
|
|
|
+ public QueryCondition notLikeLeft(Object obj) {
|
|
|
+ return new QueryCondition(this, SqlConstant.NOT_LIKE_LEFT, obj);
|
|
|
}
|
|
|
|
|
|
- public QueryCondition likeRight(Object object) {
|
|
|
- return new QueryCondition(this, SqlConstant.LIKE_RIGHT, object);
|
|
|
+ public QueryCondition likeRight(Object obj) {
|
|
|
+ return new QueryCondition(this, SqlConstant.LIKE_RIGHT, obj);
|
|
|
}
|
|
|
|
|
|
- public QueryCondition notLikeRight(Object object) {
|
|
|
- return new QueryCondition(this, SqlConstant.NOT_LIKE_RIGHT, object);
|
|
|
+ public QueryCondition notLikeRight(Object obj) {
|
|
|
+ return new QueryCondition(this, SqlConstant.NOT_LIKE_RIGHT, obj);
|
|
|
}
|
|
|
|
|
|
public QueryCondition isNull() {
|