|
@@ -100,7 +100,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
|
100
|
100
|
return AjaxResult.error("任务不存在");
|
101
|
101
|
}
|
102
|
102
|
//如果pass变量是通过,存入流程任务变量表
|
103
|
|
- if (Objects.nonNull(taskVo.getVariables().get("pass")))
|
|
103
|
+ if (Objects.nonNull(taskVo.getVariables().get("pass")) && taskVo.getVariables().get("pass").equals("通过"))
|
104
|
104
|
runtimeService.setVariable(task.getExecutionId(), "pass", taskVo.getVariables().get("pass"));
|
105
|
105
|
else {
|
106
|
106
|
if (DelegationState.PENDING.equals(task.getDelegationState())) {
|