diff --git a/core/core-backend/src/main/java/io/dataease/datasource/server/DatasourceServer.java b/core/core-backend/src/main/java/io/dataease/datasource/server/DatasourceServer.java index 33697e9c02..b0e0c8062f 100644 --- a/core/core-backend/src/main/java/io/dataease/datasource/server/DatasourceServer.java +++ b/core/core-backend/src/main/java/io/dataease/datasource/server/DatasourceServer.java @@ -688,9 +688,7 @@ public class DatasourceServer implements DatasourceApi { wrapper.eq("id", coreDatasource.getId()); CoreDatasource originData = datasourceMapper.selectById(coreDatasource.getId()); String originStatus = originData.getStatus(); - if (!StringUtils.equals(coreDatasource.getStatus(), originStatus)) { - dataSourceManage.innerEditStatus(coreDatasource); - } + dataSourceManage.innerEditStatus(coreDatasource); } datasourceDTO.setConfiguration(""); return datasourceDTO;