forked from github/dataease
Merge pull request #13007 from dataease/pr@dev-v2@fix_name-check
fix(仪表板、数据大屏): 修复可能出现资源名称的重复问题#12670
This commit is contained in:
commit
87a0bc7642
@ -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("当前名称已经存在");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user