REQ-3540: 添加校验

This commit is contained in:
yanglin 2025-03-19 20:18:26 +08:00
parent f67f3e1e2c
commit d9ed21b30e
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ public interface IndexNodeScope {
case FILE_DATABASE:
return false;
default:
return scope().getChildrenNameDuplicatable();
return scope().getChildNameDuplicatable();
}
}

View File

@ -23,6 +23,6 @@ public enum DatabaseScope {
PERSONAL_FOR_ENT(DatabaseType.CREATED_BY_USER_FOR_ENT, false);
private final DatabaseType databaseType;
private final Boolean childrenNameDuplicatable;
private final Boolean childNameDuplicatable;
}