From 6611d4de50a9336a8940576c608502dd006c45a4 Mon Sep 17 00:00:00 2001 From: junjie Date: Mon, 12 Jul 2021 15:53:40 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20SQL=E6=8B=BC=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/dataease/provider/oracle/OracleQueryProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/dataease/provider/oracle/OracleQueryProvider.java b/backend/src/main/java/io/dataease/provider/oracle/OracleQueryProvider.java index 56e74005b1..69db3c4f84 100644 --- a/backend/src/main/java/io/dataease/provider/oracle/OracleQueryProvider.java +++ b/backend/src/main/java/io/dataease/provider/oracle/OracleQueryProvider.java @@ -102,7 +102,7 @@ public class OracleQueryProvider extends QueryProvider { for (int i = 0; i < fields.size(); i++) { DatasetTableField f = fields.get(i); String originField = String.format(OracleConstants.KEYWORD_FIX, tableObj.getTableAlias(), f.getOriginName()); - String fieldAlias = String.format(String.format(OracleConstants.ALIAS_FIX, SQLConstants.FIELD_ALIAS_X_PREFIX, i)); + String fieldAlias = String.format(OracleConstants.ALIAS_FIX, String.format(SQLConstants.FIELD_ALIAS_X_PREFIX, i)); String fieldName = ""; // 处理横轴字段 if (f.getDeExtractType() == 1) {