...
This commit is contained in:
parent
8b4966349e
commit
94c46eadb2
|
@ -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())); // 发布到应用网关
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue