提交 10201d6f 编写于 作者: zhouweidong's avatar zhouweidong

未正式发布notify,wf暂时移除notify feign,避免找不到服务而导致流程启动错误

上级 1ac2fb86
...@@ -46,9 +46,9 @@ public class ProcessInstanceListener extends AbstractFlowableEventListener { ...@@ -46,9 +46,9 @@ public class ProcessInstanceListener extends AbstractFlowableEventListener {
@Lazy @Lazy
WFCoreService wfCoreService; WFCoreService wfCoreService;
@Autowired // @Autowired
@Lazy // @Lazy
IBZNotifyFeignClient notifyFeignClient; // IBZNotifyFeignClient notifyFeignClient;
@Override @Override
public void onEvent(FlowableEvent evt) { public void onEvent(FlowableEvent evt) {
...@@ -209,8 +209,8 @@ public class ProcessInstanceListener extends AbstractFlowableEventListener { ...@@ -209,8 +209,8 @@ public class ProcessInstanceListener extends AbstractFlowableEventListener {
msg.put("msgtypes",Integer.parseInt(templTypes)); msg.put("msgtypes",Integer.parseInt(templTypes));
msg.put("userids",userIds); msg.put("userids",userIds);
msg.put("templparams",activeData); msg.put("templparams",activeData);
notifyFeignClient.SendMsg(msg); // notifyFeignClient.SendMsg(msg);
log.info(String.format("成功向用户[%s]发送一条消息",userIds)); // log.info(String.format("成功向用户[%s]发送一条消息",userIds));
} }
} }
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册