mirror of
https://github.com/dataease/dataease.git
synced 2026-05-18 01:38:11 +08:00
fix: 修复应用模板时,设置的数据集分组的名称与已有数据集的名称相同时, 会提示"数据集分组名称已存在" #15611
This commit is contained in:
committed by
fit2cloud-chenyw
parent
c7f23da13f
commit
929f60b423
@@ -471,6 +471,7 @@ public class DataVisualizationServer implements DataVisualizationApi {
|
||||
QueryWrapper<CoreDatasetGroup> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.eq("name", datasetFolderName);
|
||||
queryWrapper.eq("pid", datasetFolderPid);
|
||||
queryWrapper.eq("node_type", DataVisualizationConstants.NODE_TYPE.FOLDER);
|
||||
if (coreDatasetGroupMapper.exists(queryWrapper)) {
|
||||
return "repeat";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user