|
|
@@ -403,6 +403,8 @@ public class WbsTreePrivateController extends BladeController {
|
|
|
@RequestParam("projectId") String projectId) {
|
|
|
R<List<WbsNodeTableVO>> r = findNodeTableByCondition(parentId, wbsId, projectId);
|
|
|
List<WbsNodeTableVO> data = r.getData();
|
|
|
+ List<WbsTreePrivateTableVO> list = new ArrayList<>();
|
|
|
+ if (data != null && !data.isEmpty()) {
|
|
|
//解析html
|
|
|
data.forEach(f -> {
|
|
|
String htmlUrl = f.getHtmlUrl();
|
|
|
@@ -466,8 +468,6 @@ public class WbsTreePrivateController extends BladeController {
|
|
|
}
|
|
|
});
|
|
|
|
|
|
- List<WbsTreePrivateTableVO> list = new ArrayList<>();
|
|
|
- if (data != null && !data.isEmpty()) {
|
|
|
Integer wbsType = data.get(0).getWbsType();
|
|
|
Map<Integer, List<WbsNodeTableVO>> groupMap;
|
|
|
if (wbsType != null && wbsType == 1) {
|