forked from github/dataease
fix: 创建数据集时数据源状态不正确
This commit is contained in:
parent
ae0d9387b3
commit
cb2025164e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user