From 94c46eadb2bf62a484f7b16e3e2cde237e62cbbc Mon Sep 17 00:00:00 2001 From: wangliwen Date: Thu, 5 May 2022 09:54:35 +0800 Subject: [PATCH] ... --- .../resourceMountApply/listener/ResourceOwnerListener.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/renren-admin/src/main/java/io/renren/modules/resourceMountApply/listener/ResourceOwnerListener.java b/renren-admin/src/main/java/io/renren/modules/resourceMountApply/listener/ResourceOwnerListener.java index b5088653..ac3caccd 100644 --- a/renren-admin/src/main/java/io/renren/modules/resourceMountApply/listener/ResourceOwnerListener.java +++ b/renren-admin/src/main/java/io/renren/modules/resourceMountApply/listener/ResourceOwnerListener.java @@ -53,6 +53,7 @@ public class ResourceOwnerListener implements TaskListener, ExecutionListener, A @Override public void notify(DelegateExecution execution) throws Exception { logger.error("----------------------进入审批通过节点---------------------------"); + logger.error("事件类型:" + execution.getEventName()); final String eventName = execution.getEventName(); switch (eventName) { @@ -120,6 +121,8 @@ public class ResourceOwnerListener implements TaskListener, ExecutionListener, A if (re != null) { re.setDelFlag(0); resourceService.update(re); + logger.error("审批通过!资源id:" + re.getId()); + apiGatewayService.registerApi2Gateway(String.valueOf(re.getId())); // 发布到应用网关 } }