提交 b6343ee9 编写于 作者: journey2018's avatar journey2018

update TaskInstance get

上级 5af90ba1
......@@ -82,7 +82,7 @@ public class FetchTaskThread implements Runnable{
/**
* task instance
*/
private volatile TaskInstance taskInstance;
private TaskInstance taskInstance;
/**
* task instance id
......@@ -175,7 +175,7 @@ public class FetchTaskThread implements Runnable{
taskInstId = Integer.parseInt(taskQueueStr.split(Constants.UNDERLINE)[3]);
// get task instance relation
TaskInstance taskInstance = processDao.getTaskInstanceRelationByTaskId(taskInstId);
taskInstance = processDao.getTaskInstanceRelationByTaskId(taskInstId);
Tenant tenant = processDao.getTenantForProcess(taskInstance.getProcessInstance().getTenantId(),
taskInstance.getProcessDefine().getUserId());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册