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

行为与逻辑补充后台判断

上级 d5d0b956
...@@ -2316,7 +2316,7 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser ...@@ -2316,7 +2316,7 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser
<#assign tempEntityName="et"> <#assign tempEntityName="et">
<#if deaction.getPSDEActionLogics()??> <#if deaction.getPSDEActionLogics()??>
<#list deaction.getPSDEActionLogics() as actionlogic> <#list deaction.getPSDEActionLogics() as actionlogic>
<#if actionlogic.isValid()==true> <#if actionlogic.isValid()==true && actionlogic.isInternalLogic() && actionlogic.getPSDELogic().isEnableBackend()>
<#if deaction.getCodeName()?lower_case == "get"> <#if deaction.getCodeName()?lower_case == "get">
<#assign tempEntityName="tempET"> <#assign tempEntityName="tempET">
</#if> </#if>
...@@ -2335,7 +2335,7 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser ...@@ -2335,7 +2335,7 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser
<#if deaction.getPSDEActionLogics()??> <#if deaction.getPSDEActionLogics()??>
<#list deaction.getPSDEActionLogics() as actionlogic> <#list deaction.getPSDEActionLogics() as actionlogic>
<#if actionlogic.getAttachMode()=='BEFORE' && actionlogic.isValid()==true> <#if actionlogic.getAttachMode()=='BEFORE' && actionlogic.isValid()==true>
<#if actionlogic.isInternalLogic()> <#if actionlogic.isInternalLogic() && actionlogic.getPSDELogic().isEnableBackend()>
${actionlogic.getPSDELogic().getCodeName()?lower_case}Logic.execute(tempET); ${actionlogic.getPSDELogic().getCodeName()?lower_case}Logic.execute(tempET);
</#if> </#if>
</#if> </#if>
...@@ -2350,7 +2350,7 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser ...@@ -2350,7 +2350,7 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser
<#if actionlogic.isValid()==true> <#if actionlogic.isValid()==true>
<#if actionlogic.isInternalLogic() && actionlogic.getPSDELogic().isEnableBackend()> <#if actionlogic.isInternalLogic() && actionlogic.getPSDELogic().isEnableBackend()>
${actionlogic.getPSDELogic().getCodeName()?lower_case}Logic.execute(et); ${actionlogic.getPSDELogic().getCodeName()?lower_case}Logic.execute(et);
<#elseif (actionlogic.getDstPSDE()!'')!='' && (actionlogic.getDstPSDEAction()!'')!=''> <#elseif (actionlogic.getDstPSDE()!'')!='' && (actionlogic.getDstPSDEAction()!'')!='' && actionlogic.getDstPSDEAction().isEnableBackend()>
<@addActionLogic deaction actionlogic/> <@addActionLogic deaction actionlogic/>
</#if> </#if>
</#if> </#if>
...@@ -2417,7 +2417,7 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser ...@@ -2417,7 +2417,7 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser
<#if actionlogic.isValid()==true> <#if actionlogic.isValid()==true>
<#if actionlogic.isInternalLogic() && actionlogic.getPSDELogic().isEnableBackend()> <#if actionlogic.isInternalLogic() && actionlogic.getPSDELogic().isEnableBackend()>
${actionlogic.getPSDELogic().getCodeName()?lower_case}Logic.execute(et); ${actionlogic.getPSDELogic().getCodeName()?lower_case}Logic.execute(et);
<#elseif (actionlogic.getDstPSDE()!'')!='' && (actionlogic.getDstPSDEAction()!'')!=''> <#elseif (actionlogic.getDstPSDE()!'')!='' && (actionlogic.getDstPSDEAction()!'')!='' && actionlogic.getDstPSDEAction().isEnableBackend()>
<@addActionLogic deaction actionlogic/> <@addActionLogic deaction actionlogic/>
</#if> </#if>
</#if> </#if>
...@@ -2438,14 +2438,14 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser ...@@ -2438,14 +2438,14 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser
<#macro importDEAction actionLogic> <#macro importDEAction actionLogic>
<#assign actionLogicDE=actionLogic.getDstPSDE()> <#assign actionLogicDE=actionLogic.getDstPSDE()>
<#assign actionLogicDEAction=actionLogic.getDstPSDEAction()> <#assign actionLogicDEAction=actionLogic.getDstPSDEAction()>
<#--<#if actionLogicDEAction.isEnableBackend()>--> <#if actionLogicDEAction.isEnableBackend()>
<#if !P.exists('DER1N',actionLogicDE.getCodeName())> <#if !P.exists('DER1N',actionLogicDE.getCodeName())>
@Autowired @Autowired
@Lazy @Lazy
protected ${pub.getPKGCodeName()}.core.${actionLogicDE.getPSSystemModule().getCodeName()?lower_case}.service.I${actionLogicDE.getCodeName()}Service ${srfcaseformat(actionLogicDE.getCodeName(),'l_u2lC')}Service; protected ${pub.getPKGCodeName()}.core.${actionLogicDE.getPSSystemModule().getCodeName()?lower_case}.service.I${actionLogicDE.getCodeName()}Service ${srfcaseformat(actionLogicDE.getCodeName(),'l_u2lC')}Service;
</#if> </#if>
<#--</#if>--> </#if>
</#macro> </#macro>
<#comment>实体行为参数</#comment> <#comment>实体行为参数</#comment>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册