Merge branch 'dev'

This commit is contained in:
wangliwen 2022-12-10 17:03:22 +08:00
commit fbb8afce2c
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 {