From ab6ee44ac94fc83d0216b61c0f067648dec3a655 Mon Sep 17 00:00:00 2001 From: huangweixiong Date: Thu, 14 Apr 2022 19:29:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E9=92=A9=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../listener/CorrectionListener.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 renren-admin/src/main/java/io/renren/modules/processForm/listener/CorrectionListener.java diff --git a/renren-admin/src/main/java/io/renren/modules/processForm/listener/CorrectionListener.java b/renren-admin/src/main/java/io/renren/modules/processForm/listener/CorrectionListener.java new file mode 100644 index 00000000..cc21c4dd --- /dev/null +++ b/renren-admin/src/main/java/io/renren/modules/processForm/listener/CorrectionListener.java @@ -0,0 +1,19 @@ +package io.renren.modules.processForm.listener; + +import org.activiti.engine.delegate.DelegateExecution; +import org.activiti.engine.delegate.DelegateTask; +import org.activiti.engine.delegate.ExecutionListener; +import org.activiti.engine.delegate.TaskListener; + +public class CorrectionListener implements TaskListener, ExecutionListener { + @Override + public void notify(DelegateTask delegateTask) { + delegateTask.setAssignee("1513432847327199233"); + System.out.println("进入DelegateTask"); + } + + @Override + public void notify(DelegateExecution execution) throws Exception { + System.out.println("进入DelegateExecution"); + } +}