Unverified Commit f6e5ce7c authored by fit2cloud-chenyw's avatar fit2cloud-chenyw Committed by GitHub
Browse files

Merge pull request #2464 from dataease/pr@dev@fix_sql_dataset_view_plugin

fix: 插件视图不能使用sql数据集
parents 3d2e4f5e a40fb8a8
Showing with 1 addition and 0 deletions
+1 -0
......@@ -107,6 +107,7 @@ public class ViewPluginBaseServiceImpl implements ViewPluginBaseService {
break;
case SQL:
tableName = dataSetTableService.handleVariableDefaultValue(dataTableInfoDTO.getSql(), pluginViewSet.getSqlVariableDetails());
tableName = "(" + tableName + ")";
break;
case CUSTOM:
List<DataSetTableUnionDTO> list = dataSetTableUnionService.listByTableId(dataTableInfoDTO.getList().get(0).getTableId());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment