fix: Where条件包含IN查询以及,多个AND 动态SQL参数时,会导致IN查询条件丢失

This commit is contained in:
taojinlong 2022-12-22 21:29:12 +08:00
parent 2eccb6f6bc
commit 70098fbbd1

View File

@ -2818,7 +2818,7 @@ public class DataSetTableService {
boolean hasSubBinaryExpression = false;
try {
BinaryExpression leftBinaryExpression = (BinaryExpression) expr.getLeftExpression();
hasSubBinaryExpression = leftBinaryExpression.getLeftExpression() instanceof BinaryExpression;
hasSubBinaryExpression = leftBinaryExpression.getLeftExpression() instanceof Expression;
} catch (Exception e) {
e.printStackTrace();
}