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

实体数据同步逻辑优化(remove)

上级 07a4e20c
...@@ -78,7 +78,7 @@ public class RocketMQAspect ...@@ -78,7 +78,7 @@ public class RocketMQAspect
<#if dataSync.getOutPSSysDataSyncAgent?? && dataSync.getOutPSSysDataSyncAgent()??> <#if dataSync.getOutPSSysDataSyncAgent?? && dataSync.getOutPSSysDataSyncAgent()??>
<#assign producer=dataEntity.codeName+dataSync.codeName> <#assign producer=dataEntity.codeName+dataSync.codeName>
@Around(value = "${getPointCut(dataEntity,dataSync)}") @Around(value = "${getPointCut(dataEntity,dataSync)}")
public void ${srfmethodname(producer)}(ProceedingJoinPoint point) { public Object ${srfmethodname(producer)}(ProceedingJoinPoint point) throws Throwable{
Object entity = getEntity(point); Object entity = getEntity(point);
Object result = point.proceed(); Object result = point.proceed();
<#if dataSync.getOutTestPSDEAction?? && dataSync.getOutTestPSDEAction()??> <#if dataSync.getOutTestPSDEAction?? && dataSync.getOutTestPSDEAction()??>
...@@ -86,6 +86,7 @@ public class RocketMQAspect ...@@ -86,6 +86,7 @@ public class RocketMQAspect
outputAction(point, "${actionName}", entity); outputAction(point, "${actionName}", entity);
</#if> </#if>
sendMsg(topic, "${dataSync.codeName?lower_case}", entity); sendMsg(topic, "${dataSync.codeName?lower_case}", entity);
return result;
} }
</#if> </#if>
</#list> </#list>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册