fix: API 数据集状态显示

This commit is contained in:
taojinlong 2023-02-01 16:08:10 +08:00
parent b0157b5685
commit 13ba5a52a6

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()) {