Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-12-10 17:03:29 +08:00
commit 2ee00e0d97
1 changed files with 1 additions and 1 deletions

View File

@ -191,8 +191,8 @@ public class ActTaskService extends BaseServiceImpl {
List<Task> tasks = nativeTaskQuery.listPage((curPage - 1) * limit, limit);
long count = nativeCountTaskQuery.count();
List<CompletableFuture> completableFutures = new ArrayList<CompletableFuture>();
final TaskQuery taskQuery = taskService.createTaskQuery();
List<Task> list_ = tasks.stream().map(index -> {
TaskQuery taskQuery = taskService.createTaskQuery();
CompletableFuture tempTask = CompletableFuture.supplyAsync(() -> taskQuery.taskId(index.getId()).includeProcessVariables().singleResult(), executor);
Task temp = null;
try {