适配北航扩展

This commit is contained in:
chenxudong 2025-05-12 14:37:34 +08:00
parent 10da858abb
commit c6f2daec1a
3 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,7 @@ public class FileProjectVO {
private String parentId;
private Integer dataStatus;
private Integer sort;
private String templateCode;
private List<FileProjectVO> children = new ArrayList<>();
}

View File

@ -16,6 +16,7 @@ public class ProjectVO {
private int sort;
private Integer dataStatus;
private String title;
private String templateCode;
private List<ProjectVO> children = new ArrayList<>();
}

View File

@ -77,6 +77,7 @@ public class CommonService {
treeNode.putExtra(ProjectVO.Fields.fileName, obj.getFileName());
treeNode.putExtra(ProjectVO.Fields.title, obj.getFileName());
treeNode.putExtra(ProjectVO.Fields.dataStatus, obj.getDataStatus());
treeNode.putExtra(ProjectVO.Fields.templateCode, obj.getTemplateCode());
}));
return JSONUtil.toJsonStr(trees);
}
@ -90,6 +91,7 @@ public class CommonService {
treeNode.putExtra(FileProjectVO.Fields.sort, obj.getSort());
treeNode.putExtra(FileProjectVO.Fields.categoryName, obj.getFileName());
treeNode.putExtra(FileProjectVO.Fields.dataStatus, obj.getDataStatus());
treeNode.putExtra(FileProjectVO.Fields.templateCode, obj.getTemplateCode());
}));
return JSONUtil.toJsonStr(fileTrees);