Commit c79ddb3b by s_guodong

char类型数据查询

parent 0cadfe69
...@@ -15,11 +15,11 @@ public class Argument<E> implements IResult { ...@@ -15,11 +15,11 @@ public class Argument<E> implements IResult {
} }
public Argument(String fieldName) { public Argument(String fieldName) {
this.fieldName = fieldName; this.fieldName = "trim(" + fieldName + ")";
} }
public Argument(String fieldName, OpType opType, E value) { public Argument(String fieldName, OpType opType, E value) {
this.fieldName = fieldName; this.fieldName = "trim(" + fieldName + ")";
this.opType = opType; this.opType = opType;
this.value = value; this.value = value;
} }
...@@ -29,7 +29,7 @@ public class Argument<E> implements IResult { ...@@ -29,7 +29,7 @@ public class Argument<E> implements IResult {
} }
public Argument(String fieldName, OpType opType) { public Argument(String fieldName, OpType opType) {
this.fieldName = fieldName; this.fieldName = "trim(" + fieldName + ")";
this.opType = opType; this.opType = opType;
this.value = null; this.value = null;
} }
...@@ -187,7 +187,7 @@ public class Argument<E> implements IResult { ...@@ -187,7 +187,7 @@ public class Argument<E> implements IResult {
return 0; return 0;
} }
public static <T> Argument<T> box(T value){ public static <T> Argument<T> box(T value) {
return new Argument<T>("",value); return new Argument<T>("", value);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment