Merge pull request #212 from dataease/pr@dev@refactor_SQL调整

refactor: SQL拼接
This commit is contained in:
XiaJunjie2020 2021-07-12 15:54:31 +08:00 committed by GitHub
commit 250b9b89c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {