mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-20 19:46:05 +08:00
不使用并发流
This commit is contained in:
@@ -64,7 +64,7 @@ public abstract class AbstractTreeSortService<E extends TreeSortSupportEntity<PK
|
||||
|
||||
@Override
|
||||
public List<PK> insertBatch(Collection<E> data) {
|
||||
return data.parallelStream()
|
||||
return data.stream()
|
||||
.map(this::insert)
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user