提交 c246138e 编写于 作者: O o2null

加回老版本getWorkOrWorkCompleted的work返回值

上级 0844c47b
......@@ -64,12 +64,14 @@ class ActionGetWithWorkOrWorkCompleted extends BaseAction {
wo.setReadList(readFuture.get(10, TimeUnit.SECONDS));
this.setCurrentReadIndex(effectivePerson, wo);
this.setCurrentTaskIndex(effectivePerson, wo);
wo.setWork(gson.toJsonTree(work));
} else if (null != workCompleted) {
CompletableFuture<Data> dataFuture = this.dataFuture(workCompleted);
CompletableFuture<List<WoRead>> readFuture = this.readFuture(workCompleted.getJob());
wo.setData(dataFuture.get(10, TimeUnit.SECONDS));
wo.setReadList(readFuture.get(10, TimeUnit.SECONDS));
this.setCurrentReadIndex(effectivePerson, wo);
wo.setWork(gson.toJsonTree(workCompleted));
}
if (BooleanUtils.isFalse(checkControlFuture.get(10, TimeUnit.SECONDS))) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册