|
@@ -540,7 +540,7 @@ public class FormatQueryService {
|
|
|
}
|
|
|
else if(operate1.gettype()==enuType.Logic)
|
|
|
{
|
|
|
- return "("+ this.webQueryToString2(Left,tableName)+" "+this.getNodeStrCode(operate1)+" "+this.webQueryToString2(Right,tableName)+")";
|
|
|
+ return "("+ this.webQueryToString2(Left,tableName)+this.getNodeStrCode(operate1)+this.webQueryToString2(Right,tableName)+")";
|
|
|
}
|
|
|
return null;
|
|
|
}
|
|
@@ -562,7 +562,7 @@ public class FormatQueryService {
|
|
|
treeNode Left = operatenode.getLeft();
|
|
|
treeNode Right = operatenode.getRight();
|
|
|
operate operate1 = operatenode.getoperate();
|
|
|
- return "("+this.getQueryValue(Left,tableName,field,option)+" "+this.getNodeStrCode(operate1)+" "+this.getQueryValue(Right,tableName,field,option)+")";
|
|
|
+ return "("+this.getQueryValue(Left,tableName,field,option)+this.getNodeStrCode(operate1)+this.getQueryValue(Right,tableName,field,option)+")";
|
|
|
}
|
|
|
|
|
|
}
|