/** 保存审批结果 */ public String saveOpinion() throws Exception { workflowInstance = workflowInstanceManager.getWorkflowInstance(workflowId); Opinion opi = new Opinion(); opi.setTransactor(ContextUtils.getUserName()); opi.setCreatedTime(new Date()); opi.setOpinion(opinion); opi.setWorkflowId(workflowInstance.getProcessInstanceId()); opi.setCompanyId(ContextUtils.getCompanyId()); opi.setTaskId(taskId); workflowInstanceManager.saveOpinion(opi); ApiFactory.getBussinessLogService().log("流程汇编", "保存意见", ContextUtils.getSystemId("wf")); return opinion(); }