feat: 通用树形相关接口

This commit is contained in:
2024-08-06 17:31:18 +08:00
parent 3c9825aea8
commit 98b6da89d5
4 changed files with 62 additions and 9 deletions
@@ -178,6 +178,13 @@ public class SysDictItem implements TreeNode {
@TableField(exist = false)
private List<SysDictItem> childrenList;
/**
* 是否还有子集
*/
@TableField(exist = false)
@ApiModelProperty(value = "是否还有子集")
private boolean hasChild;
@Override
public String obtainTreeNodeId() {
return id;