update 树型我的收藏节点编码
This commit is contained in:
+1
@@ -11,4 +11,5 @@ public class TreeNodeConstants {
|
||||
|
||||
// 根节点 不能增删改
|
||||
public static final Integer NODE_TYPE_MY_COLLECT = 0;
|
||||
public static final String MY_COLLECTION = "MyCollection";
|
||||
}
|
||||
|
||||
+1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user