Commit 41d7fe28 by lzy

空间树

parent 22c51a83
......@@ -28,6 +28,9 @@ public class PlatSpaceVO extends BaseIdDTO {
@ApiModelProperty("属性 1-居家 2-机构")
private String attribute;
@ApiModelProperty("上级路径")
private String patentPath;
@ApiModelProperty("子集")
private List<PlatSpaceVO> children;
}
......@@ -370,6 +370,7 @@ public class PlatSpaceServiceImpl extends ServiceImpl<PlatSpaceMapper, PlatSpace
vo.setParentId(space.getParentId());
vo.setId(space.getId());
vo.setAttribute(space.getAttribute());
vo.setPatentPath(space.getParentPath());
return vo;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment