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

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

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