!40 代办、已办列表获取流程参数优化

Merge pull request !40 from 陈硕/master
This commit is contained in:
KonBAI
2023-04-20 13:46:34 +00:00
committed by Gitee

View File

@@ -296,7 +296,7 @@ public class WfProcessServiceImpl extends FlowServiceFactory implements IWfProce
flowTask.setStartDeptName(startUser.getDept().getDeptName());
// 流程变量
flowTask.setProcVars(this.getProcessVariables(task.getId()));
flowTask.setProcVars(task.getProcessVariables());
flowList.add(flowTask);
}
@@ -342,7 +342,7 @@ public class WfProcessServiceImpl extends FlowServiceFactory implements IWfProce
taskVo.setStartUserName(startUser.getNickName());
taskVo.setStartDeptName(startUser.getDept().getDeptName());
// 流程变量
taskVo.setProcVars(this.getProcessVariables(task.getId()));
taskVo.setProcVars(task.getProcessVariables());
taskVoList.add(taskVo);
}
@@ -485,7 +485,7 @@ public class WfProcessServiceImpl extends FlowServiceFactory implements IWfProce
flowTask.setStartDeptName(startUser.getDept().getDeptName());
// 流程变量
flowTask.setProcVars(this.getProcessVariables(histTask.getId()));
flowTask.setProcVars(histTask.getProcessVariables());
hisTaskList.add(flowTask);
}
@@ -541,7 +541,7 @@ public class WfProcessServiceImpl extends FlowServiceFactory implements IWfProce
flowTask.setStartDeptName(startUser.getDept().getDeptName());
// 流程变量
flowTask.setProcVars(this.getProcessVariables(histTask.getId()));
flowTask.setProcVars(histTask.getProcessVariables());
hisTaskList.add(flowTask);
}