fix(数据集): oracle参数化in提示异常

This commit is contained in:
taojinlong 2024-01-25 17:07:53 +08:00
parent 4fb00712f5
commit b413d8866c

View File

@ -2759,7 +2759,7 @@ public class DataSetTableService {
@Override
public void visit(InExpression inExpression) {
if (inExpression.getRightExpression() != null && hasVariable(inExpression.getRightExpression().toString()) && inExpression.getRightExpression() instanceof ParenthesedExpressionList) {
if (inExpression.getRightExpression() != null && hasVariable(inExpression.getRightExpression().toString()) && !(inExpression.getRightExpression() instanceof ParenthesedSelect)) {
stringBuilder.append(SubstitutedSql);
return;
}