update 树型我的收藏节点编码

This commit is contained in:
liao
2023-09-13 13:49:20 +08:00
parent a79e330646
commit bde57df513
2 changed files with 2 additions and 0 deletions
@@ -11,4 +11,5 @@ public class TreeNodeConstants {
// 根节点 不能增删改
public static final Integer NODE_TYPE_MY_COLLECT = 0;
public static final String MY_COLLECTION = "MyCollection";
}
@@ -72,6 +72,7 @@ public class LawsTreeNodeServiceImpl extends ServiceImpl<LawsTreeNodeMapper, Law
myCollect.setKey("myCollect");
myCollect.setValue("myCollect");
myCollect.setTitle("我的收藏");
myCollect.setNodeCode(TreeNodeConstants.MY_COLLECTION);
myCollect.setNodeType(TreeNodeConstants.NODE_TYPE_MY_COLLECT);
lawsTreeNodeModels.add(myCollect);
}