Merge pull request #13007 from dataease/pr@dev-v2@fix_name-check

fix(仪表板、数据大屏): 修复可能出现资源名称的重复问题#12670
This commit is contained in:
王嘉豪 2024-10-30 14:49:09 +08:00 committed by GitHub
commit 87a0bc7642
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -752,7 +752,6 @@ public class DataVisualizationServer implements DataVisualizationApi {
wrapper.eq("name", request.getName().trim());
wrapper.eq("node_type", request.getNodeType());
wrapper.eq("type", request.getType());
wrapper.eq("org_id", AuthUtils.getUser().getDefaultOid());
if (visualizationInfoMapper.exists(wrapper)) {
DEException.throwException("当前名称已经存在");
}