|
|
@@ -9,13 +9,13 @@ import org.activiti.engine.delegate.TaskListener;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
@Component("appendWorkflowEndService")
|
|
|
-public class AppendWorkflowEndService implements ExecutionListener {
|
|
|
+public class AppendWorkflowEndService implements TaskListener {
|
|
|
// 企业法规处审批入库完成
|
|
|
@Override
|
|
|
- public void notify(DelegateExecution delegateExecution) {
|
|
|
- String callbackUrl = delegateExecution.getVariable("callbackUrl").toString();
|
|
|
+ public void notify(DelegateTask delegateTask) {
|
|
|
+ String callbackUrl = delegateTask.getVariable("callbackUrl").toString();
|
|
|
// String processKey = delegateTask.getVariable("processKey").toString();
|
|
|
- String businessKey = delegateExecution.getVariable("businessKey").toString();
|
|
|
+ String businessKey = delegateTask.getVariable("businessKey").toString();
|
|
|
|
|
|
String approveUrl = callbackUrl + "/suppliercert-append-listener/workflow-end";
|
|
|
|