Merge branch 'dev'
This commit is contained in:
commit
fbb8afce2c
|
@ -191,8 +191,8 @@ public class ActTaskService extends BaseServiceImpl {
|
||||||
List<Task> tasks = nativeTaskQuery.listPage((curPage - 1) * limit, limit);
|
List<Task> tasks = nativeTaskQuery.listPage((curPage - 1) * limit, limit);
|
||||||
long count = nativeCountTaskQuery.count();
|
long count = nativeCountTaskQuery.count();
|
||||||
List<CompletableFuture> completableFutures = new ArrayList<CompletableFuture>();
|
List<CompletableFuture> completableFutures = new ArrayList<CompletableFuture>();
|
||||||
|
final TaskQuery taskQuery = taskService.createTaskQuery();
|
||||||
List<Task> list_ = tasks.stream().map(index -> {
|
List<Task> list_ = tasks.stream().map(index -> {
|
||||||
TaskQuery taskQuery = taskService.createTaskQuery();
|
|
||||||
CompletableFuture tempTask = CompletableFuture.supplyAsync(() -> taskQuery.taskId(index.getId()).includeProcessVariables().singleResult(), executor);
|
CompletableFuture tempTask = CompletableFuture.supplyAsync(() -> taskQuery.taskId(index.getId()).includeProcessVariables().singleResult(), executor);
|
||||||
Task temp = null;
|
Task temp = null;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue