|
|
@@ -143,9 +143,9 @@ public class KwoTradeOrderUnitService {
|
|
|
if (CollectionUtils.isEmpty(list)) {
|
|
|
return Collections.emptySet();
|
|
|
}
|
|
|
- Set<Long> orderIds = new HashSet<>();
|
|
|
Map<Long, Set<Long>> map = list.stream().collect(Collectors.groupingBy(KwoTradeOrderUnit::getTOrderId,
|
|
|
Collectors.mapping(KwoTradeOrderUnit::getEntId, Collectors.toSet())));
|
|
|
+ Set<Long> orderIds = new HashSet<>(map.keySet().size());
|
|
|
map.forEach((k,v)->{
|
|
|
if (v.containsAll(entIds)){
|
|
|
orderIds.add(k);
|