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

补充插入当前实体对象判断

上级 d02786c9
...@@ -3,16 +3,17 @@ TARGET=PSDEACTION ...@@ -3,16 +3,17 @@ TARGET=PSDEACTION
</#ibiztemplate> </#ibiztemplate>
<#if sys.getCodeName()=='Sample' || sys.getCodeName()=='EAM'> <#if sys.getCodeName()=='Sample' || sys.getCodeName()=='EAM'>
<#assign hasAfterLogic =false> <#assign hasAfterLogic =false>
<#assign hasAfterDrl=false>
<#assign de=item.getPSDataEntity()> <#assign de=item.getPSDataEntity()>
<#if item.getAfterPSDEActionLogics?? && item.getAfterPSDEActionLogics()??> <#if item.getAfterPSDEActionLogics?? && item.getAfterPSDEActionLogics()??>
<#list item.getAfterPSDEActionLogics() as afterlogic> <#list item.getAfterPSDEActionLogics() as afterlogic>
<#if afterlogic.isValid()==true> <#if afterlogic.isValid()==true>
<#if afterlogic.isInternalLogic() && afterlogic.getPSDELogic().isEnableBackend()> <#if afterlogic.isInternalLogic() && afterlogic.getPSDELogic().isEnableBackend()>
<#assign hasAfterLogic=true> <#assign hasAfterLogic=true>
<#break>
<#elseif (afterlogic.getDstPSDE()!'')!='' && (afterlogic.getDstPSDEAction()!'')!='' && afterlogic.getDstPSDEAction().isEnableBackend()> <#elseif (afterlogic.getDstPSDE()!'')!='' && (afterlogic.getDstPSDEAction()!'')!='' && afterlogic.getDstPSDEAction().isEnableBackend()>
<#assign hasAfterLogic=true> <#assign hasAfterLogic=true>
<#break> <#assign hasAfterDrl=true>
<#break >
</#if> </#if>
</#if> </#if>
</#list> </#list>
...@@ -36,8 +37,10 @@ TARGET=PSDEACTION ...@@ -36,8 +37,10 @@ TARGET=PSDEACTION
</#if> </#if>
</#if> </#if>
</#list> </#list>
<#if hasAfterDrl>
<#comment>插入当前实体对象</#comment> <#comment>插入当前实体对象</#comment>
<tns:metaData express="" name="et" type="entity"/> <tns:metaData express="" name="et" type="entity"/>
</#if>
</extensionElements> </extensionElements>
<#if item.getAfterPSDEActionLogics?? && item.getAfterPSDEActionLogics()??> <#if item.getAfterPSDEActionLogics?? && item.getAfterPSDEActionLogics()??>
<startEvent id="begin" isInterrupting="true"/> <startEvent id="begin" isInterrupting="true"/>
......
...@@ -3,15 +3,16 @@ TARGET=PSDEACTION ...@@ -3,15 +3,16 @@ TARGET=PSDEACTION
</#ibiztemplate> </#ibiztemplate>
<#if sys.getCodeName()=='Sample' || sys.getCodeName()=='EAM'> <#if sys.getCodeName()=='Sample' || sys.getCodeName()=='EAM'>
<#assign hasBeforeLogic =false> <#assign hasBeforeLogic =false>
<#assign hasBeforeDrl=false>
<#assign de=item.getPSDataEntity()> <#assign de=item.getPSDataEntity()>
<#if item.getBeforePSDEActionLogics?? && item.getBeforePSDEActionLogics()??> <#if item.getBeforePSDEActionLogics?? && item.getBeforePSDEActionLogics()??>
<#list item.getBeforePSDEActionLogics() as beforelogic> <#list item.getBeforePSDEActionLogics() as beforelogic>
<#if beforelogic.isValid()==true> <#if beforelogic.isValid()==true>
<#if beforelogic.isInternalLogic() && beforelogic.getPSDELogic().isEnableBackend()> <#if beforelogic.isInternalLogic() && beforelogic.getPSDELogic().isEnableBackend()>
<#assign hasBeforeLogic=true> <#assign hasBeforeLogic=true>
<#break>
<#elseif (beforelogic.getDstPSDE()!'')!='' && (beforelogic.getDstPSDEAction()!'')!='' && beforelogic.getDstPSDEAction().isEnableBackend()> <#elseif (beforelogic.getDstPSDE()!'')!='' && (beforelogic.getDstPSDEAction()!'')!='' && beforelogic.getDstPSDEAction().isEnableBackend()>
<#assign hasBeforeLogic=true> <#assign hasBeforeLogic=true>
<#assign hasBeforeDrl=true>
<#break> <#break>
</#if> </#if>
</#if> </#if>
...@@ -36,8 +37,10 @@ TARGET=PSDEACTION ...@@ -36,8 +37,10 @@ TARGET=PSDEACTION
</#if> </#if>
</#if> </#if>
</#list> </#list>
<#if hasBeforeDrl>
<#comment>插入当前实体对象</#comment> <#comment>插入当前实体对象</#comment>
<tns:metaData express="" name="et" type="entity"/> <tns:metaData express="" name="et" type="entity"/>
</#if>
</extensionElements> </extensionElements>
<#if item.getBeforePSDEActionLogics?? && item.getBeforePSDEActionLogics()??> <#if item.getBeforePSDEActionLogics?? && item.getBeforePSDEActionLogics()??>
<startEvent id="begin" isInterrupting="true"/> <startEvent id="begin" isInterrupting="true"/>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册