From 739822036aecd8673f4c7d19c6a47e8c5095ccfc Mon Sep 17 00:00:00 2001 From: taojinlong Date: Mon, 29 Aug 2022 16:40:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20sql=20=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/dataease/service/dataset/DataSetTableService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/dataease/service/dataset/DataSetTableService.java b/backend/src/main/java/io/dataease/service/dataset/DataSetTableService.java index faa5a69215..76ec446d36 100644 --- a/backend/src/main/java/io/dataease/service/dataset/DataSetTableService.java +++ b/backend/src/main/java/io/dataease/service/dataset/DataSetTableService.java @@ -2731,7 +2731,7 @@ public class DataSetTableService { boolean hasSubBinaryExpression = false; try { BinaryExpression leftBinaryExpression = (BinaryExpression) expr.getLeftExpression(); - hasSubBinaryExpression = leftBinaryExpression.getLeftExpression() instanceof Expression; + hasSubBinaryExpression = leftBinaryExpression.getLeftExpression() instanceof BinaryExpression; } catch (Exception e) {e.printStackTrace();} if (expr.getLeftExpression() instanceof BinaryExpression && !hasSubBinaryExpression && hasVarible(expr.getLeftExpression().toString())) {