Merge pull request #4442 from dataease/pr@dev@pages

fix: API 数据集状态显示
This commit is contained in:
taojinlong 2023-02-01 16:13:00 +08:00 committed by GitHub
commit e99543dc00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -340,6 +340,7 @@ public class DatasourceService {
datasourceDTO.setApiConfiguration(apiDefinitionListWithStatus);
if (success == apiDefinitionList.size()) {
datasource.setStatus(datasourceStatus);
return ResultHolder.success(datasourceDTO);
}
if (success > 0 && success < apiDefinitionList.size()) {