提交 26ed4984 编写于 作者: zhouweidong's avatar zhouweidong

消息队列切点

上级 6d80c0ca
...@@ -167,19 +167,19 @@ public class RocketMQAspect ...@@ -167,19 +167,19 @@ public class RocketMQAspect
<#assign isUpdate=updateArray?seq_contains(type)> <#assign isUpdate=updateArray?seq_contains(type)>
<#assign isDelete=deleteArray?seq_contains(type)> <#assign isDelete=deleteArray?seq_contains(type)>
<#if isCreate> <#if isCreate>
<#assign result="execution(*"+pub.getPKGCodeName()+".core.*.service.*"+dataEntity.codeName+"*.create*(..))"> <#assign result="execution(* "+pub.getPKGCodeName()+".core.*.service.*"+dataEntity.codeName+"*.create*(..))">
</#if> </#if>
<#if isUpdate> <#if isUpdate>
<#if result!=""> <#if result!="">
<#assign result=result+"||"> <#assign result=result+"||">
</#if> </#if>
<#assign result=result+"execution(*"+pub.getPKGCodeName()+".core.*.service.*"+dataEntity.codeName+"*.update*(..))"> <#assign result=result+"execution(* "+pub.getPKGCodeName()+".core.*.service.*"+dataEntity.codeName+"*.update*(..))">
</#if> </#if>
<#if isDelete> <#if isDelete>
<#if result!=""> <#if result!="">
<#assign result=result+"||"> <#assign result=result+"||">
</#if> </#if>
<#assign result=result+"execution(*"+pub.getPKGCodeName()+".core.*.service.*"+dataEntity.codeName+"*.remove*(..))"> <#assign result=result+"execution(* "+pub.getPKGCodeName()+".core.*.service.*"+dataEntity.codeName+"*.remove*(..))">
</#if> </#if>
</#if> </#if>
<#return "("+result+")"> <#return "("+result+")">
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册