1、修复禅道bug
This commit is contained in:
@@ -36,4 +36,13 @@ public class ToolTreeSelect implements Serializable
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
public ToolTreeSelect(DocumentCategory docCategory)
|
||||
{
|
||||
this.id = docCategory.getId();
|
||||
this.label = docCategory.getCategoryName();
|
||||
this.types = docCategory.getTypes();
|
||||
this.children = docCategory.getChildren().stream().map(ToolTreeSelect::new).collect(Collectors.toList());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ public class TreeSelect implements Serializable
|
||||
|
||||
/** 节点ID */
|
||||
private Long id;
|
||||
|
||||
private String categoryId;
|
||||
/** 节点名称 */
|
||||
private String label;
|
||||
|
||||
@@ -54,6 +54,7 @@ public class TreeSelect implements Serializable
|
||||
public TreeSelect(DocumentCategory docCategory)
|
||||
{
|
||||
this.id = Long.valueOf(docCategory.getId());
|
||||
this.categoryId = docCategory.getId();
|
||||
this.label = docCategory.getCategoryName();
|
||||
this.types = docCategory.getTypes();
|
||||
this.children = docCategory.getChildren().stream().map(TreeSelect::new).collect(Collectors.toList());
|
||||
|
||||
Reference in New Issue
Block a user