forked from github/dataease
fix: 上传Excel
This commit is contained in:
parent
244b07a3cf
commit
29d5ceb7f4
@ -265,7 +265,9 @@ public class DatasourceServer implements DatasourceApi {
|
|||||||
DEException.throwException("Failed to create table " + datasourceRequest.getTable());
|
DEException.throwException("Failed to create table " + datasourceRequest.getTable());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
commonThreadPool.addTask(() -> {
|
||||||
datasourceSyncManage.extractExcelData(coreDatasource, "all_scope");
|
datasourceSyncManage.extractExcelData(coreDatasource, "all_scope");
|
||||||
|
});
|
||||||
} else if (dataSourceDTO.getType().equals(DatasourceConfiguration.DatasourceType.API.name())) {
|
} else if (dataSourceDTO.getType().equals(DatasourceConfiguration.DatasourceType.API.name())) {
|
||||||
CoreDatasourceTask coreDatasourceTask = new CoreDatasourceTask();
|
CoreDatasourceTask coreDatasourceTask = new CoreDatasourceTask();
|
||||||
BeanUtils.copyBean(coreDatasourceTask, dataSourceDTO.getSyncSetting());
|
BeanUtils.copyBean(coreDatasourceTask, dataSourceDTO.getSyncSetting());
|
||||||
|
Loading…
Reference in New Issue
Block a user