mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 17:21:53 +08:00
fix: SQL 条件表达式缺少括号问题
This commit is contained in:
parent
453603b6ad
commit
766b74f040
@ -18,7 +18,7 @@ public class AndExpressionX extends AndExpression {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "(" + this.getLeftExpression() + " " + this.getStringExpression() + " " + this.getRightExpression() + ")";
|
||||
return "(" + super.toString() + ")";
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ public class OrExpressionX extends OrExpression {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "(" + this.getLeftExpression() + " " + this.getStringExpression() + " " + this.getRightExpression() + ")";
|
||||
return "(" + super.toString() + ")";
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user