REQ-3540: 更新文件大小

This commit is contained in:
yanglin 2025-03-21 14:44:51 +08:00
parent b7f68fc7a6
commit c00b31e894
2 changed files with 0 additions and 15 deletions

View File

@ -55,10 +55,6 @@ abstract class NodeCreateTemplateDatabase implements NodeCreate {
public final IndexNodeAttributes attributes() {
IndexNodeAttributes attributes = IndexNodeAttributes.create();
attributes.setTemplateDatabaseNode(true);
postProcessAttributes(attributes);
return attributes;
}
protected void postProcessAttributes(IndexNodeAttributes attributes) {
}
}

View File

@ -7,7 +7,6 @@ import org.apache.commons.lang3.StringUtils;
import com.alibaba.fastjson.JSON;
import cn.axzo.nanopart.doc.api.domain.IndexNodeAttributes;
import lombok.Getter;
import lombok.Setter;
@ -34,11 +33,6 @@ public class TemplateDatabaseCreateDirRequest extends NodeCreateTemplateDatabase
*/
private String icon;
/**
* 是否为自定义的图标
*/
private boolean customIcon;
public String icon() {
return StringUtils.isBlank(icon) ? "" : icon;
}
@ -51,11 +45,6 @@ public class TemplateDatabaseCreateDirRequest extends NodeCreateTemplateDatabase
return StringUtils.isBlank(description) ? "" : description;
}
@Override
protected void postProcessAttributes(IndexNodeAttributes attributes) {
attributes.setCustomIcon(customIcon);
}
@Override
public String toString() {
return JSON.toJSONString(this);