From cb2025164e0d087fc3e286c05fdb12ebdc401ba0 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Wed, 26 Jun 2024 15:58:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=9B=E5=BB=BA=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E9=9B=86=E6=97=B6=E6=95=B0=E6=8D=AE=E6=BA=90=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E4=B8=8D=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/dataease/datasource/server/DatasourceServer.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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;