提交 2e3378c5 编写于 作者: ibizdev's avatar ibizdev

zhouweidong 发布系统代码 [ibz-ou,统一组织单位]

上级 c2680d22
...@@ -42,12 +42,12 @@ public class RocketMQAspect ...@@ -42,12 +42,12 @@ public class RocketMQAspect
@Value("${ibiz.rocketmq.topic:default}") @Value("${ibiz.rocketmq.topic:default}")
private String topic; private String topic;
@AfterReturning(value = "(execution(* cn.ibizlab.core.*.service.*SysEmployee*.create*(..))||execution(* cn.ibizlab.core.*.service.*SysEmployee*.update*(..))||execution(* cn.ibizlab.core.*.service.*SysEmployee*.save*(..)) ||execution(* cn.ibizlab.core.*.service.*SysEmployee*.remove*(..))) && !execution(* cn.ibizlab.core.es.service.*.create*(..)) && !execution(* cn.ibizlab.core.es.service.*.update*(..)) && !execution(* cn.ibizlab.core.es.service.*.save*(..)) && !execution(* cn.ibizlab.core.es.service.*.remove*(..))") @AfterReturning(value = "(execution(* cn.ibizlab.core.*.service.*SysEmployee*.remove*(..)))")
@Async @Async
public void sysEmployeedeleteSysUser(JoinPoint point) { public void sysEmployeedeleteSysUser(JoinPoint point) {
sendMsg(topic, "deletesysuser", getEntity(point)); sendMsg(topic, "deletesysuser", getEntity(point));
} }
@AfterReturning(value = "(execution(* cn.ibizlab.core.*.service.*SysEmployee*.create*(..))||execution(* cn.ibizlab.core.*.service.*SysEmployee*.update*(..))||execution(* cn.ibizlab.core.*.service.*SysEmployee*.save*(..)) ||execution(* cn.ibizlab.core.*.service.*SysEmployee*.remove*(..))) && !execution(* cn.ibizlab.core.es.service.*.create*(..)) && !execution(* cn.ibizlab.core.es.service.*.update*(..)) && !execution(* cn.ibizlab.core.es.service.*.save*(..)) && !execution(* cn.ibizlab.core.es.service.*.remove*(..))") @AfterReturning(value = "(execution(* cn.ibizlab.core.*.service.*SysEmployee*.create*(..))||execution(* cn.ibizlab.core.*.service.*SysEmployee*.update*(..)))")
@Async @Async
public void sysEmployeesaveSysUser(JoinPoint point) { public void sysEmployeesaveSysUser(JoinPoint point) {
sendMsg(topic, "savesysuser", getEntity(point)); sendMsg(topic, "savesysuser", getEntity(point));
...@@ -113,3 +113,4 @@ public class RocketMQAspect ...@@ -113,3 +113,4 @@ public class RocketMQAspect
} }
} }
} }
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册