|
@@ -241,7 +241,10 @@ public class WbsSynchronousServiceImpl {
|
|
|
throw new ServiceException("模板节点未找到");
|
|
|
}
|
|
|
templateNodes = BeanUtil.copyProperties(wbsTrees, WbsTreePrivate.class);
|
|
|
- templateNodes.forEach(f -> f.setTreePId(f.getId()));
|
|
|
+ templateNodes.forEach(f -> {
|
|
|
+ f.setPKeyId(f.getId());
|
|
|
+ f.setTreePId(f.getId());
|
|
|
+ });
|
|
|
|
|
|
} else {
|
|
|
//获取当前选中节点与私有模板对应的节点信息 父级模板项目的当前选中节点
|