|
|
|
@ -28,9 +28,12 @@ public class TreeSelect implements Serializable
|
|
|
|
/** 业务类型 */
|
|
|
|
/** 业务类型 */
|
|
|
|
private String ywType;
|
|
|
|
private String ywType;
|
|
|
|
|
|
|
|
|
|
|
|
/** 业务类型 */
|
|
|
|
/** 内容 */
|
|
|
|
private String content;
|
|
|
|
private String content;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** 根据客户需求 由于数据库已有很多数据 此处使用remark存储图片 */
|
|
|
|
|
|
|
|
private String remark;
|
|
|
|
|
|
|
|
|
|
|
|
/** 子节点 */
|
|
|
|
/** 子节点 */
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
|
|
|
private List<TreeSelect> children;
|
|
|
|
private List<TreeSelect> children;
|
|
|
|
@ -67,9 +70,18 @@ public class TreeSelect implements Serializable
|
|
|
|
this.id = cabinet.getId();
|
|
|
|
this.id = cabinet.getId();
|
|
|
|
this.label = cabinet.getPosName();
|
|
|
|
this.label = cabinet.getPosName();
|
|
|
|
this.content=cabinet.getContent();
|
|
|
|
this.content=cabinet.getContent();
|
|
|
|
|
|
|
|
this.remark=cabinet.getRemark();
|
|
|
|
this.children = cabinet.getChildren().stream().map(TreeSelect::new).collect(Collectors.toList());
|
|
|
|
this.children = cabinet.getChildren().stream().map(TreeSelect::new).collect(Collectors.toList());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getRemark() {
|
|
|
|
|
|
|
|
return remark;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setRemark(String remark) {
|
|
|
|
|
|
|
|
this.remark = remark;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public String getContent() {
|
|
|
|
public String getContent() {
|
|
|
|
return content;
|
|
|
|
return content;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|