fix: 获取数据源类型

This commit is contained in:
taojinlong 2022-06-20 17:39:44 +08:00
parent 179776fa4b
commit 7e5a78334b

View File

@ -101,7 +101,7 @@ public class ViewPluginBaseServiceImpl implements ViewPluginBaseService {
if (ObjectUtils.isNotEmpty(pluginViewSet.getMode()) && 1 == pluginViewSet.getMode()) {
tableName = TableUtils.tableName(pluginViewSet.getTabelId());
}else {
switch (DatasetType.valueOf(pluginViewSet.getType())) {
switch (DatasetType.getEnumObjByKey(pluginViewSet.getType())) {
case DB:
tableName = dataTableInfoDTO.getTable();
break;