|
|
@ -74,11 +74,11 @@ public class StandardWorkTicketConsumer implements IQueueConsume { |
|
|
|
WorkflowOperationLog workflowOperationLog = new WorkflowOperationLog(); |
|
|
|
WorkflowOperationLog workflowOperationLog = new WorkflowOperationLog(); |
|
|
|
BeanUtils.copyProperties(response,workflowOperationLog); |
|
|
|
BeanUtils.copyProperties(response,workflowOperationLog); |
|
|
|
if (ObjectUtils.isNotEmpty(workflowOperationLog)) { |
|
|
|
if (ObjectUtils.isNotEmpty(workflowOperationLog)) { |
|
|
|
regularWorkflowOperationLog.setVariables(JSON.toJSONString(response.getVariables())); |
|
|
|
workflowOperationLog.setVariables(JSON.toJSONString(response.getVariables())); |
|
|
|
regularWorkflowOperationLog.setTakeId(response.getTaskId()); |
|
|
|
workflowOperationLog.setTakeId(response.getTaskId()); |
|
|
|
regularWorkflowOperationLog.setTakeName(response.getTaskName()); |
|
|
|
workflowOperationLog.setTakeName(response.getTaskName()); |
|
|
|
regularWorkflowOperationLog.setIsOperationLog(false); |
|
|
|
workflowOperationLog.setIsOperationLog(false);//没保存成功
|
|
|
|
regularWorkflowOperationLog.setProcessInstanceKey(response.getProcessInstanceId()); |
|
|
|
workflowOperationLog.setProcessInstanceKey(response.getProcessInstanceId()); |
|
|
|
log.info("正在保存到hzims_workflow_operation_log.... :{}", workflowOperationLog); |
|
|
|
log.info("正在保存到hzims_workflow_operation_log.... :{}", workflowOperationLog); |
|
|
|
workflowOperationLogService.save(workflowOperationLog); |
|
|
|
workflowOperationLogService.save(workflowOperationLog); |
|
|
|
} |
|
|
|
} |
|
|
|