feat:[REQ-3488] 使用lamda表达式简化方法
This commit is contained in:
parent
137b993829
commit
56d2607fed
@ -113,7 +113,7 @@ public class CooperateShipFoundationServiceImpl implements CooperateShipFoundati
|
|||||||
}
|
}
|
||||||
return excludeJobCodes.contains(job.getCode());
|
return excludeJobCodes.contains(job.getCode());
|
||||||
}).map(OrganizationalNodeUser::getTopNodeId).collect(Collectors.toList());
|
}).map(OrganizationalNodeUser::getTopNodeId).collect(Collectors.toList());
|
||||||
nodeIds.removeIf(t -> excludeJobNodeIds.contains(t));
|
nodeIds.removeIf(excludeJobNodeIds::contains);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除原协同关系节点
|
// 删除原协同关系节点
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user