|
@@ -70,7 +70,10 @@ public abstract class BaseMultiTableInnerInterceptor extends JsqlParserSupport i
|
|
|
protected Expression andExpression(Table table, Expression where, final String whereSegment) {
|
|
|
//获得where条件表达式
|
|
|
final Expression expression = buildTableExpression(table, where, whereSegment);
|
|
|
- if (null != where) {
|
|
|
+ if (expression == null) {
|
|
|
+ return where;
|
|
|
+ }
|
|
|
+ if (where != null) {
|
|
|
if (where instanceof OrExpression) {
|
|
|
return new AndExpression(expression, new Parenthesis(where));
|
|
|
} else {
|