|
@@ -193,8 +193,16 @@ public class WbsTreeSynchronousRecordServiceImpl extends ServiceImpl<WbsTreeSync
|
|
|
return wbsTreePrivates;
|
|
|
}
|
|
|
List<WbsTreeSynchronousRecordVo> tempProject = getTempProject(nodeId, wbsTreePrivate, wbsTreePrivates);
|
|
|
+ //过滤自身数据
|
|
|
+ List<WbsTreeSynchronousRecordVo> returnData = new ArrayList<>();
|
|
|
+ for (WbsTreeSynchronousRecordVo wbsTreeSynchronousRecordVo : tempProject) {
|
|
|
+ if(wbsTreeSynchronousRecordVo.getType() == 2 && Objects.equals(wbsTreeSynchronousRecordVo.getId().toString(), wbsTreePrivate.getProjectId())){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+ returnData.add(wbsTreeSynchronousRecordVo);
|
|
|
+ }
|
|
|
|
|
|
- return tempProject;
|
|
|
+ return returnData;
|
|
|
}
|
|
|
|
|
|
|