forked from github/dataease
Merge pull request #12365 from dataease/pr@dev-v2@fixdscheck
fix: 重命名数据源校验失败
This commit is contained in:
commit
cac6b54457
@ -208,6 +208,7 @@ public class DatasourceServer implements DatasourceApi {
|
||||
}
|
||||
CoreDatasource datasource = datasourceMapper.selectById(dataSourceDTO.getId());
|
||||
datasource.setName(dataSourceDTO.getName());
|
||||
dataSourceDTO.setPid(datasource.getPid());
|
||||
dataSourceManage.checkName(dataSourceDTO);
|
||||
dataSourceManage.innerEdit(datasource);
|
||||
return dataSourceDTO;
|
||||
|
Loading…
Reference in New Issue
Block a user