forked from github/dataease
Merge pull request #2464 from dataease/pr@dev@fix_sql_dataset_view_plugin
fix: 插件视图不能使用sql数据集
This commit is contained in:
commit
f6e5ce7ca6
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user